Hi, my machine couldn't find quite some OSG-libs. Since I don't have them in /usr or sth, only in my home-folder, I don't know, where to fix this...
- Code: Select all
chris@chris-simulator:~/git$ ./download_and_compile.sh -a n -p n -i -r y -j 3 SIMGEAR
****************************************
**************** SIMGEAR ***************
****************************************
simgear exists already.
Bereits auf 'next'
Already up-to-date.
-- version is 2 dot 11 dot 0
-- ignoring: ^/home/chris/git/simgear/simgear/.git;\\.gitignore;Makefile.am;~$;
-- Library installation directory: lib/x86_64-linux-gnu
-- additional library directories: /usr/local/lib/x86_64-linux-gnu;/usr/lib/x86_64-linux-gnu;/lib/x86_64-linux-gnu
-- Boost version: 1.49.0
-- SimGear mode: NORMAL
-- Sound support: ENABLED
-- Could NOT find osgText (missing: OSGTEXT_LIBRARY)
-- Could NOT find osgSim (missing: OSGSIM_LIBRARY)
-- Could NOT find osgDB (missing: OSGDB_LIBRARY)
-- Could NOT find osgParticle (missing: OSGPARTICLE_LIBRARY)
-- Could NOT find osgGA (missing: OSGGA_LIBRARY)
-- Could NOT find osgUtil (missing: OSGUTIL_LIBRARY)
-- Could NOT find osg (missing: OSG_LIBRARY)
-- Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY)
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):
Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES
OSGTEXT_FOUND OSGSIM_FOUND OSGDB_FOUND OSGPARTICLE_FOUND OSGGA_FOUND
OSGUTIL_FOUND OSG_FOUND OPENTHREADS_FOUND) (found suitable version "3.1.5",
minimum required is "3.0.0")
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindOpenSceneGraph.cmake:187 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:185 (find_package)
-- Configuring incomplete, errors occurred!
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
make: *** Keine Regel, um »install« zu erstellen. Schluss.
/home/chris/git/build/simgear
But PLib, OSG and OpenRTI built fine! Any hints are very appreciated!
Anyway, is this supposed to be some kind of joke???
- Code: Select all
Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES
OSGTEXT_FOUND OSGSIM_FOUND OSGDB_FOUND OSGPARTICLE_FOUND OSGGA_FOUND
OSGUTIL_FOUND OSG_FOUND OPENTHREADS_FOUND) (found suitable version "3.1.5",
minimum required is "3.0.0")
cheers
chris
EDIT:
...found it! I edited build/simgear/CMakeCache.txt and provided the paths by hand there...
which failed!

found out, that I had 2 versions of OSG in the same folder! OSG-3.0.1 and OSG-3.1.5, both installed in /install/OpenSceneGraph/ ... no wonder, why it came to that funny message...

After deleting the whole OSG-folder, everything worked fine by itself...