Frederic Bouvier wrote: >> Hello Fred, >> Thanks for your help again. I have downloaded OSG v2.7.8. >> >> Configure, or "cmake . -DCMAKE_BUILD_TYPE=Release" gives the >> following >> errors: >> CMake Error: Error in cmake code at >> /usr/local/src/OpenSceneGraph-2.7.8/CMakeLists.txt:25: >> IF had incorrect arguments: POLICY CMP0008 (Unknown arguments >> specified). >> Current CMake stack: >> /usr/local/src/OpenSceneGraph-2.7.8/CMakeLists.txt >> >> =============== >> if(POLICY CMP0008) >> cmake_policy(SET CMP0008 OLD) >> endif(POLICY CMP0008) >> =============== >> > Remove these 3 lines > This worked. >> -- CURL was not found. Make sure CURL_LIBRARY and CURL_INCLUDE_DIR are >> set. >> -- ERROR: wxWidgets was not found. (I know about this one) >> >> CMake Error: Error in cmake code at >> /usr/local/src/OpenSceneGraph-2.7.8/src/osgViewer/CMakeLists.txt:91: >> INCLUDE Could not find include file: FindPkgConfig >> Current CMake stack: >> /usr/local/src/OpenSceneGraph-2.7.8/src/osgViewer/CMakeLists.txt;/usr/local/src/OpenSceneGraph-2.7.8/src/osgViewer/FindPkgConfig >> >> ====================== >> INCLUDE(FindPkgConfig) >> IF (PKG_CONFIG_FOUND) >> ====================== >> > > replace first line by : > INCLUDE(FindPkgConfig OPTIONAL) > > This worked. > >> Is there anything I can do about this, or do I take it to osg support? >> > > already done : > http://www.mail-archive.com/osg-us...@lists.openscenegraph.org/msg20279.html > > -Fred > Good.
Am recompiling everything now. Will let you know if any more nasties pop up. I will take some time to explain to my son Grant, who uses fgfs every spare moment, how much help I got from you guys and how thankful he should be for a great support network. Thanks, Chris. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users