Using the script for Linux, I did:
./download_and_compile.sh -s OSG
./download_and_compile.sh -s SIMGEAR
./download_and_compile.sh -s FGFS
./download_and_compile.sh -s DATA
./download_and_compile.sh -s ALL
./download_and_compile.sh -s FGRUN
But it appears the script is trying to pull openscenegraph libraries from my OS uping compiling FGRUN, which I don't want it doing.
- Code: Select all
-- Could NOT find osgText (missing: OSGTEXT_LIBRARY OSGTEXT_INCLUDE_DIR)
-- Could NOT find osgDB (missing: OSGDB_LIBRARY OSGDB_INCLUDE_DIR)
-- Could NOT find osgParticle (missing: OSGPARTICLE_LIBRARY OSGPARTICLE_INCLUDE_DIR)
-- Could NOT find osgUtil (missing: OSGUTIL_LIBRARY OSGUTIL_INCLUDE_DIR)
-- Could NOT find osgViewer (missing: OSGVIEWER_LIBRARY OSGVIEWER_INCLUDE_DIR)
-- Could NOT find osgGA (missing: OSGGA_LIBRARY OSGGA_INCLUDE_DIR)
-- Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR)
-- Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR)
CMake Error at /usr/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES
OPENSCENEGRAPH_INCLUDE_DIR OSGTEXT_FOUND OSGDB_FOUND OSGPARTICLE_FOUND
OSGUTIL_FOUND OSGVIEWER_FOUND OSGGA_FOUND OSG_FOUND OPENTHREADS_FOUND)
(Required is at least version "2.8.1")
Call Stack (most recent call first):
/usr/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.4/Modules/FindOpenSceneGraph.cmake:234 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:144 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/amarildo/Documents/Jogos/FlightGear/Compile/build/fgrun/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
To confirm this, I installed openscenegraph, re-ran the script, and everything worked fine.
Is there a way to tell the script NOT to look for OSG on a system-wide level, but on the compiling folder instead?