Forum Flightgear France

Une communauté prend son envol

Vous n'êtes pas identifié(e).

Annonce

Futur nouvel inscrit, tu dois au préalable lire l'intégralité des 10 articles des règles, s'il te plaît. Tout nouveau compte qui ne respecte pas les règles sera supprimé par l'administration.

#1 12/06/2019 2:30:26

exCorbac
Membre
Lieu : Felletin (23500)
Inscription : 6/02/2019
Messages : 13

Erreur de compilation SIMGEAR

Bonjour à tous

Je ne parviens pas à compiler la toute dernière version sur "next" [696829]. Que ce soit en mise à jour sur une installation existante (2019.2.0) ou à partir d'un dossier vide. Dans le dernier cas, j'ai bien utilisé le tout dernier script "download_and_compile.sh".
Dans les deux cas, cela butte sur SIMGEAR dès 10% des builds et en particulier la source de "Emesary".
A toutes fins utiles, je joints le log de compilation complet, obtenu à partir d'une compilation dans un dossier vierge :

bash download_and_compile.sh
**********************************************************************
*                                                                    *
* Warning: a typical SimGear + FlightGear + FGData build requires    *
* about 12 GiB of disk space. The compilation part may last from a   *
* few minutes to hours, depending on your computer.                  *
*                                                                    *
* Hint: use the -j option if your CPU has several cores, as in:      *
*                                                                    *
*         download_and_compile.sh -j$(nproc)                         *
*                                                                    *
**********************************************************************

Running 'sudo apt-get update'...
[sudo] Mot de passe de vincent :         
Atteint :1 http://ppa.launchpad.net/cfgnunes/ppa/ubuntu bionic InRelease
Ign :2 http://mirror6.layerjet.com/linuxmint/packages tessa InRelease          
Atteint :3 http://security.ubuntu.com/ubuntu bionic-security InRelease         
Atteint :4 http://archive.canonical.com/ubuntu bionic InRelease                
Atteint :5 http://fr.archive.ubuntu.com/ubuntu bionic InRelease                
Atteint :6 http://mirror6.layerjet.com/linuxmint/packages tessa Release        
Atteint :7 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease        
Atteint :8 http://ppa.launchpad.net/libreoffice/libreoffice-6-1/ubuntu bionic InRelease
Atteint :9 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease      
Atteint :10 http://ppa.launchpad.net/noobslab/icons/ubuntu bionic InRelease    
Atteint :11 http://ppa.launchpad.net/noobslab/themes/ubuntu bionic InRelease 
Atteint :12 http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu bionic InRelease
Atteint :13 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu bionic InRelease
Lecture des listes de paquets... Fait                                        
Considering a package alternative: libcurl4-openssl-dev libcurl4-gnutls-dev
Package alternative matched for libcurl4-openssl-dev
Considering a package alternative: libopenscenegraph-3.4-dev libopenscenegraph-dev libopenscenegraph-[0-9]+\.[0-9]+-dev
Package alternative matched for libopenscenegraph-3.4-dev
Considering a package alternative: libpng-dev libpng12-dev libpng16-dev
Package alternative matched for libpng-dev
Considering an optional package alternative: qt5-default
Optional package alternative matched for qt5-default
Considering an optional package alternative: qtdeclarative5-dev
Optional package alternative matched for qtdeclarative5-dev
Considering an optional package alternative: qttools5-dev
Optional package alternative matched for qttools5-dev
Considering an optional package alternative: qtbase5-dev-tools
Optional package alternative matched for qtbase5-dev-tools
Considering an optional package alternative: qttools5-dev-tools
Optional package alternative matched for qttools5-dev-tools
Considering an optional package alternative: qml-module-qtquick2
Optional package alternative matched for qml-module-qtquick2
Considering an optional package alternative: qml-module-qtquick-window2
Optional package alternative matched for qml-module-qtquick-window2
Considering an optional package alternative: qml-module-qtquick-dialogs
Optional package alternative matched for qml-module-qtquick-dialogs
Considering an optional package alternative: libqt5opengl5-dev
Optional package alternative matched for libqt5opengl5-dev
Considering an optional package alternative: libqt5svg5-dev
Optional package alternative matched for libqt5svg5-dev
Considering an optional package alternative: libqt5websockets5-dev
Optional package alternative matched for libqt5websockets5-dev
Considering an optional package alternative: qtbase5-private-dev
Optional package alternative matched for qtbase5-private-dev
Considering an optional package alternative: qtdeclarative5-private-dev
Optional package alternative matched for qtdeclarative5-private-dev
Considering an optional package alternative: libevent-dev
Optional package alternative matched for libevent-dev
Running 'sudo apt-get install build-essential git libcurl4-openssl-dev cmake zlib1g-dev freeglut3-dev libglew-dev libboost-dev libopenscenegraph-3.4-dev libopenal-dev libudev-dev libdbus-1-dev libplib-dev libpng-dev qt5-default qtdeclarative5-dev qttools5-dev qtbase5-dev-tools qttools5-dev-tools qml-module-qtquick2 qml-module-qtquick-window2 qml-module-qtquick-dialogs libqt5opengl5-dev libqt5svg5-dev libqt5websockets5-dev qtbase5-private-dev qtdeclarative5-private-dev fluid libbz2-dev libfltk1.3-dev libxi-dev libxmu-dev libxinerama-dev libjpeg-dev libxft-dev libevent-dev'...
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
build-essential est déjà la version la plus récente (12.4ubuntu1).
cmake est déjà la version la plus récente (3.10.2-1ubuntu2).
libboost-dev est déjà la version la plus récente (1.65.1.0ubuntu1).
libbz2-dev est déjà la version la plus récente (1.0.6-8.1).
libevent-dev est déjà la version la plus récente (2.1.8-stable-4build1).
libjpeg-dev est déjà la version la plus récente (8c-2ubuntu8).
libqt5svg5-dev est déjà la version la plus récente (5.9.5-0ubuntu1).
libxft-dev est déjà la version la plus récente (2.3.2-1).
libxi-dev est déjà la version la plus récente (2:1.7.9-1).
libxinerama-dev est déjà la version la plus récente (2:1.1.3-1).
libxmu-dev est déjà la version la plus récente (2:1.1.2-2).
zlib1g-dev est déjà la version la plus récente (1:1.2.11.dfsg-0ubuntu2).
fluid est déjà la version la plus récente (1.3.4-6).
freeglut3-dev est déjà la version la plus récente (2.8.1-3).
libfltk1.3-dev est déjà la version la plus récente (1.3.4-6).
libglew-dev est déjà la version la plus récente (2.0.0-5).
libopenal-dev est déjà la version la plus récente (1:1.18.2-2).
libopenscenegraph-3.4-dev est déjà la version la plus récente (3.4.1+dfsg1-3).
libplib-dev est déjà la version la plus récente (1.8.5-8).
libqt5websockets5-dev est déjà la version la plus récente (5.9.5-0ubuntu1).
qml-module-qtquick-dialogs est déjà la version la plus récente (5.9.5-0ubuntu1).
qttools5-dev est déjà la version la plus récente (5.9.5-0ubuntu1).
qttools5-dev-tools est déjà la version la plus récente (5.9.5-0ubuntu1).
git est déjà la version la plus récente (1:2.17.1-1ubuntu0.4).
libcurl4-openssl-dev est déjà la version la plus récente (7.58.0-2ubuntu3.7).
libdbus-1-dev est déjà la version la plus récente (1.12.2-1ubuntu1.1).
libpng-dev est déjà la version la plus récente (1.6.34-1ubuntu0.18.04.2).
libqt5opengl5-dev est déjà la version la plus récente (5.9.5+dfsg-0ubuntu2.1).
libudev-dev est déjà la version la plus récente (237-3ubuntu10.22).
qtbase5-dev-tools est déjà la version la plus récente (5.9.5+dfsg-0ubuntu2.1).
qtbase5-private-dev est déjà la version la plus récente (5.9.5+dfsg-0ubuntu2.1).
qml-module-qtquick-window2 est déjà la version la plus récente (5.9.5-0ubuntu1.1).
qml-module-qtquick2 est déjà la version la plus récente (5.9.5-0ubuntu1.1).
qt5-default est déjà la version la plus récente (5.9.5+dfsg-0ubuntu2.1).
qtdeclarative5-dev est déjà la version la plus récente (5.9.5-0ubuntu1.1).
qtdeclarative5-private-dev est déjà la version la plus récente (5.9.5-0ubuntu1.1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.

****************************************
**************** SIMGEAR ***************
****************************************
Fetching SIMGEAR with 'git clone https://git.code.sf.net/p/flightgear/simgear'
Clonage dans '.'...
remote: Enumerating objects: 38881, done.
remote: Counting objects: 100% (38881/38881), done.
remote: Compressing objects: 100% (13039/13039), done.
remote: Total 38881 (delta 30336), reused 32495 (delta 25477)
Réception d'objets: 100% (38881/38881), 10.50 MiB | 108.00 KiB/s, fait.
Résolution des deltas: 100% (30336/30336), fait.
Déjà à jour.
La branche courante next est à jour.
Déjà sur 'next'
Votre branche est à jour avec 'origin/next'.
-- CMAKE Build type: RelWithDebInfo
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- version is 2019 dot 2 dot 0
-- Library installation directory: lib
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.65.1
-- SimGear mode: NORMAL
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so  
-- Sound support: OpenAL
-- Found osgText: /usr/lib/x86_64-linux-gnu/libosgText.so  
-- Found osgSim: /usr/lib/x86_64-linux-gnu/libosgSim.so  
-- Found osgDB: /usr/lib/x86_64-linux-gnu/libosgDB.so  
-- Found osgParticle: /usr/lib/x86_64-linux-gnu/libosgParticle.so  
-- Found osgGA: /usr/lib/x86_64-linux-gnu/libosgGA.so  
-- Found osgViewer: /usr/lib/x86_64-linux-gnu/libosgViewer.so  
-- Found osgUtil: /usr/lib/x86_64-linux-gnu/libosgUtil.so  
-- Found osg: /usr/lib/x86_64-linux-gnu/libosg.so  
-- Found OpenThreads: /usr/lib/x86_64-linux-gnu/libOpenThreads.so  
-- Found OpenSceneGraph: /usr/lib/x86_64-linux-gnu/libosgText.so;/usr/lib/x86_64-linux-gnu/libosgSim.so;/usr/lib/x86_64-linux-gnu/libosgDB.so;/usr/lib/x86_64-linux-gnu/libosgParticle.so;/usr/lib/x86_64-linux-gnu/libosgGA.so;/usr/lib/x86_64-linux-gnu/libosgViewer.so;/usr/lib/x86_64-linux-gnu/libosgUtil.so;/usr/lib/x86_64-linux-gnu/libosg.so;/usr/lib/x86_64-linux-gnu/libOpenThreads.so (found suitable version "3.4.1", minimum required is "3.2.0") 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.11", minimum required is "1.2.4") 
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.58.0") 
-- Using built-in expat code
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- RTI: DISABLED
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for rint
-- Looking for rint - not found
-- Looking for mkdtemp
-- Looking for mkdtemp - found
-- Looking for bcopy
-- Looking for bcopy - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for timegm
-- Looking for timegm - found
-- Performing Test HAVE_CLOCK_GETTIME
-- Performing Test HAVE_CLOCK_GETTIME - Success
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Performing Test HAVE_DLFCN_H
-- Performing Test HAVE_DLFCN_H - Success
-- Looking for dlerror in dl
-- Looking for dlerror in dl - found
-- Performing Test HAVE_STD_ISNAN
-- Performing Test HAVE_STD_ISNAN - Success
-- Performing Test HAVE_WORKING_STD_REGEX
-- Performing Test HAVE_WORKING_STD_REGEX - Success
-- Performing Test GCC_ATOMIC_BUILTINS_FOUND
-- Performing Test GCC_ATOMIC_BUILTINS_FOUND - Success
-- OpenMP: DISABLED
-- Performing Test HAS_NOWARN_UNUSED_TYPEDEFS
-- Performing Test HAS_NOWARN_UNUSED_TYPEDEFS - Success
-- Performing Test HAVE_STD_INDEX_SEQUENCE
-- Performing Test HAVE_STD_INDEX_SEQUENCE - Failed
-- Performing Test HAVE_STD_REMOVE_CV_T
-- Performing Test HAVE_STD_REMOVE_CV_T - Failed
-- Performing Test HAVE_STD_REMOVE_CVREF_T
-- Performing Test HAVE_STD_REMOVE_CVREF_T - Failed
-- Performing Test HAVE_STD_ENABLE_IF_T
-- Performing Test HAVE_STD_ENABLE_IF_T - Failed
-- Performing Test HAVE_STD_BOOL_CONSTANT
-- Performing Test HAVE_STD_BOOL_CONSTANT - Failed
-- Tests: ENABLED
-- DNS resolver: ENABLED
-- Looking for poll
-- Looking for poll - found
-- Looking for getopt
-- Looking for getopt - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Looking for AF_INET6
-- Looking for AF_INET6 - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Library building mode: STATIC LIBRARIES
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vincent/FlightGear2/build/simgear
MAKE simgear
Scanning dependencies of target SimGearCore
[  0%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_resolver.c.o
[  1%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_dn.c.o
[  1%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_dntosp.c.o
[  1%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_parse.c.o
[  1%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_init.c.o
[  2%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_misc.c.o
[  2%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_rr_a.c.o
[  2%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_rr_ptr.c.o
[  2%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_rr_mx.c.o
[  3%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_rr_txt.c.o
[  3%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_bl.c.o
[  3%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_rr_srv.c.o
[  3%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_rr_naptr.c.o
[  4%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_codes.c.o
[  4%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_jran.c.o
[  4%] Building C object simgear/CMakeFiles/SimGearCore.dir/__/3rdparty/udns/udns_XtoX.c.o
[  4%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bucket/newbucket.cxx.o
[  5%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHGroup.cxx.o
[  5%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHLineGeometry.cxx.o
[  5%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHLineSegmentVisitor.cxx.o
[  5%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHMotionTransform.cxx.o
[  6%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHNode.cxx.o
[  6%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHPageNode.cxx.o
[  6%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHPageRequest.cxx.o
[  6%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHPager.cxx.o
[  7%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHStaticBinary.cxx.o
[  7%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHStaticGeometry.cxx.o
[  7%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHStaticLeaf.cxx.o
[  7%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHStaticNode.cxx.o
[  8%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHStaticTriangle.cxx.o
[  8%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHSubTreeCollector.cxx.o
[  8%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHMaterial.cxx.o
[  8%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/bvh/BVHTransform.cxx.o
[  9%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/debug/logstream.cxx.o
[  9%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/debug/BufferedLogCallback.cxx.o
[  9%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/embedded_resources/EmbeddedResource.cxx.o
[  9%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/embedded_resources/EmbeddedResourceManager.cxx.o
[ 10%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/embedded_resources/EmbeddedResourceProxy.cxx.o
[ 10%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/emesary/Emesary.cxx.o
In file included from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31:0,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx: In member function ‘virtual void simgear::Emesary::Transmitter::Register(simgear::Emesary::IReceiver&)’:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:74:87: error: no matching function for call to ‘find(std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, simgear::Emesary::IReceiver*)’
                 if (std::find(deleted_recipients.begin(), deleted_recipients.end(), &r) != deleted_recipients.end())
                                                                                       ^
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
                 from /usr/include/c++/7/locale:40,
                 from /usr/include/c++/7/iomanip:43,
                 from /home/vincent/FlightGear2/simgear/simgear/timing/timestamp.hxx:36,
                 from /home/vincent/FlightGear2/simgear/simgear/threads/SGThread.hxx:30,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:29,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note: candidate: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)
     find(istreambuf_iterator<_CharT> __first,
     ^~~~
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note:   template argument deduction/substitution failed:
In file included from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31:0,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:74:87: note:   ‘std::_List_iterator<simgear::Emesary::IReceiver*>’ is not derived from ‘std::istreambuf_iterator<_CharT>’
                 if (std::find(deleted_recipients.begin(), deleted_recipients.end(), &r) != deleted_recipients.end())
                                                                                       ^
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx: In member function ‘virtual void simgear::Emesary::Transmitter::DeRegister(simgear::Emesary::IReceiver&)’:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:87:83: error: no matching function for call to ‘find(std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, simgear::Emesary::IReceiver*)’
                     if (std::find(recipient_list.begin(), recipient_list.end(), &R) != recipient_list.end())
                                                                                   ^
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
                 from /usr/include/c++/7/locale:40,
                 from /usr/include/c++/7/iomanip:43,
                 from /home/vincent/FlightGear2/simgear/simgear/timing/timestamp.hxx:36,
                 from /home/vincent/FlightGear2/simgear/simgear/threads/SGThread.hxx:30,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:29,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note: candidate: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)
     find(istreambuf_iterator<_CharT> __first,
     ^~~~
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note:   template argument deduction/substitution failed:
In file included from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31:0,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:87:83: note:   ‘std::_List_iterator<simgear::Emesary::IReceiver*>’ is not derived from ‘std::istreambuf_iterator<_CharT>’
                     if (std::find(recipient_list.begin(), recipient_list.end(), &R) != recipient_list.end())
                                                                                   ^
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:91:95: error: no matching function for call to ‘find(std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, simgear::Emesary::IReceiver*)’
                         if (std::find(deleted_recipients.begin(), deleted_recipients.end(), &R) == deleted_recipients.end())
                                                                                               ^
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
                 from /usr/include/c++/7/locale:40,
                 from /usr/include/c++/7/iomanip:43,
                 from /home/vincent/FlightGear2/simgear/simgear/timing/timestamp.hxx:36,
                 from /home/vincent/FlightGear2/simgear/simgear/threads/SGThread.hxx:30,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:29,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note: candidate: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)
     find(istreambuf_iterator<_CharT> __first,
     ^~~~
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note:   template argument deduction/substitution failed:
In file included from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31:0,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:91:95: note:   ‘std::_List_iterator<simgear::Emesary::IReceiver*>’ is not derived from ‘std::istreambuf_iterator<_CharT>’
                         if (std::find(deleted_recipients.begin(), deleted_recipients.end(), &R) == deleted_recipients.end())
                                                                                               ^
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx: In member function ‘virtual simgear::Emesary::ReceiptStatus simgear::Emesary::Transmitter::NotifyAll(simgear::Emesary::INotification&)’:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:129:98: error: no matching function for call to ‘find(std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, simgear::Emesary::IReceiver*&)’
                             if (std::find(deleted_recipients.begin(), deleted_recipients.end(), R) != deleted_recipients.end())
                                                                                                  ^
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
                 from /usr/include/c++/7/locale:40,
                 from /usr/include/c++/7/iomanip:43,
                 from /home/vincent/FlightGear2/simgear/simgear/timing/timestamp.hxx:36,
                 from /home/vincent/FlightGear2/simgear/simgear/threads/SGThread.hxx:30,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:29,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note: candidate: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)
     find(istreambuf_iterator<_CharT> __first,
     ^~~~
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note:   template argument deduction/substitution failed:
In file included from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31:0,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:129:98: note:   ‘std::_List_iterator<simgear::Emesary::IReceiver*>’ is not derived from ‘std::istreambuf_iterator<_CharT>’
                             if (std::find(deleted_recipients.begin(), deleted_recipients.end(), R) != deleted_recipients.end())
                                                                                                  ^
simgear/CMakeFiles/SimGearCore.dir/build.make:974: recipe for target 'simgear/CMakeFiles/SimGearCore.dir/emesary/Emesary.cxx.o' failed
make[2]: *** [simgear/CMakeFiles/SimGearCore.dir/emesary/Emesary.cxx.o] Error 1
CMakeFiles/Makefile2:1183: recipe for target 'simgear/CMakeFiles/SimGearCore.dir/all' failed
make[1]: *** [simgear/CMakeFiles/SimGearCore.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
INSTALL simgear
[  0%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/emesary/Emesary.cxx.o
In file included from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31:0,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx: In member function ‘virtual void simgear::Emesary::Transmitter::Register(simgear::Emesary::IReceiver&)’:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:74:87: error: no matching function for call to ‘find(std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, simgear::Emesary::IReceiver*)’
                 if (std::find(deleted_recipients.begin(), deleted_recipients.end(), &r) != deleted_recipients.end())
                                                                                       ^
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
                 from /usr/include/c++/7/locale:40,
                 from /usr/include/c++/7/iomanip:43,
                 from /home/vincent/FlightGear2/simgear/simgear/timing/timestamp.hxx:36,
                 from /home/vincent/FlightGear2/simgear/simgear/threads/SGThread.hxx:30,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:29,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note: candidate: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)
     find(istreambuf_iterator<_CharT> __first,
     ^~~~
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note:   template argument deduction/substitution failed:
In file included from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31:0,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:74:87: note:   ‘std::_List_iterator<simgear::Emesary::IReceiver*>’ is not derived from ‘std::istreambuf_iterator<_CharT>’
                 if (std::find(deleted_recipients.begin(), deleted_recipients.end(), &r) != deleted_recipients.end())
                                                                                       ^
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx: In member function ‘virtual void simgear::Emesary::Transmitter::DeRegister(simgear::Emesary::IReceiver&)’:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:87:83: error: no matching function for call to ‘find(std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, simgear::Emesary::IReceiver*)’
                     if (std::find(recipient_list.begin(), recipient_list.end(), &R) != recipient_list.end())
                                                                                   ^
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
                 from /usr/include/c++/7/locale:40,
                 from /usr/include/c++/7/iomanip:43,
                 from /home/vincent/FlightGear2/simgear/simgear/timing/timestamp.hxx:36,
                 from /home/vincent/FlightGear2/simgear/simgear/threads/SGThread.hxx:30,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:29,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note: candidate: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)
     find(istreambuf_iterator<_CharT> __first,
     ^~~~
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note:   template argument deduction/substitution failed:
In file included from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31:0,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:87:83: note:   ‘std::_List_iterator<simgear::Emesary::IReceiver*>’ is not derived from ‘std::istreambuf_iterator<_CharT>’
                     if (std::find(recipient_list.begin(), recipient_list.end(), &R) != recipient_list.end())
                                                                                   ^
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:91:95: error: no matching function for call to ‘find(std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, simgear::Emesary::IReceiver*)’
                         if (std::find(deleted_recipients.begin(), deleted_recipients.end(), &R) == deleted_recipients.end())
                                                                                               ^
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
                 from /usr/include/c++/7/locale:40,
                 from /usr/include/c++/7/iomanip:43,
                 from /home/vincent/FlightGear2/simgear/simgear/timing/timestamp.hxx:36,
                 from /home/vincent/FlightGear2/simgear/simgear/threads/SGThread.hxx:30,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:29,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note: candidate: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)
     find(istreambuf_iterator<_CharT> __first,
     ^~~~
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note:   template argument deduction/substitution failed:
In file included from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31:0,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:91:95: note:   ‘std::_List_iterator<simgear::Emesary::IReceiver*>’ is not derived from ‘std::istreambuf_iterator<_CharT>’
                         if (std::find(deleted_recipients.begin(), deleted_recipients.end(), &R) == deleted_recipients.end())
                                                                                               ^
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx: In member function ‘virtual simgear::Emesary::ReceiptStatus simgear::Emesary::Transmitter::NotifyAll(simgear::Emesary::INotification&)’:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:129:98: error: no matching function for call to ‘find(std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, simgear::Emesary::IReceiver*&)’
                             if (std::find(deleted_recipients.begin(), deleted_recipients.end(), R) != deleted_recipients.end())
                                                                                                  ^
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
                 from /usr/include/c++/7/locale:40,
                 from /usr/include/c++/7/iomanip:43,
                 from /home/vincent/FlightGear2/simgear/simgear/timing/timestamp.hxx:36,
                 from /home/vincent/FlightGear2/simgear/simgear/threads/SGThread.hxx:30,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:29,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note: candidate: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)
     find(istreambuf_iterator<_CharT> __first,
     ^~~~
/usr/include/c++/7/bits/streambuf_iterator.h:369:5: note:   template argument deduction/substitution failed:
In file included from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.hxx:31:0,
                 from /home/vincent/FlightGear2/simgear/simgear/emesary/Emesary.cxx:23:
/home/vincent/FlightGear2/simgear/simgear/emesary/Transmitter.hxx:129:98: note:   ‘std::_List_iterator<simgear::Emesary::IReceiver*>’ is not derived from ‘std::istreambuf_iterator<_CharT>’
                             if (std::find(deleted_recipients.begin(), deleted_recipients.end(), R) != deleted_recipients.end())
                                                                                                  ^
simgear/CMakeFiles/SimGearCore.dir/build.make:974: recipe for target 'simgear/CMakeFiles/SimGearCore.dir/emesary/Emesary.cxx.o' failed
make[2]: *** [simgear/CMakeFiles/SimGearCore.dir/emesary/Emesary.cxx.o] Error 1
CMakeFiles/Makefile2:1183: recipe for target 'simgear/CMakeFiles/SimGearCore.dir/all' failed
make[1]: *** [simgear/CMakeFiles/SimGearCore.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

Ma question est donc : est-ce que la source d' Emesary a été codée avec les pieds et dans ce cas peux-t-on attendre une version déboguée ou bien est-ce que le problème vient de moi (ce que j'ai tendance à penser, mais je ne vois pas où !)


-=exCorbac=-
"The owls are not what they seem. Especially in FlightGear." (David Lynch & exCorbac)
Version: FlightGear 2019.2.0
OS: Linux Mint 19.1 64-bit (cinnamon 4.0.10), GC: AMD Radeon R9 380X 4Go, CPU: AMD FX8350 8-core 4GHz, RAM: 12Go DDR3 1333MHz, Ecrans: Samsung U28E590DS 2560x1440 (Freesync, DP), Dell 2407WFP-HC 1920x1200 (DVI), HDDs: SG Barracuda 1To(SATA2)+2To(SATA3)

Hors ligne

#2 12/06/2019 9:11:58

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 2 522

Re : Erreur de compilation SIMGEAR

Non, à priori, ça ne vient pas de toi :

In file included from /usr/include/c++/8/bits/locale_facets.h:48,
                 from /usr/include/c++/8/locale:40,
                 from /usr/include/c++/8/iomanip:43,
                 from /home/andre/fgfs/simgear/simgear/timing/timestamp.hxx:36,
                 from /home/andre/fgfs/simgear/simgear/threads/SGThread.hxx:30,
                 from /home/andre/fgfs/simgear/simgear/emesary/Transmitter.hxx:29,
                 from /home/andre/fgfs/simgear/simgear/emesary/Emesary.hxx:31,
                 from /home/andre/fgfs/simgear/simgear/emesary/Emesary.cxx:23:
/usr/include/c++/8/bits/streambuf_iterator.h:368:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)’
     find(istreambuf_iterator<_CharT> __first,
     ^~~~
/usr/include/c++/8/bits/streambuf_iterator.h:368:5: note:   template argument deduction/substitution failed:
In file included from /home/andre/fgfs/simgear/simgear/emesary/Emesary.hxx:31,
                 from /home/andre/fgfs/simgear/simgear/emesary/Emesary.cxx:23:
/home/andre/fgfs/simgear/simgear/emesary/Transmitter.hxx:91:95: note:   ‘std::_List_iterator<simgear::Emesary::IReceiver*>’ is not derived from ‘std::istreambuf_iterator<_CharT>’
                         if (std::find(deleted_recipients.begin(), deleted_recipients.end(), &R) == deleted_recipients.end())
                                                                                               ^
/home/andre/fgfs/simgear/simgear/emesary/Transmitter.hxx: In member function ‘virtual simgear::Emesary::ReceiptStatus simgear::Emesary::Transmitter::NotifyAll(simgear::Emesary::INotification&)’:
/home/andre/fgfs/simgear/simgear/emesary/Transmitter.hxx:129:98: error: no matching function for call to ‘find(std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, std::__cxx11::list<simgear::Emesary::IReceiver*>::iterator, simgear::Emesary::IReceiver*&)’
                             if (std::find(deleted_recipients.begin(), deleted_recipients.end(), R) != deleted_recipients.end())
                                                                                                  ^
In file included from /usr/include/c++/8/bits/locale_facets.h:48,
                 from /usr/include/c++/8/locale:40,
                 from /usr/include/c++/8/iomanip:43,
                 from /home/andre/fgfs/simgear/simgear/timing/timestamp.hxx:36,
                 from /home/andre/fgfs/simgear/simgear/threads/SGThread.hxx:30,
                 from /home/andre/fgfs/simgear/simgear/emesary/Transmitter.hxx:29,
                 from /home/andre/fgfs/simgear/simgear/emesary/Emesary.hxx:31,
                 from /home/andre/fgfs/simgear/simgear/emesary/Emesary.cxx:23:
/usr/include/c++/8/bits/streambuf_iterator.h:368:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)’
     find(istreambuf_iterator<_CharT> __first,
     ^~~~
/usr/include/c++/8/bits/streambuf_iterator.h:368:5: note:   template argument deduction/substitution failed:
In file included from /home/andre/fgfs/simgear/simgear/emesary/Emesary.hxx:31,
                 from /home/andre/fgfs/simgear/simgear/emesary/Emesary.cxx:23:
/home/andre/fgfs/simgear/simgear/emesary/Transmitter.hxx:129:98: note:   ‘std::_List_iterator<simgear::Emesary::IReceiver*>’ is not derived from ‘std::istreambuf_iterator<_CharT>’
                             if (std::find(deleted_recipients.begin(), deleted_recipients.end(), R) != deleted_recipients.end())
                                                                                                  ^
make[2]: *** [simgear/CMakeFiles/SimGearCore.dir/build.make:557: simgear/CMakeFiles/SimGearCore.dir/emesary/Emesary.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1189: simgear/CMakeFiles/SimGearCore.dir/all] Error 2
make: *** [Makefile:163: all] Error 2 

André. anciennement taureau89_9
Debian Testing Amd64. CM Sabertooth 990FX, FX8350, 32 Go Ram DDR3 1866 Mhz, GTX 750ti 2Go, DD 2To Sata 3, THRUSTMASTER T.Flight StickX, FG 2019.2.0 Git.

Hors ligne

#3 12/06/2019 9:26:57

ctesc356
Membre
Inscription : 18/05/2010
Messages : 2 745

Re : Erreur de compilation SIMGEAR

Bonjour,

exCorbac a écrit :

Ma question est donc : est-ce que la source d' Emesary a été codée avec les pieds et dans ce cas peux-t-on attendre une version déboguée

Ta réaction est un peu rude (pour ne pas dire plus) et tout sauf constructive.Tu compiles une version de développement. Des aléas de ce genre arrivent, tu dois en être conscient et faire avec.
Si tu ne supportes pas, tu mets un petit -s dans ta ligne de commande d&c.

Tu peux signaler (en des termes appropriés) le défaut sur la devel-list : https://sourceforge.net/p/flightgear/ma … ear-devel/

Pour se positionner sur un no de commit antérieur:
- cd <dans le dossier src incriminé> (ici "simgear")
- git reset --hard <no de commit visé>
puis d&c avec -dn

Historique des commits simgear:
https://sourceforge.net/p/flightgear/si … log/?path=

Dernière modification par ctesc356 (12/06/2019 9:59:02)


Intel i5 3570 3.4Mhz, Nvidia GTX 660, 8Go Ram, Linux Mint

Hors ligne

#4 12/06/2019 12:04:13

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 2 522

Re : Erreur de compilation SIMGEAR

ctesc356 a écrit :

Des aléas de ce genre arrivent, tu dois en être conscient et faire avec.

Nous sommes bien d'accord.
C'est assez courant et il faut savoir patienter jusqu'à ce que le bug soit corrigé.
Ça m'étonnerait bien qu'il ne soit pas rapidement reporté.

J'aime bien la parenthèse ...

ctesc356 a écrit :

(en des termes appropriés)

big_smile


André. anciennement taureau89_9
Debian Testing Amd64. CM Sabertooth 990FX, FX8350, 32 Go Ram DDR3 1866 Mhz, GTX 750ti 2Go, DD 2To Sata 3, THRUSTMASTER T.Flight StickX, FG 2019.2.0 Git.

Hors ligne

#5 12/06/2019 19:28:58

exCorbac
Membre
Lieu : Felletin (23500)
Inscription : 6/02/2019
Messages : 13

Re : Erreur de compilation SIMGEAR

Bonjour
En aucun cas je n'ai voulu être insultant ; mon optique était plutôt de faire sourire. Si c'est mal passé, je vous présente mes excuses.
Je voulais savoir si l'erreur était reproduite pour d'autres ou bien si j'avais quelque chose à faire pour que cela fonctionne.
Bien cordialement à tous


-=exCorbac=-
"The owls are not what they seem. Especially in FlightGear." (David Lynch & exCorbac)
Version: FlightGear 2019.2.0
OS: Linux Mint 19.1 64-bit (cinnamon 4.0.10), GC: AMD Radeon R9 380X 4Go, CPU: AMD FX8350 8-core 4GHz, RAM: 12Go DDR3 1333MHz, Ecrans: Samsung U28E590DS 2560x1440 (Freesync, DP), Dell 2407WFP-HC 1920x1200 (DVI), HDDs: SG Barracuda 1To(SATA2)+2To(SATA3)

Hors ligne

#6 12/06/2019 20:44:51

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 2 522

Re : Erreur de compilation SIMGEAR

ctesc356 a écrit :

Ta réaction est un peu rude (pour ne pas dire plus) et tout sauf constructive.

N’exagérons pas non plus ce petit incident, je ne pense pas que ctesc356 allait jusqu'à considérer ta remarque comme insultante.
Et puisque en plus tu vas jusqu'à juger bon de t'excuser, n'en parlons plus.


André. anciennement taureau89_9
Debian Testing Amd64. CM Sabertooth 990FX, FX8350, 32 Go Ram DDR3 1866 Mhz, GTX 750ti 2Go, DD 2To Sata 3, THRUSTMASTER T.Flight StickX, FG 2019.2.0 Git.

Hors ligne

#7 12/06/2019 21:27:05

exCorbac
Membre
Lieu : Felletin (23500)
Inscription : 6/02/2019
Messages : 13

Re : Erreur de compilation SIMGEAR

Merci. Je devrais me tourner 7 fois les doigts avant d'écrire parfois roll
Il y a une grosse activité sur le code visible sur sourceforge/flightgear ces dernières heures. Je vais tester dans quelques minutes si cela s'est arrangé pour la compilation.
Bonne soirée smile


-=exCorbac=-
"The owls are not what they seem. Especially in FlightGear." (David Lynch & exCorbac)
Version: FlightGear 2019.2.0
OS: Linux Mint 19.1 64-bit (cinnamon 4.0.10), GC: AMD Radeon R9 380X 4Go, CPU: AMD FX8350 8-core 4GHz, RAM: 12Go DDR3 1333MHz, Ecrans: Samsung U28E590DS 2560x1440 (Freesync, DP), Dell 2407WFP-HC 1920x1200 (DVI), HDDs: SG Barracuda 1To(SATA2)+2To(SATA3)

Hors ligne

#8 12/06/2019 22:53:17

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 2 522

Re : Erreur de compilation SIMGEAR

exCorbac a écrit :

Je vais tester dans quelques minutes si cela s'est arrangé pour la compilation.

A l'instant t, pas encore...


André. anciennement taureau89_9
Debian Testing Amd64. CM Sabertooth 990FX, FX8350, 32 Go Ram DDR3 1866 Mhz, GTX 750ti 2Go, DD 2To Sata 3, THRUSTMASTER T.Flight StickX, FG 2019.2.0 Git.

Hors ligne

#9 13/06/2019 10:25:34

dany93
Administrateur
Lieu : Région Parisienne
Inscription : 5/07/2009
Messages : 3 016

Re : Erreur de compilation SIMGEAR

Bonjour exCorbac, bonjour vous tous,

Sur la liste e-mail de FGDevel, il y a une activité intense autour de ce problème.
Un extrait parmi les 8 messages (SourceForge est mal foutu, on n'a souvent qu'une partie du fil).
problems compiling simgear

Peut-être un problème de majuscules dans

fgfs/simgear/simgear/emesary/Emesary.hxx

mais pas seulement (sinon ce serait probablement résolu).


FG 2019.2.0, Linux Mint 18 (64b), Quad Q6600 (2.4 GHz), RAM 8Go DDR2, GEFORCE GTX 650 1GB, OSG 3.4.2
Boeing 787-8 (YASim, avec nickyivyca, aco)
DR400 JSBSim (PAF)
DC3 JSBSim (PAF)

Hors ligne

#10 13/06/2019 10:36:50

ctesc356
Membre
Inscription : 18/05/2010
Messages : 2 745

Re : Erreur de compilation SIMGEAR

Bonjour,
Richard Harrison ne s'est pas encore manifesté, attendons ses corrections et ev. explications.

Pour ceux qui seraient en panne (pas de fg de secours), un "git reset --hard" sur:

- simgear 1ca3f60f (1ca3f60f8052cb69085e25f0189c4d0ebb63f603)

et

-flightgear 8c4334e3a (8c4334e3ae365d2bc472e30039fb244c70877f91)

peut aider.

Dernière modification par ctesc356 (13/06/2019 10:39:28)


Intel i5 3570 3.4Mhz, Nvidia GTX 660, 8Go Ram, Linux Mint

Hors ligne

#11 13/06/2019 12:25:03

exCorbac
Membre
Lieu : Felletin (23500)
Inscription : 6/02/2019
Messages : 13

Re : Erreur de compilation SIMGEAR

Bonjour,

En effet, on peut toujours choisir des clichés (snapshots) de codes précédents.

ctesc356 a écrit :

Pour ceux qui seraient en panne (pas de fg de secours), un "git reset --hard" sur:

- simgear 1ca3f60f (1ca3f60f8052cb69085e25f0189c4d0ebb63f603)

et

-flightgear 8c4334e3a (8c4334e3ae365d2bc472e30039fb244c70877f91)

peut aider.

Cependant, pour ma part, j'ai utilisé le cliché de simgear suivant : a68c4e (a68c4e943424ffb1938994f45187de80e57ead33) dont la date antérieure à l'implémentation d'Emesary (09/06/2019 8:58) était la plus proche (08/06/2019 13:38).

Tout a été compilé sans problème smile
Bon vents et vols à tous


-=exCorbac=-
"The owls are not what they seem. Especially in FlightGear." (David Lynch & exCorbac)
Version: FlightGear 2019.2.0
OS: Linux Mint 19.1 64-bit (cinnamon 4.0.10), GC: AMD Radeon R9 380X 4Go, CPU: AMD FX8350 8-core 4GHz, RAM: 12Go DDR3 1333MHz, Ecrans: Samsung U28E590DS 2560x1440 (Freesync, DP), Dell 2407WFP-HC 1920x1200 (DVI), HDDs: SG Barracuda 1To(SATA2)+2To(SATA3)

Hors ligne

#12 13/06/2019 15:53:05

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 2 522

Re : Erreur de compilation SIMGEAR

ctesc356 a écrit :

Pour ceux qui seraient en panne (pas de fg de secours)

A priori je ne suis pas en panne.

C'est Simgear qui ne compile pas, mais la compilation précédente reste en place.
Et Fg compile quand même.


André. anciennement taureau89_9
Debian Testing Amd64. CM Sabertooth 990FX, FX8350, 32 Go Ram DDR3 1866 Mhz, GTX 750ti 2Go, DD 2To Sata 3, THRUSTMASTER T.Flight StickX, FG 2019.2.0 Git.

Hors ligne

#13 15/06/2019 17:37:35

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 2 522

Re : Erreur de compilation SIMGEAR

La compilation de Simgear passe à nouveau normalement.

C'est celle de FGFS qui ne passe plus, avec une référence indéfinie à Simgear :

****************************************
************** FLIGHTGEAR **************
****************************************
FGFS: the repository already exists
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 9 (delta 7), reused 0 (delta 0)
Dépaquetage des objets: 100% (9/9), fait.
Depuis https://git.code.sf.net/p/flightgear/flightgear
   cfae6d2c9..47e3e7bae  next       -> origin/next
Mise à jour cfae6d2c9..47e3e7bae
Fast-forward
 src/Main/main.cxx         | 2 +-
 test_suite/CMakeLists.txt | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
La branche courante next est à jour.
Déjà sur 'next'
Votre branche est à jour avec 'origin/next'.
CMAKE Build type: RelWithDebInfo
-- Setting build type to 'Dev' as none was specified.
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- System is: Linux
-- Linux distro is: Debian
-- Web browser launcher command is: sensible-browser
-- Using explicit data directory for base package: /home/andre/fgfs/install/flightgear/fgdata
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- libudev stable: 1
-- Found UDev: /lib/x86_64-linux-gnu/libudev.so
--    include: /usr/include
-- event-based input enabled. Using /lib/x86_64-linux-gnu/libudev.so
-- Enabling HID-API input
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") 
-- Checking for module 'dbus-1'
--   Found dbus-1, version 1.12.16
-- Found DBUS: /usr/include/dbus-1.0;/usr/lib/x86_64-linux-gnu/dbus-1.0/include  
-- Found LIBEVENT: /usr/include  
-- SWIFT support enabled
-- Boost version: 1.67.0
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/FindOpenGL.cmake:270 (message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  FindOpenGL found both a legacy GL library:

    OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
    OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so

  OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
  compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
  CMakeLists.txt:303 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
-- Found osgText: /usr/lib/x86_64-linux-gnu/libosgText.so  
-- Found osgSim: /usr/lib/x86_64-linux-gnu/libosgSim.so  
-- Found osgDB: /usr/lib/x86_64-linux-gnu/libosgDB.so  
-- Found osgParticle: /usr/lib/x86_64-linux-gnu/libosgParticle.so  
-- Found osgFX: /usr/lib/x86_64-linux-gnu/libosgFX.so  
-- Found osgUtil: /usr/lib/x86_64-linux-gnu/libosgUtil.so  
-- Found osgViewer: /usr/lib/x86_64-linux-gnu/libosgViewer.so  
-- Found osgGA: /usr/lib/x86_64-linux-gnu/libosgGA.so  
-- Found osg: /usr/lib/x86_64-linux-gnu/libosg.so  
-- Found OpenThreads: /usr/lib/x86_64-linux-gnu/libOpenThreads.so  
-- Found OpenSceneGraph: /usr/lib/x86_64-linux-gnu/libosgText.so;/usr/lib/x86_64-linux-gnu/libosgSim.so;/usr/lib/x86_64-linux-gnu/libosgDB.so;/usr/lib/x86_64-linux-gnu/libosgParticle.so;/usr/lib/x86_64-linux-gnu/libosgFX.so;/usr/lib/x86_64-linux-gnu/libosgUtil.so;/usr/lib/x86_64-linux-gnu/libosgViewer.so;/usr/lib/x86_64-linux-gnu/libosgGA.so;/usr/lib/x86_64-linux-gnu/libosg.so;/usr/lib/x86_64-linux-gnu/libOpenThreads.so (found suitable version "3.4.1", minimum required is "3.2.0") 
-- Checking for module 'dbus-1'
--   Found dbus-1, version 1.12.16
-- Using DBus
-- Qt launcher enabled, checking for Qt >= 5.4 / qmake
-- Will enable Qt launcher GUI
--   Qt5Widgets version: 5.11.3
--   Qt5Widgets include dir: /usr/include/x86_64-linux-gnu/qt5/;/usr/include/x86_64-linux-gnu/qt5/QtWidgets;/usr/include/x86_64-linux-gnu/qt5/QtGui;/usr/include/x86_64-linux-gnu/qt5/QtCore;/usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++;/usr/include
-- Using explicitly defined translations from: /home/andre/fgfs/install/flightgear/fgdata/Translations
-- /usr/include
-- Found PLIB: optimized;/usr/lib/x86_64-linux-gnu/libplibpuaux.so;debug;/usr/lib/x86_64-linux-gnu/libplibpuaux.so;optimized;/usr/lib/x86_64-linux-gnu/libplibpu.so;debug;/usr/lib/x86_64-linux-gnu/libplibpu.so;optimized;/usr/lib/x86_64-linux-gnu/libplibfnt.so;debug;/usr/lib/x86_64-linux-gnu/libplibfnt.so;optimized;/usr/lib/x86_64-linux-gnu/libplibsg.so;debug;/usr/lib/x86_64-linux-gnu/libplibsg.so;optimized;/usr/lib/x86_64-linux-gnu/libplibul.so;debug;/usr/lib/x86_64-linux-gnu/libplibul.so  
-- Min Simgear version is 2019.2.0
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/timeb.h
-- Looking for sys/timeb.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for daylight
-- Looking for daylight - found
-- Looking for ftime
-- Looking for ftime - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- RTI: DISABLED
-- OpenMP: DISABLED
-- SSE/SSE2 support: ENABLED
-- Looking for mkfifo
-- Looking for mkfifo - found
-- libudev stable: 1
-- Found UDev: /lib/x86_64-linux-gnu/libudev.so
--    include: /usr/include
-- Enabling legacy joystick code (from PLIB)
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.36") 
-- Found GLEW: /usr/include  
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.9.1") 
-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so  
-- found GLUT inc /usr/include, lib /usr/lib/x86_64-linux-gnu/libglut.so;/usr/lib/x86_64-linux-gnu/libXmu.so;/usr/lib/x86_64-linux-gnu/libXi.so 
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so  
-- CppUnit: Building the FlightGear supplied CppUnit library
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_FLITE


-- Build files have been written to: /home/andre/fgfs/build/flightgear
MAKE flightgear
Scanning dependencies of target fgfs_it_qm
Scanning dependencies of target fgfs_de_qm
Scanning dependencies of target fgfs_en_qm
Scanning dependencies of target fgfs_pl_qm
Scanning dependencies of target fgfs_ru_qm
[  0%] Built target fgfs_it_qm
Scanning dependencies of target fgfs_es_qm
[  0%] Built target fgfs_de_qm
[  0%] Built target fgfs_en_qm
Scanning dependencies of target fgfs_pt_qm
[  0%] Built target fgfs_pl_qm
[  0%] Built target fgfs_ru_qm
[  0%] Built target fgfs_es_qm
[  0%] Built target fgfs_pt_qm
Scanning dependencies of target fgfs_nl_qm
Scanning dependencies of target fgfs_fr_qm
[  0%] Built target fgfs_nl_qm
Scanning dependencies of target fgfs_zh_qm
[  0%] Built target fgfs_fr_qm
[  5%] Built target flite_hts
[  5%] Built target hidapi
[  5%] Built target fgfs_zh_qm
[  5%] Built target hts_engine
[  5%] Built target PLIBJoystick
[  5%] Linking CXX executable fgelev
[ 13%] Built target iaxclient_lib
[ 13%] Linking CXX executable MIDGsmooth
[ 13%] Built target fgsqlite3
[ 13%] Linking CXX executable fgviewer
[ 13%] Linking CXX executable GPSsmooth
[ 13%] Linking CXX executable UGsmooth
[ 13%] Built target fgtraffic
[ 13%] Linking CXX executable fgrcc
Scanning dependencies of target fgpanel
[ 13%] Building CXX object utils/fgpanel/CMakeFiles/fgpanel.dir/ApplicationProperties.cxx.o
[ 13%] Linking CXX executable js_demo
[ 13%] Built target MIDGsmooth
[ 13%] Linking CXX executable fgjs
[ 13%] Built target GPSsmooth
[ 13%] Building CXX object utils/fgpanel/CMakeFiles/fgpanel.dir/FGCroppedTexture.cxx.o
[ 13%] Built target js_demo
[ 13%] Built target fgrcc
[ 13%] Building CXX object utils/fgpanel/CMakeFiles/fgpanel.dir/FGGroupLayer.cxx.o
[ 13%] Building CXX object utils/fgpanel/CMakeFiles/fgpanel.dir/FGInstrumentLayer.cxx.o
[ 15%] Built target UGsmooth
Scanning dependencies of target yasim-proptest
[ 15%] Building CXX object utils/fgpanel/CMakeFiles/fgpanel.dir/FGLayeredInstrument.cxx.o
[ 15%] Building CXX object src/FDM/YASim/CMakeFiles/yasim-proptest.dir/Glue.cpp.o
[ 16%] Built target fgjs
[ 16%] Building CXX object utils/fgpanel/CMakeFiles/fgpanel.dir/FGPanelInstrument.cxx.o
Scanning dependencies of target yasim
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim.dir/yasim-test.cpp.o
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim-proptest.dir/Hook.cpp.o
[ 16%] Building CXX object utils/fgpanel/CMakeFiles/fgpanel.dir/FGPanelTransformation.cxx.o
[ 16%] Building CXX object utils/fgpanel/CMakeFiles/fgpanel.dir/FGSwitchLayer.cxx.o
[ 16%] Building CXX object utils/fgpanel/CMakeFiles/fgpanel.dir/FGTextLayer.cxx.o
[ 16%] Building CXX object utils/fgpanel/CMakeFiles/fgpanel.dir/FGTexturedLayer.cxx.o
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim.dir/Glue.cpp.o
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim.dir/Hook.cpp.o
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim-proptest.dir/Integrator.cpp.o
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim.dir/Integrator.cpp.o
/usr/bin/ld: CMakeFiles/fgviewer.dir/Renderer.cxx.o: in function `fgviewer::Renderer::_SlaveCamera::_realizeImplementation(fgviewer::Viewer&)':
/home/andre/fgfs/flightgear/utils/fgviewer/Renderer.cxx:44: undefined reference to `simgear::EffectCullVisitor::EffectCullVisitor(bool, simgear::Effect*)'
collect2: error: ld returned 1 exit status
make[2]: *** [utils/fgviewer/CMakeFiles/fgviewer.dir/build.make:164: utils/fgviewer/fgviewer] Error 1
make[1]: *** [CMakeFiles/Makefile2:1218: utils/fgviewer/CMakeFiles/fgviewer.dir/all] Error 2
make[1]: *** Attente des tâches non terminées....
[ 16%] Built target fgelev
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim.dir/Launchbar.cpp.o
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim.dir/RigidBody.cpp.o
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim.dir/Rotorpart.cpp.o
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim.dir/Surface.cpp.o
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim.dir/Wing.cpp.o
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim-proptest.dir/Launchbar.cpp.o
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim-proptest.dir/RigidBody.cpp.o
[ 16%] Linking CXX executable fgpanel
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim-proptest.dir/Rotorpart.cpp.o
In file included from /home/andre/fgfs/flightgear/src/FDM/YASim/Wing.cpp:1:
/home/andre/fgfs/flightgear/src/FDM/YASim/yasim-common.hpp:41:24: warning: ‘yasim::DEF_PROP_ELEVATOR_TRIM’ defined but not used [-Wunused-variable]
     static const char* DEF_PROP_ELEVATOR_TRIM = "/controls/flight/elevator-trim";
                        ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/andre/fgfs/flightgear/src/FDM/YASim/Surface.cpp:2:
/home/andre/fgfs/flightgear/src/FDM/YASim/yasim-common.hpp:41:24: warning: ‘yasim::DEF_PROP_ELEVATOR_TRIM’ defined but not used [-Wunused-variable]
     static const char* DEF_PROP_ELEVATOR_TRIM = "/controls/flight/elevator-trim";
                        ^~~~~~~~~~~~~~~~~~~~~~
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim-proptest.dir/Surface.cpp.o
[ 16%] Building CXX object src/FDM/YASim/CMakeFiles/yasim-proptest.dir/Wing.cpp.o
[ 16%] Linking CXX executable yasim
In file included from /home/andre/fgfs/flightgear/src/FDM/YASim/Wing.cpp:1:
/home/andre/fgfs/flightgear/src/FDM/YASim/yasim-common.hpp:41:24: warning: ‘yasim::DEF_PROP_ELEVATOR_TRIM’ defined but not used [-Wunused-variable]
     static const char* DEF_PROP_ELEVATOR_TRIM = "/controls/flight/elevator-trim";
                        ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/andre/fgfs/flightgear/src/FDM/YASim/Surface.cpp:2:
/home/andre/fgfs/flightgear/src/FDM/YASim/yasim-common.hpp:41:24: warning: ‘yasim::DEF_PROP_ELEVATOR_TRIM’ defined but not used [-Wunused-variable]
     static const char* DEF_PROP_ELEVATOR_TRIM = "/controls/flight/elevator-trim";
                        ^~~~~~~~~~~~~~~~~~~~~~
[ 18%] Linking CXX executable yasim-proptest
[ 20%] Built target fgpanel
[ 23%] Built target yasim
[ 25%] Built target yasim-proptest
make: *** [Makefile:163: all] Error 2
INSTALL flightgear
[  0%] Built target fgfs_nl_qm
[  0%] Built target fgfs_de_qm
[  0%] Built target fgfs_es_qm
[  0%] Built target fgfs_en_qm
[  0%] Built target fgfs_it_qm
[  0%] Built target fgfs_pl_qm
[  0%] Built target fgfs_pt_qm
[  0%] Built target fgfs_ru_qm
[  0%] Built target fgfs_fr_qm
[  0%] Built target fgfs_zh_qm
Scanning dependencies of target fgfs_qm_files
[  0%] Built target fgfs_qm_files
[  0%] Built target fgsqlite3
[  8%] Built target iaxclient_lib
[ 13%] Built target flite_hts
[ 13%] Built target hts_engine
[ 13%] Built target hidapi
[ 13%] Built target PLIBJoystick
[ 13%] Built target fgelev
[ 15%] Built target fgpanel
[ 15%] Linking CXX executable fgviewer
/usr/bin/ld: CMakeFiles/fgviewer.dir/Renderer.cxx.o: in function `fgviewer::Renderer::_SlaveCamera::_realizeImplementation(fgviewer::Viewer&)':
/home/andre/fgfs/flightgear/utils/fgviewer/Renderer.cxx:44: undefined reference to `simgear::EffectCullVisitor::EffectCullVisitor(bool, simgear::Effect*)'
collect2: error: ld returned 1 exit status
make[2]: *** [utils/fgviewer/CMakeFiles/fgviewer.dir/build.make:164: utils/fgviewer/fgviewer] Error 1
make[1]: *** [CMakeFiles/Makefile2:1218: utils/fgviewer/CMakeFiles/fgviewer.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
All optional package alternatives have found a matching package.

download_and_compile.sh has finished to work.
andre@debian:~/fgfs$

André. anciennement taureau89_9
Debian Testing Amd64. CM Sabertooth 990FX, FX8350, 32 Go Ram DDR3 1866 Mhz, GTX 750ti 2Go, DD 2To Sata 3, THRUSTMASTER T.Flight StickX, FG 2019.2.0 Git.

Hors ligne

#14 15/06/2019 22:59:05

ctesc356
Membre
Inscription : 18/05/2010
Messages : 2 745

Re : Erreur de compilation SIMGEAR

Ca passe ici avec le dernier commit de sg: 3b3093


Intel i5 3570 3.4Mhz, Nvidia GTX 660, 8Go Ram, Linux Mint

Hors ligne

#15 16/06/2019 0:54:09

exCorbac
Membre
Lieu : Felletin (23500)
Inscription : 6/02/2019
Messages : 13

Re : Erreur de compilation SIMGEAR

Bonjour
Merci à vous deux, f-toro et ctesc356, d'avoir continué ce fil pour nous informer de la résolution de ce problème de compilation lié à l'implémentation d'Emesary.
Bon vent et vols à tous smile


-=exCorbac=-
"The owls are not what they seem. Especially in FlightGear." (David Lynch & exCorbac)
Version: FlightGear 2019.2.0
OS: Linux Mint 19.1 64-bit (cinnamon 4.0.10), GC: AMD Radeon R9 380X 4Go, CPU: AMD FX8350 8-core 4GHz, RAM: 12Go DDR3 1333MHz, Ecrans: Samsung U28E590DS 2560x1440 (Freesync, DP), Dell 2407WFP-HC 1920x1200 (DVI), HDDs: SG Barracuda 1To(SATA2)+2To(SATA3)

Hors ligne

#16 16/06/2019 20:51:10

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 2 522

Re : Erreur de compilation SIMGEAR

ctesc356 a écrit :

Ca passe ici avec le dernier commit de sg: 3b3093

Toujours pas chez moi.
Pourtant je recompile Simgear avant de recompiler Fgfs.


André. anciennement taureau89_9
Debian Testing Amd64. CM Sabertooth 990FX, FX8350, 32 Go Ram DDR3 1866 Mhz, GTX 750ti 2Go, DD 2To Sata 3, THRUSTMASTER T.Flight StickX, FG 2019.2.0 Git.

Hors ligne

#17 17/06/2019 8:23:41

ctesc356
Membre
Inscription : 18/05/2010
Messages : 2 745

Re : Erreur de compilation SIMGEAR

Bizarre, c'est ok ici, mint et debian.
Peut-être supprimer le dossier "build", sinon essayer dans un dossier vierge.


Intel i5 3570 3.4Mhz, Nvidia GTX 660, 8Go Ram, Linux Mint

Hors ligne

#18 17/06/2019 8:47:36

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 2 522

Re : Erreur de compilation SIMGEAR

ctesc356 a écrit :

Peut-être supprimer le dossier "build"

Gagné.
C'est bien la première fois que je suis amené à supprimer ce dossier pour éradiquer une erreur de compilation.

Merci Ernest.


André. anciennement taureau89_9
Debian Testing Amd64. CM Sabertooth 990FX, FX8350, 32 Go Ram DDR3 1866 Mhz, GTX 750ti 2Go, DD 2To Sata 3, THRUSTMASTER T.Flight StickX, FG 2019.2.0 Git.

Hors ligne

Pied de page des forums