Pieter du Plooy wrote:
I followed the instructions from Jason L Howlett, and it works until the
Gui part of osgEphemeris starts to compile. The following occurs:
make[2]: Entering directory `/tmp3/osgEphemeris/src/Gui'
make[3]: Entering directory `/tmp3/osgEphemeris/src/Gui/Linux32.Opt'
g++ -I../../..//include -I.././ -Wall -O2 -c ../main.cpp
../main.cpp:15:19: error: FL/Fl.H: No such file or directory
...
I have looked at the the GnuMakefile and main.cpp and a assume it has to
do something with fltk?
>
> fltk is installed and my header files are in /usr/lib/fltk-1.1
>
> Do I need to link agains fltk?
Yes, you need fltk for the GUI. The Makefile probably assumes fltk
header to be in /usr/include/FL. I don't have the osgEphemeris code at
hand but look for a variable CFLAGS that contains the "-I." statements
and add "-I/usr/lib/fltk-1.1" so the compiler will look for include
files in that directory.
You may have to add a "-L/usr/lib/fltk-1.1" somewhere as well so the
libraries are found (look for LDFLAGS).
/Ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/