DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2429
Version: 1.3-current


On Mac OS X with fltk-1.3.x-r7709 the FLTK library include file mac.H
includes a file that's was not present (not installed in
/usr/local/FL/include).

For example when trying to build an applications I get errors such as...

$ g++ -I/usr/local/include -I/usr/local/include/FL/images -arch i386
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I.
-g -c UserInterface.cxx
In file included from /usr/local/include/FL/x.H:41,
                 from /usr/local/include/FL/Fl_Device.H:35,
                 from /usr/local/include/FL/fl_draw.H:38,
                 from /usr/local/include/FL/Fl_Text_Display.H:36,
                 from UserInterface.h:14,
                 from UserInterface.cxx:3:
/usr/local/include/FL/mac.H:39:20: error: config.h: No such file or
directory
make: *** [UserInterface.o] Error 1

I don't know enough to fully argue the case but it does look like config.h
is not needed in mac.H. Commenting the out the '#include <config.h>' line
in mac.H does then allows me to compile successfully.

There is a similar line in Fl_Native_File_Chooser_MAC.H and I suspect this
will have the same problem.

I'm using Mac OS X 10.6.4 (Snow Leopard)

$ uname -a
Darwin minikon.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23
18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386


Link: http://www.fltk.org/str.php?L2429
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to