Hi all,
I continue to find a way to compile properly fltk using cmake. I am working on 
Mac OSX 10.6 Snow leaopard. I try with the default cmake options (just by 
creating a fltk-binary directory) and run cmake ../src/fltk-1.3 in it)

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)

-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...

Thank you in advance if you've got informations about the error and thank you 
for your great work on this library!

Best regards,

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

Reply via email to