Hi again,

Thanks for the pointers (should have checked the wiki.flightgear first).

System Description:

   newly installed hard drive with fresh f16 install (not upgrade or
   preupgrade)
   i7 processor with nvidia GF260 XT and proprietary nvidia driver 290.10
   fltk and fltk-fluid yum installed this morning
   new git clones this morning for sg and fg


cmake for simgear and flightgear showed no errors and near the end of "make install" for fg, I get this error:

[ 97%] Built target FGAdminUI
Linking CXX executable fgadmin
CMakeFiles/fgadmin.dir/fgadmin_funcs.cxx.o: In function 
`FGAdminUI::install_selected()':
fgadmin_funcs.cxx:(.text+0x22dc): undefined reference to 
`Fl_Window::cursor(Fl_Cursor, Fl_Color, Fl_Color)'
fgadmin_funcs.cxx:(.text+0x2321): undefined reference to 
`Fl_Window::cursor(Fl_Cursor, Fl_Color, Fl_Color)'
CMakeFiles/fgadmin.dir/fgadmin_funcs.cxx.o: In function 
`FGAdminUI::remove_selected()':
fgadmin_funcs.cxx:(.text+0x256a): undefined reference to 
`Fl_Window::cursor(Fl_Cursor, Fl_Color, Fl_Color)'
fgadmin_funcs.cxx:(.text+0x25c9): undefined reference to 
`Fl_Window::cursor(Fl_Cursor, Fl_Color, Fl_Color)'
collect2: ld returned 1 exit status
make[2]: *** [utils/fgadmin/src/fgadmin] Error 1
make[1]: *** [utils/fgadmin/src/CMakeFiles/fgadmin.dir/all] Error 2
make: *** [all] Error 2


I traced from the fgadmin_funcs.cxx includes and it appears all the Fl references are in /usr/include/FL and the terminal output from the cmake command shows it should find the Fl headers.

-- Using FLTK_LIBRARIES for fgadmin: 
/usr/lib64/libfltk_images.so;/usr/lib64/libfltk_forms.so;/usr/lib64/libfltk_gl.so;/usr/lib64/libGL.so;/usr/lib64/libfltk.so;/usr/lib64/libSM.so;/usr/lib64/libICE.so;/usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libm.so;/usr/lib64/libXinerama.so;/usr/lib64/libXft.so

-- apr-1-config not found, implement manual search for APR

-- /usr/include

When I copied sg and fg matching source from a backup made before the change to cmake into a separate folder, I can build both from that folder with no errors.

I must be missing something! Any help or suggestions much appreciated.

Dave P.


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to