> I've tried these changes but it don't work,it continued > putting the same errors. > I continued reading documentation and I tried to write my > CMakeLists.txt as follows:
I don't know cmake all that well, so I have nothing to suggest - it does sound, though, as if the problem is not with your fltk install, but is with your cmake file... > What I don't understand is that with the command > g++ -o gui gui.cpp -L/usr/local/lib -lfltk -lXext -lX11 -lm works!! Can you not just write a regular makefile for this job? I mean, if the lib is basically working... It seems to me the time you've spent trying to get cmake to work, you'd be finished and away if you'd just written a makefile! And for really simple jobs, all you need is "fltk-config --compile" anyway... http://www.fltk.org/articles.php?L598 http://www.fltk.org/articles.php?L599 SELEX Sensors and Airborne Systems Limited 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 mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

