> With Cmake, and the include directory set to /usr/include, I get
> zillions of errors of this sort:
> <snip>
> CMakeFiles/flP5.dir/gui/flP5.o: In function `cb_pb_calPrec':
> /home/ehildum/src/flP5/current-1.1.8/src/gui/flP5.cxx:6532: undefined
> reference to `Fl_Wizard::value()'

Aha! Everyone who has replied so far has picked up on the #include
and -I/directory issue, and we've all been chasing our own tails.
You obviously understand the problem with -I / #include.

What we've all missed is that you are trying to use the CMake files.
Unfortunately the CMake configuration files are not complete, or no
longer up to date, because the devs are all using autotools to build.
The guy who said he c/would update the CMake files disappeared :-(

So yes, you either have to stick to the autotools build, or you need
to debug and update the CMake files, in order to install FLTK properly.
Once installed, you can use 'fltk-config' to generate the -I and -L
options consistent with your installation for use in building your app.
The 'FLTK Basics' chapter at http://www.fltk.org/doc-1.3/index.html
describes how to use 'fltk-config' to build your app, and the previous
chapter describes how to build FLTK itself from source.

If you are still having problems, you will need to post the complete
compile line that you are using. Note that you need to have all of
the libraries specified in the right order.

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

Reply via email to