I'm using FLTK 1.1.9, installed as an RPM package under CentOS 5 (RHEL 5) and 
using Cmake 2.4 to build a third party application.  Depending on whether I set 
the compiler include directory to /usr/include or /usr/include/Fl, I get 
different storms of error messages.

As I read the FLTK documentation, the proper method in C++ source files is:
  #include <FL/Fl_xyz.H>
  The include directive to the compiler should be -I/usr/include, or specified 
as /usr/include in the CMakeLists.txt file.

This results in many error messages about undefined references.

With include directive -I/usr/include/Fl, I get a different set of error 
messages regarding things defined in math.h.

I have had some success using GNU autotools, and using /usr/include/Fl, but I 
have to rename the FL/math.h file to prevent it being used instead of the 
system math.h.

What is the right way to do this?

Thanks,
Ted Hildum
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to