#1 Le 18/05/2012, à 15:46
- Melectricien
[Resolu ]Installation flightgear 2.6.0 problème de compilation
Problème résolu par une suppresion complète puis une réinstallation.
Bonjour,
j'ai essayé d'installer flightgear via la logithèque, pas de problème mais le soft réagit bizarement et en plus le lanceur fgrun ne marche pas (je ne retrouve pas le chemin des fichiers de flightgear).
Du coup je suis en train d'installer FlightGear 2.6.0 en suivant la méthode depuis les sources du tuto http://doc.ubuntu-fr.org/flightgear.
Mais je bloque sur la compilation de simgear avec le message d'erreur suivant :
****@****-desktop:/opt/flightgear-2.6.0/simgear-2.6.0$ sudo cmake -D CMAKE_BUILD_TYPE="Release" -D CMAKE_CXX_FLAGS="-O3 -D__STDC_CONSTANT_MACROS" -D CMAKE_C_FLAGS="-O3" -D CMAKE_INSTALL_PREFIX:PATH="/opt/simgear-2.6.0" -D CMAKE_PREFIX_PATH=/opt/OpenSceneGraph-3.0.1 .
-- version is 2 dot 6 dot 0
-- ignoring: ^/opt/flightgear-2.6.0/simgear-2.6.0/.git;\\.gitignore;Makefile.am;~$;
-- Library installation directory: lib
-- Could NOT find osgText (missing: OSGTEXT_LIBRARY OSGTEXT_INCLUDE_DIR)
-- Could NOT find osgSim (missing: OSGSIM_LIBRARY OSGSIM_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 osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR)
-- Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR)
CMake Error at /usr/share/cmake-2.8/Modules/FindOpenSceneGraph.cmake:226 (message):
ERROR: Missing the following osg libraries: osgText osgSim osgDB
osgParticle osgUtil osg OpenThreads.
Consider using CMAKE_PREFIX_PATH or the OSG_DIR environment variable. See
the /usr/share/cmake-2.8/Modules/FindOpenSceneGraph.cmake for more details.
Call Stack (most recent call first):
CMakeLists.txt:123 (find_package)
-- Configuring incomplete, errors occurred!
****@****-desktop:/opt/flightgear-2.6.0/simgear-2.6.0$
Je n'ai pas eu de problèmes avec OpenSceneGraph
Je précise que je ne suis pas un spécialiste de la ligne de commande mais que je demande qu'a apprendre
Merci de votre aide
Dernière modification par Melectricien (Le 19/05/2012, à 00:41)
Lenovo T530 Core I5
Hors ligne