Hi All, HELP needed ;=((
Trying to compile the latest FG git, updated just hours ago, in Ubuntu 10.04, using CMake... First tried - .../source$ export OSG_DIR=/home/geoff/fg/fg16/install/OSG301 .../source$ cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_CXX_FLAGS=-O3 \ -D LIB_POSTFIX= \ -D CMAKE_INSTALL_PREFIX:PATH=/home/geoff/fg/fg16/install/fgfs \ -D ENABLE_RTI=OFF -D CMAKE_VERBOSE_MAKEFILE=TRUE \ -D SIMGEAR_LIBRARIES=/home/geoff/fg/fg16/install/simgear/lib \ -D SIMGEAR_INCLUDE_DIR=/home/geoff/fg/fg16/install/simgear/include . Then tried - ../source$ export OSG_DIR=/home/geoff/fg/fg16/install/OSG301 ../source$ export SIMGEAR_DIR=/home/geoff/fg/fg16/install/simgear ../source$ cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_CXX_FLAGS=-O3 \ -D LIB_POSTFIX= \ -D CMAKE_INSTALL_PREFIX:PATH=/home/geoff/fg/fg16/install/fgfs \ -D ENABLE_RTI=OFF -D CMAKE_VERBOSE_MAKEFILE=TRUE . And tried both the export AND setting SIMGEAR_INCLUDE_DIR... of course this is all in my makefg script, which I am trying to update to use CMake... But the cmake runs ended in - -- Git revision is 2bc5604797a55278c1a8fe51a1cc8d0bfe36675e -- libsvn found, enabling in terrasync -- /usr/include -- adding runtime JS dependencies -- /home/geoff/fg/fg16/install/simgear/include -- looking for version: 2.5.0 CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE): Could NOT find SimGear (missing: SIMGEAR_VERSION_OK) Call Stack (most recent call first): CMakeModules/FindSimGear.cmake:217 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:187 (find_package) -- Configuring incomplete, errors occurred! The directory /home/geoff/fg/fg16/install/simgear/include contains drwxr-xr-x 21 geoff geoff 4096 2011-10-23 18:41 simgear and that was from a successful build of SG git using cmake a little time before... That directory in turn contains, among other things, - -rw-r--r-- 1 geoff geoff 29 2011-10-23 18:40 version.h with the value #define SIMGEAR_VERSION 2.5.0 And the file I think it is searching for, simgear/math/SGMath.hxx, is certainly there - -rw-r--r-- 1 geoff geoff 1495 2011-09-07 15:57 \ /home/geoff/fg/fg16/install/simgear/include/simgear/math/SGMath.hxx As can be see, I am using CMake version 2.8, actually 2.8.1 Sorry, what am I doing wrong? Regards, Geoff. ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel