Hi all, I have maybe fixed the "find" procedure for fgadmin, see attached patch for it. On my Debian system, FLTK_BIN_DIR is unset. If I use FLTK_FLUID_EXECUTABLE as shown in the patch, the script finally wants to compile fgadmin but ends up with error messages. Please see attached logfile for details.
Regards, Roland
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 07d539f..4242297 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -3,7 +3,7 @@ add_subdirectory(fgviewer) add_subdirectory(GPSsmooth) if (FLTK_FOUND) - if (EXISTS ${FLTK_BIN_DIR}/fluid) + if (EXISTS ${FLTK_FLUID_EXECUTABLE}) add_subdirectory(fgadmin) else () message(STATUS "fluid executable not found, disabling fgadmin")
/home/quix0r/fgfs/fgfs-base/flightgear/utils/fgadmin/src/fgadmin_funcs.cxx: In member function ‘void FGAdminUI::update_install_box()’: /home/quix0r/fgfs/fgfs-base/flightgear/utils/fgadmin/src/fgadmin_funcs.cxx:171:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /home/quix0r/fgfs/fgfs-base/flightgear/utils/fgadmin/src/fgadmin_funcs.cxx: In member function ‘void FGAdminUI::install_selected()’: /home/quix0r/fgfs/fgfs-base/flightgear/utils/fgadmin/src/fgadmin_funcs.cxx:258:25: error: aggregate ‘FGAdminUI::install_selected()::stat info’ has incomplete type and cannot be defined /home/quix0r/fgfs/fgfs-base/flightgear/utils/fgadmin/src/fgadmin_funcs.cxx:259:48: error: ‘fl_stat’ was not declared in this scope /home/quix0r/fgfs/fgfs-base/flightgear/utils/fgadmin/src/fgadmin_funcs.cxx: At global scope: /home/quix0r/fgfs/fgfs-base/flightgear/utils/fgadmin/src/fgadmin_funcs.cxx:127:12: warning: ‘int stringCompare(const void*, const void*)’ defined but not used [-Wunused-function] make[2]: *** [utils/fgadmin/src/CMakeFiles/fgadmin.dir/fgadmin_funcs.cxx.o] Error 1 make[1]: *** [utils/fgadmin/src/CMakeFiles/fgadmin.dir/all] Error 2 make: *** [all] Error 2
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel