> Problem that I encounter: > > -during the compilation of Fl.cxx this message is printed: > Fl.cxx:622:3: error: #error unsupported platform > > It is not really a problem I think, it just needs to remove > this #else in the file Fl.cxx line 62 (I work on OSX 10.6 and > __APPLE_QUARTZ__ variable is not define on the platform). > But the compilation using "objective-c" is now correctly > triggered for Fl.cxx by default (related to a previous > discussion few months ago on the list on this subject)
You will need to set the __APPLE_QUARTZ__ define in your makefile then - fltk needs it to know which Apple rendering engine to use, but for "recent" OSX variants only Quartz is supported. > -the other error (which stop the compilation process) is > related to the header file fl_utf8.h, the message: > In file included from /Users/manuel/local/fltk-1.3/FL/fl_utf8.h:46, > from /Users/manuel/local/fltk-1.3/FL/Fl.H:39, > from /Users/manuel/local/fltk-1.3/src/Fl.cxx:34: > /usr/include/stdlib.h:186: error: 'long long int strtol' > redeclared as different kind of symbol > /usr/include/stdlib.h:181: error: previous declaration of > 'long int strtol(const char*, char**, int)' > /usr/include/stdlib.h:186: error: expected primary-expression > before 'const' > /usr/include/stdlib.h:186: error: expected `)' before 'const' > > I do not know if it is specific to the problem. You are > perhaps curretly working on the problem in the trunk... No idea - not seen this. It may be related to not having __APPLE_QUARTZ__ set in your makefile. SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
