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 20/01/2021 18:24:51

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 3 015

Nouvelle erreur de compilation en next...

...mais pas une erreur de paquets incompatibles cette fois-ci.

Bonjour à tous.

Tout se passe bien presque jusqu'à la fin de la compilation de fgfs.

Puis :

/home/andre/flightgear/dnc-managed/flightgear/src/GUI/gui_funcs.cxx:646:17: note: ‘snprintf’ output between 19 and 27 bytes into a destination of size 24
  646 |         snprintf(filename, 24, "fgfs-graph-%03d.osg", count++);
      |         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 55%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/GUI/layout-props.cxx.o
[ 55%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/GUI/layout.cxx.o
[ 55%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/GUI/menubar.cxx.o
[ 55%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/GUI/FGPUIMenuBar.cxx.o
[ 55%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/GUI/new_gui.cxx.o
[ 55%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/GUI/property_list.cxx.o
[ 57%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/GUI/FGFontCache.cxx.o
[ 57%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/GUI/FGColor.cxx.o
[ 57%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/GUI/FileDialog.cxx.o
In file included from <command-line>:
/usr/include/stdc-predef.h: In substitution of ‘template<class _Result, class _Func, class ... _BoundArgs> typename std::_Bindres_helper<_Result, _Func, _BoundArgs>::type std::bind(_Func&&, _BoundArgs&& ...) [with _Result = <missing>; _Func = <missing>; _BoundArgs = <missing>]’:
/home/andre/flightgear/dnc-managed/install/simgear/include/simgear/nasal/cppbind/Ghost.hxx:773:38:   required from ‘nasal::Ghost<T, typename std::enable_if<nasal::is_strong_ref<T>::value, void>::type>& nasal::Ghost<T, typename std::enable_if<nasal::is_strong_ref<T>::value, void>::type>::method(const string&, const std::function<Ret(typename T::element_type&, const nasal::CallContext&)>&) [with Ret = void; T = std::shared_ptr<FGFileDialog>; typename std::enable_if<nasal::is_strong_ref<T>::value, void>::type = void; std::string = std::__cxx11::basic_string<char>; typename T::element_type = FGFileDialog]’
/home/andre/flightgear/dnc-managed/install/simgear/include/simgear/nasal/cppbind/Ghost.hxx:813:22:   required from ‘nasal::Ghost<T, typename std::enable_if<nasal::is_strong_ref<T>::value, void>::type>& nasal::Ghost<T, typename std::enable_if<nasal::is_strong_ref<T>::value, void>::type>::method(const string&, Ret (element_type::*)(Args ...)) [with Ret = void; Args = {const nasal::CallContext&}; T = std::shared_ptr<FGFileDialog>; typename std::enable_if<nasal::is_strong_ref<T>::value, void>::type = void; std::string = std::__cxx11::basic_string<char>; typename T::element_type = FGFileDialog; nasal::Ghost<T, typename std::enable_if<nasal::is_strong_ref<T>::value, void>::type>::raw_type = FGFileDialog]’
/home/andre/flightgear/dnc-managed/flightgear/src/GUI/FileDialog.cxx:168:63:   required from here
/usr/include/stdc-predef.h:32:89: internal compiler error: Erreur de segmentation
   32 |    whether the overall intent is to support these features; otherwise,
      |                                                                                         ^                         
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
make[2]: *** [src/Main/CMakeFiles/fgfs.dir/build.make:1421 : src/Main/CMakeFiles/fgfs.dir/__/GUI/FileDialog.cxx.o] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:4150 : src/Main/CMakeFiles/fgfs.dir/all] Erreur 2
make: *** [Makefile:182 : all] Erreur 2
All optional package alternatives have found a matching package.

download_and_compile.sh has finished to work.
andre@debian:~/flightgear/dnc-managed$ 

Quelles fonctionnalités pas prises en charge ?

Les rapports de bugs c'est pas trop pour moi...


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

Hors ligne

#2 20/01/2021 19:27:22

zakharov
Membre historique du forum.
Inscription : 11/09/2005
Messages : 958

Re : Nouvelle erreur de compilation en next...

Salut f-toro,

tu as essayé de virer le répertoire qui contient le build de FG et relancer la compil ? Je pense que c'est au niveau de FG que gcc plante, c'est pas très visible dans l'extrait de log que tu donnes, mais je le suppose en voyant que ça utilise des en-têtes de SG déjà installées si j'en crois les lignes comme

/home/andre/flightgear/dnc-managed/install/simgear/include/simgear/nasal/cppbind/Ghost.hxx

Pas la peine de virer le répertoire de build des autres SG et OSG (si compilé).

sinon ton gcc est en testing, donc pas exempt d'instabilités, et il sera peut-être nécessaire de lui indiquer la version de C++, genre

CFLAGS="--std=c++14"

La version de gcc ici qui compile sans soucis (viens juste de tester)

$ gcc --version 
gcc (Debian 8.3.0-6) 8.3.0

@+
bons vols
zakh


le zkv1000
Debian Bookworm sur i7-9750H, 16G, NV GeForce GTX 1660 Ti MaxQ 6Go
FG next compilé à la mano
Joystick TM T. Stick X avec fichier de conf perso

Hors ligne

#3 20/01/2021 22:53:11

rominet
Membre
Inscription : 23/03/2019
Messages : 186

Re : Nouvelle erreur de compilation en next...

Bonsoir,

Bug de GCC 10 rencontré par pas mal de gens. On peut compiler ainsi :

CC=gcc-9 CXX=g++-9 /chemin/vers/download_and_compile.sh ...

Debian GNU/Linux, driver libre pour carte Radeon HD 4670, FG 'next', 8 Go de RAM

Hors ligne

#4 23/01/2021 11:38:58

dany93
Administrateur
Lieu : Région Parisienne
Inscription : 5/07/2009
Messages : 4 037

Re : Nouvelle erreur de compilation en next...

Bug de GCC 10 : peut-être résolu ?

Scott a écrit :

FYI... I just successfully built next using the latest gcc-10, so it
seems the recent issues with this compiler have been resolved.

Compiling fails with download_and_compile for next / debian b[EDIT]ullseye

[EDIT]
Pas sûr...

Florent Rougon a écrit :

On Debian (unstable or testing)? For me, nothing has changed: gcc 10
fails (ICE), gcc 9 works.

[/EDIT]

Dernière modification par dany93 (23/01/2021 12:01:22)


FG 2020.4.0, Linux Mint 20.3, Intel Core i7-11700F @ 2.50GHz, RAM 32 GB DDR4, NVIDIA GeForce RTX 3060 (12 GB)
Boeing 787-8 (YASim, avec nickyivyca, aco)
Hangar avions Patten (PAF) Robin  DR400 JSBSim, Douglas DC3 JSBSim, CAP10B, Tecnam P92 JSBSim.

Hors ligne

#5 26/01/2021 10:47:20

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 3 015

Re : Nouvelle erreur de compilation en next...

Excuses pour la réponse tardive, manque de temps.

Non, chez moi ça ne passe toujours pas.

Sauf que l’erreur est différente (sur une nouvelle compilation vierge sauf le FGdata), ne se prosuit pas à la compilation, comme mon message précédent, mais avant (au configure ?) :

****************************************
************** FLIGHTGEAR **************
****************************************
Fetching FGFS with 'git clone https://git.code.sf.net/p/flightgear/flightgear'
Clonage dans '.'...
remote: Enumerating objects: 126334, done.
remote: Counting objects: 100% (126334/126334), done.
remote: Compressing objects: 100% (25825/25825), done.
remote: Total 126334 (delta 101350), reused 124585 (delta 100083)
Réception d'objets: 100% (126334/126334), 42.54 Mio | 1.55 Mio/s, fait.
Résolution des deltas: 100% (101350/101350), fait.
Déjà sur 'next'
Votre branche est à jour avec 'origin/next'.
Déjà à jour.
CMAKE Build type: RelWithDebInfo
-- Setting build type to 'Dev' as none was specified.
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- 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/flightgear/dnc-managed/install/flightgear/fgdata
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- 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  
-- Found X11: /usr/include   
-- 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
-- libudev stable: 1
-- Found UDev: /usr/lib/x86_64-linux-gnu/libudev.so
--    include: /usr/include
-- event-based input enabled. Using /usr/lib/x86_64-linux-gnu/libudev.so
-- Enabling HID-API input
-- Checking for module 'dbus-1'
--   Found dbus-1, version 1.12.20
-- Checking for module 'libevent'
--   Found libevent, version 2.1.12-stable
-- SWIFT support enabled
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0")  
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
-- Found osgText: /home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgText.so  
-- Found osgSim: /home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgSim.so  
-- Found osgDB: /home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgDB.so  
-- Found osgParticle: /home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgParticle.so  
-- Found osgFX: /home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgFX.so  
-- Found osgUtil: /home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgUtil.so  
-- Found osgViewer: /home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgViewer.so  
-- Found osgGA: /home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgGA.so  
-- Found osg: /home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosg.so  
-- Found OpenThreads: /home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libOpenThreads.so  
-- Found OpenSceneGraph: /home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgText.so;/home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgSim.so;/home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgDB.so;/home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgParticle.so;/home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgFX.so;/home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgUtil.so;/home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgViewer.so;/home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosgGA.so;/home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libosg.so;/home/andre/flightgear/dnc-managed/install/openscenegraph/lib/libOpenThreads.so (found suitable version "3.6.5", minimum required is "3.4.1") 
-- Using explicitly defined translations from: /home/andre/flightgear/dnc-managed/install/flightgear/fgdata/Translations
-- Detected language files: ca;de;en_US;es;fr;it;nl;pl;pt;ru;sk;zh_CN
-- Wibble
-- Qt GUI enabled, found Qt at: /usr/lib/x86_64-linux-gnu/qt5
-- Looking for C++ include private/qopenglcontext_p.h
-- Looking for C++ include private/qopenglcontext_p.h - not found
-- QtGui private headers not available.
-- 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/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 2020.4.0
CMake Error at CMakeLists.txt:355 (find_package):
  Could not find a package configuration file provided by "SimGear"
  (requested version 2020.4.0) with any of the following names:

    SimGearConfig.cmake
    simgear-config.cmake

  Add the installation prefix of "SimGear" to CMAKE_PREFIX_PATH or set
  "SimGear_DIR" to a directory containing one of the above files.  If
  "SimGear" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
See also "/home/andre/flightgear/dnc-managed/build/flightgear/CMakeFiles/CMakeOutput.log".
See also "/home/andre/flightgear/dnc-managed/build/flightgear/CMakeFiles/CMakeError.log".
MAKE flightgear
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
INSTALL flightgear
make: *** Aucune règle pour fabriquer la cible « install ». Arrêt.
All optional package alternatives have found a matching package.

download_and_compile.sh has finished to work.
andre@debian:~/flightgear/dnc-managed$ 

Conflit avec la version de Simgear ?


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

Hors ligne

#6 26/01/2021 12:50:39

ctesc356
Membre
Inscription : 18/05/2010
Messages : 3 483

Re : Nouvelle erreur de compilation en next...

Bonjour,
que dit le log de compilation de simgear?

ps: voir s'il ne te manque pas "libzmla-dev".

Dernière modification par ctesc356 (26/01/2021 13:57:05)


Intel i5-9400F, 16Go Ram, Nvidia GTX1660Ti, Linux Mint

Hors ligne

#7 26/01/2021 15:20:42

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 3 015

Re : Nouvelle erreur de compilation en next...

Bien vu Ernest.

1) :

/home/andre/flightgear/dnc-managed/simgear/simgear/canvas/elements/CanvasElement.hxx:348:52:   required from ‘static simgear::canvas::Element::StyleSetter simgear::canvas::Element::addStyle(const string&, const string&, const std::function<void(Derived&, T2)>&, bool) [with T1 = const char*; T2 = const std::__cxx11::basic_string<char>&; Derived = simgear::canvas::Element; std::string = std::__cxx11::basic_string<char>]’
/home/andre/flightgear/dnc-managed/simgear/simgear/canvas/elements/CanvasElement.hxx:418:9:   required from ‘static simgear::canvas::Element::StyleSetter simgear::canvas::Element::addStyle(const string&, const string&, void (Derived::*)(const string&), bool) [with Derived = simgear::canvas::Element; std::string = std::__cxx11::basic_string<char>]’
/home/andre/flightgear/dnc-managed/simgear/simgear/canvas/elements/CanvasElement.cxx:721:50:   required from here
/home/andre/flightgear/dnc-managed/simgear/simgear/canvas/elements/CanvasElement.hxx:552:35: internal compiler error: Erreur de segmentation
  552 |                          std::bind(&getValue<T1>, std::placeholders::_2));
      |                          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
make[2]: *** [simgear/CMakeFiles/SimGearScene.dir/build.make:225 : simgear/CMakeFiles/SimGearScene.dir/canvas/elements/CanvasElement.cxx.o] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:1896 : simgear/CMakeFiles/SimGearScene.dir/all] Erreur 2
make: *** [Makefile:182 : all] Erreur 2 

2) pas de libzmla-dev ni installée ni même présente sur mon système.


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

Hors ligne

#8 26/01/2021 16:49:02

ctesc356
Membre
Inscription : 18/05/2010
Messages : 3 483

Re : Nouvelle erreur de compilation en next...

f-toro a écrit :

2) pas de libzmla-dev ni installée ni même présente sur mon système.

Oups... c'est liblzma-dev  p...ain de clavier wink


Intel i5-9400F, 16Go Ram, Nvidia GTX1660Ti, Linux Mint

Hors ligne

#9 26/01/2021 18:38:47

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 3 015

Re : Nouvelle erreur de compilation en next...

Oui il est installé.

De toutes manières le problème ne vient pas de là puisque l'erreur de compil de simgear semble bien venir aussi du bug de gcc si je comprends bien.


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

Hors ligne

#10 3/03/2021 15:12:20

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 3 015

Re : Nouvelle erreur de compilation en next...

A priori toujours aucune correction apportée au bug de GCC 10 rencontré par pas mal de gens comme le disait rominet.
Je n'ai vu passer depuis mon premier message aucune mise à jour de GCC 10 et il n'est toujours pas possible de compiler avec GCC 10.
Il faut toujours utiliser GCC 9.

Au passage, il n'y a toujours pas d'icônes dans le lanceur en testing.


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

Hors ligne

#11 23/03/2021 11:54:19

jano
Moderateur
Inscription : 13/11/2007
Messages : 963

Re : Nouvelle erreur de compilation en next...

Pareil en debian SID ici, j'ai du passer avec GCC 9, et ça roule, on testera le 10 à l'occasion smile

Hors ligne

#12 23/03/2021 18:12:29

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 3 015

Re : Nouvelle erreur de compilation en next...

jano a écrit :

Pareil en debian SID ici, j'ai du passer avec GCC 9, et ça roule, on testera le 10 à l'occasion smile

Je pense que je verrai passer la mise à jour de GCC10 (déjà attendue depuis 2 mois...), je testerai et j'informerai.

As-tu des icônes dans le lanceur en Sid ?


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

Hors ligne

#13 26/03/2021 1:25:44

jano
Moderateur
Inscription : 13/11/2007
Messages : 963

Re : Nouvelle erreur de compilation en next...

As-tu des icônes dans le lanceur en Sid ?

boaf, j'en sais absolument rien, j'ai jamais utilisé le lanceur smile, il se lance comment ????

Hors ligne

#14 26/03/2021 10:11:05

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 3 015

Re : Nouvelle erreur de compilation en next...

./run_fgfs.sh --launcher

Plus besoin de Fgrun ou autres, le lanceur est depuis quelque temps déjà intégré à FG.

Même si tu ne l'utilises pas, juste pour voir...


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

Hors ligne

#15 26/03/2021 23:17:26

jano
Moderateur
Inscription : 13/11/2007
Messages : 963

Re : Nouvelle erreur de compilation en next...

Oui je savais qu'il existait, mais vu que les avions que je vole se compte sur les doigts d'une main, et que j'ai un script qui va bien, jamais été tenté par le clickodrome.

du coup ici j'ai les icones, avec une compile de il y a 5 minutes (en gcc 9)

jano

Hors ligne

#16 14/04/2021 23:08:39

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 3 015

Re : Nouvelle erreur de compilation en next...

Passage en coup de vent avant d'aller dans les bras de morphée.
Il y a eu une mise à jour de gcc-10 en testing.
Pas le temps d'essayer si ça compile à nouveau.
J'essaierai dès que possible mais si ça intéresse quelqu’un de tester...


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

Hors ligne

#17 15/04/2021 10:15:01

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 3 015

Re : Nouvelle erreur de compilation en next...

Essai fait ce matin.
La compilation ne passe toujours pas, mais cette fois-ci l'erreur ne semble plus venir de gcc-10 .
La fin du log de simgear :

[ 12%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/ephemeris/ephemeris.cxx.o
[ 13%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/ephemeris/jupiter.cxx.o
[ 13%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/ephemeris/mars.cxx.o
In file included from /home/andre/flightgear/dnc-managed/simgear/simgear/emesary/ITransmitter.hxx:23,
                 from /home/andre/flightgear/dnc-managed/simgear/simgear/emesary/Emesary.hxx:30,
                 from /home/andre/flightgear/dnc-managed/simgear/simgear/emesary/Emesary.cxx:23:
/home/andre/flightgear/dnc-managed/simgear/simgear/structure/SGSharedPtr.hxx: In instantiation of ‘void SGSharedPtr<T>::reset() [with T = simgear::Emesary::IReceiver]’:
/home/andre/flightgear/dnc-managed/simgear/simgear/structure/SGSharedPtr.hxx:71:10:   required from ‘SGSharedPtr<T>::~SGSharedPtr() [with T = simgear::Emesary::IReceiver]’
/home/andre/flightgear/dnc-managed/simgear/simgear/emesary/Transmitter.hxx:184:43:   required from here
/home/andre/flightgear/dnc-managed/simgear/simgear/structure/SGSharedPtr.hxx:106:24: warning: deleting object of abstract class type ‘simgear::Emesary::IReceiver’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
  106 |   { if (!T::put(_ptr)) delete _ptr; _ptr = 0; }
      |                        ^~~~~~~~~~~
make[2]: *** [simgear/CMakeFiles/SimGearCore.dir/build.make:420 : simgear/CMakeFiles/SimGearCore.dir/emesary/Emesary.cxx.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
make[1]: *** [CMakeFiles/Makefile2:1928 : simgear/CMakeFiles/SimGearCore.dir/all] Erreur 2
make: *** [Makefile:182 : all] Erreur 2
INSTALL simgear
[  1%] Built target FGExpat
[  5%] Built target FGUdns
[  5%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/emesary/Emesary.cxx.o
In file included from /home/andre/flightgear/dnc-managed/simgear/simgear/emesary/Emesary.hxx:30,
                 from /home/andre/flightgear/dnc-managed/simgear/simgear/emesary/Emesary.cxx:23:
/home/andre/flightgear/dnc-managed/simgear/simgear/emesary/ITransmitter.hxx:50:17: error: ‘size_t’ does not name a type
   50 |         virtual size_t Count() const = 0;
      |                 ^~~~~~
/home/andre/flightgear/dnc-managed/simgear/simgear/emesary/ITransmitter.hxx:24:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
   23 | #include <simgear/structure/SGSharedPtr.hxx>
  +++ |+#include <cstddef>
   24 | namespace simgear
In file included from /home/andre/flightgear/dnc-managed/simgear/simgear/emesary/ITransmitter.hxx:23,
                 from /home/andre/flightgear/dnc-managed/simgear/simgear/emesary/Emesary.hxx:30,
                 from /home/andre/flightgear/dnc-managed/simgear/simgear/emesary/Emesary.cxx:23:
/home/andre/flightgear/dnc-managed/simgear/simgear/structure/SGSharedPtr.hxx: In instantiation of ‘void SGSharedPtr<T>::reset() [with T = simgear::Emesary::IReceiver]’:
/home/andre/flightgear/dnc-managed/simgear/simgear/structure/SGSharedPtr.hxx:71:10:   required from ‘SGSharedPtr<T>::~SGSharedPtr() [with T = simgear::Emesary::IReceiver]’
/home/andre/flightgear/dnc-managed/simgear/simgear/emesary/Transmitter.hxx:184:43:   required from here
/home/andre/flightgear/dnc-managed/simgear/simgear/structure/SGSharedPtr.hxx:106:24: warning: deleting object of abstract class type ‘simgear::Emesary::IReceiver’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
  106 |   { if (!T::put(_ptr)) delete _ptr; _ptr = 0; }
      |                        ^~~~~~~~~~~
make[2]: *** [simgear/CMakeFiles/SimGearCore.dir/build.make:420 : simgear/CMakeFiles/SimGearCore.dir/emesary/Emesary.cxx.o] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:1928 : simgear/CMakeFiles/SimGearCore.dir/all] Erreur 2
make: *** [Makefile:182 : all] Erreur 2 

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

Hors ligne

#18 15/04/2021 10:31:54

Clm76
Membre
Lieu : LFOH - LFOY
Inscription : 22/10/2012
Messages : 1 632

Re : Nouvelle erreur de compilation en next...

f-toro a écrit :

La compilation ne passe toujours pas, mais cette fois-ci l'erreur ne semble plus venir de gcc-10 .

Non, elle vient d'emesary. J'ai la même à la maison yikes


Fg 2020.4.0 - Linux Mint 21.3 Victoria - Cinnamon et Mate en dual boot - CM Asus P8H67 MLE - CPU i7 3770K - 12 Go Ram - Nvidia Geforce GTX 1660TI - Driver Nvidia 525
+ Hp notebook-15 - Linux Mint 21.3 Victoria -  CPU i3-7020u - Ram 4Go - Intel Graphics 620.

Hors ligne

#19 15/04/2021 14:21:10

dany93
Administrateur
Lieu : Région Parisienne
Inscription : 5/07/2009
Messages : 4 037

Re : Nouvelle erreur de compilation en next...

Bonjour,

Rapporté dans FGDevel list, et (si tout va bien) réparé par Erik.


FG 2020.4.0, Linux Mint 20.3, Intel Core i7-11700F @ 2.50GHz, RAM 32 GB DDR4, NVIDIA GeForce RTX 3060 (12 GB)
Boeing 787-8 (YASim, avec nickyivyca, aco)
Hangar avions Patten (PAF) Robin  DR400 JSBSim, Douglas DC3 JSBSim, CAP10B, Tecnam P92 JSBSim.

Hors ligne

#20 15/04/2021 22:39:13

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 3 015

Re : Nouvelle erreur de compilation en next...

Si c'est corrigé, je vais essayer de recompiler rapidement.
Mais pour ma comprenoire c'est quoi au juste emesary ?


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

Hors ligne

#21 15/04/2021 22:52:37

jano
Moderateur
Inscription : 13/11/2007
Messages : 963

Re : Nouvelle erreur de compilation en next...

c'est l'implémentation du pigeon voyageur dans FG, tu lui met un message aux pattes et il arrive chez un autre pilote discrètement.

De ce que j'en ai compris, c'est un moyen de s'échanger des infos entre avions discrètement, pour remplacer les messages des avions qui jouent à la guerre et dise je t'ai eu ou raté par le chat .
l'inconvénient est que ça doit être intégré à chaque avion, mais au moins on a la paix quand on croise des utilisateurs de bombable tongue

jano

Hors ligne

#22 16/04/2021 9:12:00

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 3 015

Re : Nouvelle erreur de compilation en next...

Merci jano, j'ai apprécié tes éclaircissements très amusants big_smile


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

Hors ligne

#23 16/04/2021 9:36:42

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 3 015

Re : Nouvelle erreur de compilation en next...

Ça ne passe toujours pas avec gcc-10.

INSTALL simgear
[  1%] Built target FGExpat
[  5%] Built target FGUdns
[ 41%] Built target SimGearCore
[ 41%] Building CXX object simgear/CMakeFiles/SimGearScene.dir/canvas/elements/CanvasElement.cxx.o
In file included from <command-line>:
/usr/include/stdc-predef.h: In substitution of ‘template<class _Result, class _Func, class ... _BoundArgs> typename std::_Bindres_helper<_Result, _Func, _BoundArgs>::type std::bind(_Func&&, _BoundArgs&& ...) [with _Result = <missing>; _Func = <missing>; _BoundArgs = <missing>]’:
/home/andre/flightgear/dnc-managed/simgear/simgear/canvas/elements/CanvasElement.hxx:552:35:   required from ‘static simgear::canvas::Element::StyleSetterFuncUnchecked simgear::canvas::Element::bindStyleSetter(const string&, const std::function<void(Derived&, T2)>&) [with T1 = const char*; T2 = const std::__cxx11::basic_string<char>&; Derived = simgear::canvas::Element; simgear::canvas::Element::StyleSetterFuncUnchecked = std::function<void(simgear::canvas::Element&, const SGPropertyNode*)>; std::string = std::__cxx11::basic_string<char>]’
/home/andre/flightgear/dnc-managed/simgear/simgear/canvas/elements/CanvasElement.hxx:348:52:   required from ‘static simgear::canvas::Element::StyleSetter simgear::canvas::Element::addStyle(const string&, const string&, const std::function<void(Derived&, T2)>&, bool) [with T1 = const char*; T2 = const std::__cxx11::basic_string<char>&; Derived = simgear::canvas::Element; std::string = std::__cxx11::basic_string<char>]’
/home/andre/flightgear/dnc-managed/simgear/simgear/canvas/elements/CanvasElement.hxx:418:9:   required from ‘static simgear::canvas::Element::StyleSetter simgear::canvas::Element::addStyle(const string&, const string&, void (Derived::*)(const string&), bool) [with Derived = simgear::canvas::Element; std::string = std::__cxx11::basic_string<char>]’
/home/andre/flightgear/dnc-managed/simgear/simgear/canvas/elements/CanvasElement.cxx:721:50:   required from here
/usr/include/stdc-predef.h:32:89: internal compiler error: Erreur de segmentation
   32 |    whether the overall intent is to support these features; otherwise,
      |                                                                                         ^                         
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
make[2]: *** [simgear/CMakeFiles/SimGearScene.dir/build.make:225 : simgear/CMakeFiles/SimGearScene.dir/canvas/elements/CanvasElement.cxx.o] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:1900 : simgear/CMakeFiles/SimGearScene.dir/all] Erreur 2
make: *** [Makefile:182 : all] Erreur 2 

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

Hors ligne

#24 16/04/2021 10:51:35

Clm76
Membre
Lieu : LFOH - LFOY
Inscription : 22/10/2012
Messages : 1 632

Re : Nouvelle erreur de compilation en next...

f-toro a écrit :

Ça ne passe toujours pas avec gcc-10.

Depuis qu'emesary a été réparé, ça passe sans problème sous Mint.


Fg 2020.4.0 - Linux Mint 21.3 Victoria - Cinnamon et Mate en dual boot - CM Asus P8H67 MLE - CPU i7 3770K - 12 Go Ram - Nvidia Geforce GTX 1660TI - Driver Nvidia 525
+ Hp notebook-15 - Linux Mint 21.3 Victoria -  CPU i3-7020u - Ram 4Go - Intel Graphics 620.

Hors ligne

#25 16/04/2021 13:21:15

f-toro
Administrateur
Lieu : LFLA
Inscription : 16/12/2007
Messages : 3 015

Re : Nouvelle erreur de compilation en next...

Oui, mais avec quelle version de gcc ?


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

Hors ligne

Pied de page des forums