manolo gouy wrote:
> I also had what Ian writes, that a full recompile was necessary
> (for some reason I did not clarify). Without it many errors
> happened.
If this happens again, please run "make depend" and then "make"
to see what files will be compiled then. But please don't commit
makedepend files from a Mac or Windows host (please see below).
Whithout checking anything, so just a wild guess: we need to
adjust the supplied makedepend files, but note:
(1) they must be generated on Linux
(2) non-Linux platform dependend files must be added manually
to the "Makefile"s.
I assume that the latter has not yet been done for some of the new
*mac* and/or *MAC* files. However, this may not be the culprit of
these effects...
... looking into it:
It appears that it has been done, but probably wrong:
Fl_mac.o: ../FL/mac.H ../FL/win32.H
Fl_cocoa.o: ../FL/mac.H ../FL/win32.H
Fl_Native_File_Chooser_MAC.o: ../FL/Fl_Native_File_Chooser.H
../FL/Fl_Native_File_Chooser_MAC.H
Fl_Native_File_Chooser_WIN32.o: ../FL/Fl_Native_File_Chooser.H
../FL/Fl_Native_File_Chooser_WIN32.H
Fl_Native_File_Chooser_FLTK.o: ../FL/Fl_Native_File_Chooser.H
../FL/Fl_Native_File_Chooser_FLTK.H
-----
I think we discussed it before: There shouldn't be Fl_mac.o or
Fl_cocoa.o, thus these lines are probably redundant/useless.
I also think that there will not be any files like
Fl_Native_File_Chooser_{MAC|WIN32|FLTK}.o. These dependencies
should rather be included for Fl_Native_File_Chooser.o.
-----
Okay, I'm fixing this now. I can also see that there were missing
dependencies for Fl_Preferences, and this may perhaps explain some
of the mentioned errors (IIRC there have been ABI changes in
Fl_Preferences recently).
Note: I removed all "standard" and/or Linux/Unix dependencies from
src/Makefile, because they /must/ be in the makedepend file. Only
WIN32/Mac dependencies should be in Makefile. Ref.: Makefile
comments and CMP.
I'll commit my changes shortly. Please have a look at them and
verify if I missed something. I'll also look for other directories
and try to fix them as well.
Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev