tuto compilation de FlightGear et textures photoréalistes
scindé de flightgear
Logiciels / Jeux et Plateforme Steam

gerard-ll Membre non connecté
-
- Voir le profil du membre gerard-ll
- Inscrit le : 09/12/2011
- Groupes :
Reprise du message précédent
Et je crois que ces fichiers ou répertoires là ne servent à rien :Code TEXT :
FlightGear-2020.4.0-nightly-full.dmg flightgear-fgdata-81af0f37c23b7a0612adb294e7a53044c3f6c9a8.zip flightgear-fgdata-81af0f37c23b7a0612adb294e7a53044c3f6c9a8.zip.part
Tiens j'va les virer pour voir...

Édité par gerard-ll Le 15/08/2021 à 14h30
Pal mal Mageia!
@+
Gérard
@+
Gérard

gerard-ll Membre non connecté
-
- Voir le profil du membre gerard-ll
- Inscrit le : 09/12/2011
- Groupes :
Helijah :
[Salut à toi et bon retour parmi nous.... et non par minou miaaaouuuuu

Pal mal Mageia!
@+
Gérard
@+
Gérard

gerard-ll Membre non connecté
-
- Voir le profil du membre gerard-ll
- Inscrit le : 09/12/2011
- Groupes :
Code TEXT :
Page 4 of 4 X11_xcb_xfixes_LIB /usr/lib64/libxcb-xfixes.so sentry_DIR sentry_DIR-NOTFOUND
Et je n'ai pas eu à faire ça :
Helijah :
Ton soucis m'est inconnu.... par contre ne pas oublier de modifier l'include de Simgear comme je l'ai indiqué plus avant pour gdal car dans le fichier il appelle gdal au lieu de gdal/gdal.....et du coup ne le trouve pas
Bizarre que je n'ai pas eu à m'occuper de gdal!?!
Édité par gerard-ll Le 15/08/2021 à 14h40
Pal mal Mageia!
@+
Gérard
@+
Gérard

zatox Membre non connecté
-
- Voir le profil du membre zatox
- Inscrit le : 27/09/2011
- Groupes :
gerard-ll :
C'est drôle un zip tout court sans nom devant!?
C'est un dossier que j'avais créé pour recevoir tous les fichiers zip mais après je les ai dézippés dans le dossier [robert@localhost flightgear-2020-4-0]$, c'était juste pour ne pas tout mélanger les zip et lzs pas zip. Bref, comme me l'a dit Helijah, je recommence la manip de la façon suivante:
j'envoie les git clone dans le dossier [robert@localhost flightgear-2020-4-0]$.
Actuellement ça se présente comme ça:
Caché :
[robert@localhost flightgear-2020-4-0]$ ls -l
total 12
drwxr-xr-x 14 robert robert 4096 août 15 14:18 flightgear-flightgear/
drwxr-xr-x 4 robert robert 4096 août 15 14:30 flightgear-photoscenery/
drwxr-xr-x 6 robert robert 4096 août 15 14:14 flightgear-simgear/
[robert@localhost flightgear-2020-4-0]$
total 12
drwxr-xr-x 14 robert robert 4096 août 15 14:18 flightgear-flightgear/
drwxr-xr-x 4 robert robert 4096 août 15 14:30 flightgear-photoscenery/
drwxr-xr-x 6 robert robert 4096 août 15 14:14 flightgear-simgear/
[robert@localhost flightgear-2020-4-0]$
après les git clone.
Par contre j'ai un problème concernant les datas voici ce qu'il me dit:
Caché :
robert@localhost flightgear-2020-4-0]$ git clone https://git.code.sf.net/p/flightgear/fgdata flightgear-fgdata
Clonage dans 'flightgear-fgdata'...
remote: Enumerating objects: 79311, done.
remote: Counting objects: 100% (79311/79311), done.
remote: Compressing objects: 100% (31688/31688), done.
error: échec RPC ; curl 18 transfer closed with outstanding read data remaining
fetch-pack: unexpected disconnect while reading sideband packet
fatal: fin de fichier prématurée
fatal: échec de index-pack
[robert@localhost flightgear-2020-4-0]$
Clonage dans 'flightgear-fgdata'...
remote: Enumerating objects: 79311, done.
remote: Counting objects: 100% (79311/79311), done.
remote: Compressing objects: 100% (31688/31688), done.
error: échec RPC ; curl 18 transfer closed with outstanding read data remaining
fetch-pack: unexpected disconnect while reading sideband packet
fatal: fin de fichier prématurée
fatal: échec de index-pack
[robert@localhost flightgear-2020-4-0]$
Bon je ne sais pas pourquoi, il semble qu'il y ait une fermeture intempestive !!!
J'ai les datas que j'avais decendues par zip, je vais mettre le dossier dans [robert@localhost flightgear-2020-4-0]$
et je recommence les ccmake ... à plus tard pour les résultats ou les demandes d'aide


Carte mère Gigabyte B650 AORUS ELITE AX V1.0 WiFi
Processeur AMD® 8 coeurs RYZEN 7 - 7700X (sans ventirad)
(2) Mémoire de 16 Go DDR5 @ 5600 MHz CL46 Crucial PRO
Carte video RX 7700 XT PULSE, SAPPHIRE®, 12 Go DDR6x
Disque SSD 2 To Gen.4 NVMe Samsung M.2 990 PRO
Carte réseau AMD® M.2 WI-FI 6E RZ616
Processeur AMD® 8 coeurs RYZEN 7 - 7700X (sans ventirad)
(2) Mémoire de 16 Go DDR5 @ 5600 MHz CL46 Crucial PRO
Carte video RX 7700 XT PULSE, SAPPHIRE®, 12 Go DDR6x
Disque SSD 2 To Gen.4 NVMe Samsung M.2 990 PRO
Carte réseau AMD® M.2 WI-FI 6E RZ616

Helijah Membre non connecté
-
- Voir le profil du membre Helijah
- Inscrit le : 02/05/2011
- Site internet
- Groupes :
gerard-ll :
Et je crois que ces fichiers ou répertoires là ne servent à rien :
Tiens j'va les virer pour voir...
Code TEXT :
FlightGear-2020.4.0-nightly-full.dmg flightgear-fgdata-81af0f37c23b7a0612adb294e7a53044c3f6c9a8.zip flightgear-fgdata-81af0f37c23b7a0612adb294e7a53044c3f6c9a8.zip.part
Tiens j'va les virer pour voir...

Oh en effet. le .dmg est fait pour MAC....que fait il là ?
le zip.part est en fait le zip de la ligne précédente en cours de téléchargement. Donc une partie du zip qui n'est pas totalement téléchargé

Du coup le .zip ne doit pas avoir une taille de fichier fantastique...Genre 48 o ou 64 o ou un, truc dans le genre. L'entête d'un zip mais vide

Amicalement Emmanuel
Quelques avions pour agrémenter votre FlightGear : Mon Hangar
Un forum pour l'amélioration et/ou la création d'avions : Forum de création
Un forum pour l'amélioration et/ou la création d'avions : Forum de création

zatox Membre non connecté
-
- Voir le profil du membre zatox
- Inscrit le : 27/09/2011
- Groupes :
ccmake . -> c -> g -> gmake -> su -> gmake install
dans le dossier: home/robert/flightgear-2020-4-0/flightgear-simgear
pas de problème, ça a marché.
Par contre même commande dans le dossier: /home/robert/flightgear-2020-4-0/flightgear-flightgear
voici le résultat de la configuration:
Caché :
CMake Error at src/GUI/CMakeLists.txt:165 (add_library):
Target "fgqmlui" links to target "Qt5::Quick" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/GUI/CMakeLists.txt:165 (add_library):
Target "fgqmlui" links to target "Qt5::Network" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at src/GUI/CMakeLists.txt:165 (add_library):
Target "fgqmlui" links to target "Qt5::Qml" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/GUI/CMakeLists.txt:79 (add_library):
Target "fglauncher" links to target "Qt5::Network" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at src/GUI/CMakeLists.txt:79 (add_library):
Target "fglauncher" links to target "Qt5::Qml" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at src/GUI/CMakeLists.txt:79 (add_library):
Target "fglauncher" links to target "Qt5::Quick" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at src/Main/CMakeLists.txt:78 (add_executable):
Target "fgfs" links to target "Qt5::Network" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/Main/CMakeLists.txt:78 (add_executable):
Target "fgfs" links to target "Qt5::Qml" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/Main/CMakeLists.txt:78 (add_executable):
Target "fgfs" links to target "Qt5::Quick" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/Main/CMakeLists.txt:78 (add_executable):
Target "fgfs" links to target "Qt5::Quick" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/Main/CMakeLists.txt:78 (add_executable):
Target "fgfs" links to target "Qt5::Network" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/Main/CMakeLists.txt:78 (add_executable):
Target "fgfs" links to target "Qt5::Qml" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at test_suite/CMakeLists.txt:122 (add_executable):
Target "fgfs_test_suite" links to target "Qt5::Network" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at test_suite/CMakeLists.txt:122 (add_executable):
Target "fgfs_test_suite" links to target "Qt5::Qml" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at test_suite/CMakeLists.txt:122 (add_executable):
Target "fgfs_test_suite" links to target "Qt5::Quick" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at test_suite/CMakeLists.txt:122 (add_executable):
Target "fgfs_test_suite" links to target "Qt5::Quick" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at test_suite/CMakeLists.txt:122 (add_executable):
Target "fgfs_test_suite" links to target "Qt5::Network" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at test_suite/CMakeLists.txt:122 (add_executable):
Target "fgfs_test_suite" links to target "Qt5::Qml" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Generating done
Target "fgqmlui" links to target "Qt5::Quick" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/GUI/CMakeLists.txt:165 (add_library):
Target "fgqmlui" links to target "Qt5::Network" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at src/GUI/CMakeLists.txt:165 (add_library):
Target "fgqmlui" links to target "Qt5::Qml" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/GUI/CMakeLists.txt:79 (add_library):
Target "fglauncher" links to target "Qt5::Network" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at src/GUI/CMakeLists.txt:79 (add_library):
Target "fglauncher" links to target "Qt5::Qml" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at src/GUI/CMakeLists.txt:79 (add_library):
Target "fglauncher" links to target "Qt5::Quick" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at src/Main/CMakeLists.txt:78 (add_executable):
Target "fgfs" links to target "Qt5::Network" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/Main/CMakeLists.txt:78 (add_executable):
Target "fgfs" links to target "Qt5::Qml" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/Main/CMakeLists.txt:78 (add_executable):
Target "fgfs" links to target "Qt5::Quick" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/Main/CMakeLists.txt:78 (add_executable):
Target "fgfs" links to target "Qt5::Quick" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/Main/CMakeLists.txt:78 (add_executable):
Target "fgfs" links to target "Qt5::Network" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at src/Main/CMakeLists.txt:78 (add_executable):
Target "fgfs" links to target "Qt5::Qml" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at test_suite/CMakeLists.txt:122 (add_executable):
Target "fgfs_test_suite" links to target "Qt5::Network" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at test_suite/CMakeLists.txt:122 (add_executable):
Target "fgfs_test_suite" links to target "Qt5::Qml" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at test_suite/CMakeLists.txt:122 (add_executable):
Target "fgfs_test_suite" links to target "Qt5::Quick" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at test_suite/CMakeLists.txt:122 (add_executable):
Target "fgfs_test_suite" links to target "Qt5::Quick" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at test_suite/CMakeLists.txt:122 (add_executable):
Target "fgfs_test_suite" links to target "Qt5::Network" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at test_suite/CMakeLists.txt:122 (add_executable):
Target "fgfs_test_suite" links to target "Qt5::Qml" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Generating done
Je vois beaucoup de problèmes avec Qt5, je dois oublier quelquechose de primordial mais je ne sais pas quoi !!!
Si vous avez une idée ? ... elle sera la bienvenue

Carte mère Gigabyte B650 AORUS ELITE AX V1.0 WiFi
Processeur AMD® 8 coeurs RYZEN 7 - 7700X (sans ventirad)
(2) Mémoire de 16 Go DDR5 @ 5600 MHz CL46 Crucial PRO
Carte video RX 7700 XT PULSE, SAPPHIRE®, 12 Go DDR6x
Disque SSD 2 To Gen.4 NVMe Samsung M.2 990 PRO
Carte réseau AMD® M.2 WI-FI 6E RZ616
Processeur AMD® 8 coeurs RYZEN 7 - 7700X (sans ventirad)
(2) Mémoire de 16 Go DDR5 @ 5600 MHz CL46 Crucial PRO
Carte video RX 7700 XT PULSE, SAPPHIRE®, 12 Go DDR6x
Disque SSD 2 To Gen.4 NVMe Samsung M.2 990 PRO
Carte réseau AMD® M.2 WI-FI 6E RZ616

gerard-ll Membre non connecté
-
- Voir le profil du membre gerard-ll
- Inscrit le : 09/12/2011
- Groupes :
Helijah :
Oh en effet. le .dmg est fait pour MAC....que fait il là ?
Ah ben moi quand je télécharge, je télécharge!

Ceci dit, tout doit être téléchargé car tout fonctionne.

Edit : En plus je les ai viré, et ça fonctionne quand même.

Édité par gerard-ll Le 15/08/2021 à 16h03
Pal mal Mageia!
@+
Gérard
@+
Gérard

gerard-ll Membre non connecté
-
- Voir le profil du membre gerard-ll
- Inscrit le : 09/12/2011
- Groupes :
zatox :
Me revoilà, pour la procédure
ccmake . -> c -> g -> gmake -> su -> gmake install
dans le dossier: home/robert/flightgear-2020-4-0/flightgear-simgear
pas de problème, ça a marché.
ccmake . -> c -> g -> gmake -> su -> gmake install
dans le dossier: home/robert/flightgear-2020-4-0/flightgear-simgear
pas de problème, ça a marché.
Ah c'est déjà ça, comme dirait Souchon.

Je lis le reste pour voir si à mon niveau je vois des trucs qui clochent...
Pal mal Mageia!
@+
Gérard
@+
Gérard

gerard-ll Membre non connecté
-
- Voir le profil du membre gerard-ll
- Inscrit le : 09/12/2011
- Groupes :
Code TEXT :
Target "fgqmlui" links to target "Qt5::Quick" but the target was not found.
Une sombre histoire de target qui t'arrive à cette heure là.
![:] :]](/images/smileys/8.gif)

Faut trouver ce qui cloche.
Pal mal Mageia!
@+
Gérard
@+
Gérard

gerard-ll Membre non connecté
-
- Voir le profil du membre gerard-ll
- Inscrit le : 09/12/2011
- Groupes :
"If CMake outputs the following warning you need to install qtdeclarative5-dev
Target "fgqmlui" links to target "Qt5::Quick" but the target was not found."
Faut installer qtdeclarative5-dev, que ça à l'air de dire...
Edit : il te manque des .dev à télécharger, visiblement.
Édité par gerard-ll Le 15/08/2021 à 16h09
Pal mal Mageia!
@+
Gérard
@+
Gérard

zatox Membre non connecté
-
- Voir le profil du membre zatox
- Inscrit le : 27/09/2011
- Groupes :
gerard-ll :
Une sombre histoire de target qui t'arrive à cette heure là.

Faut trouver ce qui cloche.
![:] :]](/images/smileys/8.gif)

Faut trouver ce qui cloche.
Vouiiiiiiiiiiiiii il trouve pas mes target

Voici ce que dit le fichier /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeError.log :
Caché :
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_e25a3/fast && /usr/bin/gmake -f CMakeFiles/cmTC_e25a3.dir/build.make CMakeFiles/cmTC_e25a3.dir/build
gmake[1] : on entre dans le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_e25a3.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_e25a3.dir/src.c.o -c /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_e25a3
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e25a3.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_e25a3.dir/src.c.o -o cmTC_e25a3
/usr/bin/ld : CMakeFiles/cmTC_e25a3.dir/src.c.o : dans la fonction « main » :
src.c:(.text+0x2d) : référence indéfinie vers « pthread_create »
/usr/bin/ld : src.c:(.text+0x39) : référence indéfinie vers « pthread_detach »
/usr/bin/ld : src.c:(.text+0x45) : référence indéfinie vers « pthread_cancel »
/usr/bin/ld : src.c:(.text+0x56) : référence indéfinie vers « pthread_join »
collect2: erreur: ld a retourné le statut de sortie 1
gmake[1]: *** [CMakeFiles/cmTC_e25a3.dir/build.make:106 : cmTC_e25a3] Erreur 1
gmake[1] : on quitte le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
gmake: *** [Makefile:140 : cmTC_e25a3/fast] Erreur 2
Source file was:
#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_c7fc6/fast && /usr/bin/gmake -f CMakeFiles/cmTC_c7fc6.dir/build.make CMakeFiles/cmTC_c7fc6.dir/build
gmake[1] : on entre dans le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_c7fc6.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_c7fc6.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_c7fc6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c7fc6.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_c7fc6.dir/CheckFunctionExists.c.o -o cmTC_c7fc6 -lpthreads
/usr/bin/ld : ne peut trouver -lpthreads
collect2: erreur: ld a retourné le statut de sortie 1
gmake[1]: *** [CMakeFiles/cmTC_c7fc6.dir/build.make:106 : cmTC_c7fc6] Erreur 1
gmake[1] : on quitte le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
gmake: *** [Makefile:140 : cmTC_c7fc6/fast] Erreur 2
Determining if the include file private/qopenglcontext_p.h exists failed with the following output:
Change Dir: /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_0b51b/fast && /usr/bin/gmake -f CMakeFiles/cmTC_0b51b.dir/build.make CMakeFiles/cmTC_0b51b.dir/build
gmake[1] : on entre dans le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
Building CXX object CMakeFiles/cmTC_0b51b.dir/CheckIncludeFile.cxx.o
/usr/bin/c++ -I/usr/include/qt5/QtGui/5.15.2 -I/usr/include/qt5/QtGui/5.15.2/QtGui -I/usr/include/qt5/QtCore/5.15.2 -I/usr/include/qt5/QtCore/5.15.2/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -std=gnu++17 -o CMakeFiles/cmTC_0b51b.dir/CheckIncludeFile.cxx.o -c /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Dans le fichier inclus depuis /usr/include/qt5/QtGui/qtguiglobal.h:43,
depuis /usr/include/qt5/QtGui/5.15.2/QtGui/private/qtguiglobal_p.h:54,
depuis /usr/include/qt5/QtGui/5.15.2/QtGui/private/qopenglcontext_p.h:54,
depuis /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:
/usr/include/qt5/QtCore/qglobal.h:1286:4: erreur: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (and not with -fPIE)."
1286 | # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
| ^~~~~
gmake[1]: *** [CMakeFiles/cmTC_0b51b.dir/build.make:85 : CMakeFiles/cmTC_0b51b.dir/CheckIncludeFile.cxx.o] Erreur 1
gmake[1] : on quitte le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
gmake: *** [Makefile:140 : cmTC_0b51b/fast] Erreur 2
Determining if the include file windows.h exists failed with the following output:
Change Dir: /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_a369a/fast && /usr/bin/gmake -f CMakeFiles/cmTC_a369a.dir/build.make CMakeFiles/cmTC_a369a.dir/build
gmake[1] : on entre dans le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_a369a.dir/CheckIncludeFile.c.o
/usr/bin/cc -I/usr/include/qt5/QtGui/5.15.2 -I/usr/include/qt5/QtGui/5.15.2/QtGui -I/usr/include/qt5/QtCore/5.15.2 -I/usr/include/qt5/QtCore/5.15.2/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize -Wall -D_REENTRANT -fPIE -o CMakeFiles/cmTC_a369a.dir/CheckIncludeFile.c.o -c /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: erreur fatale: windows.h : Aucun fichier ou dossier de ce type
1 | #include <windows.h>
| ^~~~~~~~~~~
compilation terminée.
gmake[1]: *** [CMakeFiles/cmTC_a369a.dir/build.make:85 : CMakeFiles/cmTC_a369a.dir/CheckIncludeFile.c.o] Erreur 1
gmake[1] : on quitte le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
gmake: *** [Makefile:140 : cmTC_a369a/fast] Erreur 2
Change Dir: /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_e25a3/fast && /usr/bin/gmake -f CMakeFiles/cmTC_e25a3.dir/build.make CMakeFiles/cmTC_e25a3.dir/build
gmake[1] : on entre dans le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_e25a3.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_e25a3.dir/src.c.o -c /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_e25a3
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e25a3.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_e25a3.dir/src.c.o -o cmTC_e25a3
/usr/bin/ld : CMakeFiles/cmTC_e25a3.dir/src.c.o : dans la fonction « main » :
src.c:(.text+0x2d) : référence indéfinie vers « pthread_create »
/usr/bin/ld : src.c:(.text+0x39) : référence indéfinie vers « pthread_detach »
/usr/bin/ld : src.c:(.text+0x45) : référence indéfinie vers « pthread_cancel »
/usr/bin/ld : src.c:(.text+0x56) : référence indéfinie vers « pthread_join »
collect2: erreur: ld a retourné le statut de sortie 1
gmake[1]: *** [CMakeFiles/cmTC_e25a3.dir/build.make:106 : cmTC_e25a3] Erreur 1
gmake[1] : on quitte le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
gmake: *** [Makefile:140 : cmTC_e25a3/fast] Erreur 2
Source file was:
#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_c7fc6/fast && /usr/bin/gmake -f CMakeFiles/cmTC_c7fc6.dir/build.make CMakeFiles/cmTC_c7fc6.dir/build
gmake[1] : on entre dans le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_c7fc6.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_c7fc6.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_c7fc6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c7fc6.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_c7fc6.dir/CheckFunctionExists.c.o -o cmTC_c7fc6 -lpthreads
/usr/bin/ld : ne peut trouver -lpthreads
collect2: erreur: ld a retourné le statut de sortie 1
gmake[1]: *** [CMakeFiles/cmTC_c7fc6.dir/build.make:106 : cmTC_c7fc6] Erreur 1
gmake[1] : on quitte le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
gmake: *** [Makefile:140 : cmTC_c7fc6/fast] Erreur 2
Determining if the include file private/qopenglcontext_p.h exists failed with the following output:
Change Dir: /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_0b51b/fast && /usr/bin/gmake -f CMakeFiles/cmTC_0b51b.dir/build.make CMakeFiles/cmTC_0b51b.dir/build
gmake[1] : on entre dans le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
Building CXX object CMakeFiles/cmTC_0b51b.dir/CheckIncludeFile.cxx.o
/usr/bin/c++ -I/usr/include/qt5/QtGui/5.15.2 -I/usr/include/qt5/QtGui/5.15.2/QtGui -I/usr/include/qt5/QtCore/5.15.2 -I/usr/include/qt5/QtCore/5.15.2/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -std=gnu++17 -o CMakeFiles/cmTC_0b51b.dir/CheckIncludeFile.cxx.o -c /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Dans le fichier inclus depuis /usr/include/qt5/QtGui/qtguiglobal.h:43,
depuis /usr/include/qt5/QtGui/5.15.2/QtGui/private/qtguiglobal_p.h:54,
depuis /usr/include/qt5/QtGui/5.15.2/QtGui/private/qopenglcontext_p.h:54,
depuis /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:
/usr/include/qt5/QtCore/qglobal.h:1286:4: erreur: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (and not with -fPIE)."
1286 | # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
| ^~~~~
gmake[1]: *** [CMakeFiles/cmTC_0b51b.dir/build.make:85 : CMakeFiles/cmTC_0b51b.dir/CheckIncludeFile.cxx.o] Erreur 1
gmake[1] : on quitte le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
gmake: *** [Makefile:140 : cmTC_0b51b/fast] Erreur 2
Determining if the include file windows.h exists failed with the following output:
Change Dir: /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_a369a/fast && /usr/bin/gmake -f CMakeFiles/cmTC_a369a.dir/build.make CMakeFiles/cmTC_a369a.dir/build
gmake[1] : on entre dans le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_a369a.dir/CheckIncludeFile.c.o
/usr/bin/cc -I/usr/include/qt5/QtGui/5.15.2 -I/usr/include/qt5/QtGui/5.15.2/QtGui -I/usr/include/qt5/QtCore/5.15.2 -I/usr/include/qt5/QtCore/5.15.2/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize -Wall -D_REENTRANT -fPIE -o CMakeFiles/cmTC_a369a.dir/CheckIncludeFile.c.o -c /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: erreur fatale: windows.h : Aucun fichier ou dossier de ce type
1 | #include <windows.h>
| ^~~~~~~~~~~
compilation terminée.
gmake[1]: *** [CMakeFiles/cmTC_a369a.dir/build.make:85 : CMakeFiles/cmTC_a369a.dir/CheckIncludeFile.c.o] Erreur 1
gmake[1] : on quitte le répertoire « /home/robert/flightgear-2020-4-0/flightgear-flightgear/CMakeFiles/CMakeTmp »
gmake: *** [Makefile:140 : cmTC_a369a/fast] Erreur 2
Perso ça ne m'en dit pas beaucoup plus ...

Carte mère Gigabyte B650 AORUS ELITE AX V1.0 WiFi
Processeur AMD® 8 coeurs RYZEN 7 - 7700X (sans ventirad)
(2) Mémoire de 16 Go DDR5 @ 5600 MHz CL46 Crucial PRO
Carte video RX 7700 XT PULSE, SAPPHIRE®, 12 Go DDR6x
Disque SSD 2 To Gen.4 NVMe Samsung M.2 990 PRO
Carte réseau AMD® M.2 WI-FI 6E RZ616
Processeur AMD® 8 coeurs RYZEN 7 - 7700X (sans ventirad)
(2) Mémoire de 16 Go DDR5 @ 5600 MHz CL46 Crucial PRO
Carte video RX 7700 XT PULSE, SAPPHIRE®, 12 Go DDR6x
Disque SSD 2 To Gen.4 NVMe Samsung M.2 990 PRO
Carte réseau AMD® M.2 WI-FI 6E RZ616

gerard-ll Membre non connecté
-
- Voir le profil du membre gerard-ll
- Inscrit le : 09/12/2011
- Groupes :
Edit : dans les dépôts...
Édité par gerard-ll Le 15/08/2021 à 16h22
Pal mal Mageia!
@+
Gérard
@+
Gérard

gerard-ll Membre non connecté
-
- Voir le profil du membre gerard-ll
- Inscrit le : 09/12/2011
- Groupes :
Pal mal Mageia!
@+
Gérard
@+
Gérard

zatox Membre non connecté
-
- Voir le profil du membre zatox
- Inscrit le : 27/09/2011
- Groupes :
Helijah :
ccmake .
puis dans l'interface ASCII de ccmake
c
puis e pour revenir au menu principal puis g
La normalement si tout est bon retour au prompt
et là gmake
à la fin de la compilation
su
(mot de passe root)
puis gmake install
Ca pour simgear d'abord,
Retour en mode utilisateur
puis la même chose pour Flightgear bien sur....avec une remarque que je ferais. En root dans le fichier
usr/local/include/simgear/scene/dem/SGDEMTile.hxx
on trouve
#include <gdal.h>
#include <gdal_priv.h>
J'ai du ajouter le nom du dossier de gdal pour que FG se compile
#include <gdal/gdal.h>
#include <gdal/gdal_priv.h>
puis dans l'interface ASCII de ccmake
c
puis e pour revenir au menu principal puis g
La normalement si tout est bon retour au prompt
et là gmake
à la fin de la compilation
su
(mot de passe root)
puis gmake install
Ca pour simgear d'abord,
Retour en mode utilisateur
puis la même chose pour Flightgear bien sur....avec une remarque que je ferais. En root dans le fichier
usr/local/include/simgear/scene/dem/SGDEMTile.hxx
on trouve
#include <gdal.h>
#include <gdal_priv.h>
J'ai du ajouter le nom du dossier de gdal pour que FG se compile
#include <gdal/gdal.h>
#include <gdal/gdal_priv.h>
Pour ma part je n'ai pas ça, j'ai ceci:
Caché :
/usr/local/include/simgear/scene
[root@localhost scene]# ls -l
total 28
drwxr-xr-x 2 root root 4096 août 15 15:15 material/
drwxr-xr-x 2 root root 4096 août 15 15:15 model/
drwxr-xr-x 2 root root 4096 août 15 15:15 sky/
drwxr-xr-x 2 root root 4096 août 15 15:15 tgdb/
drwxr-xr-x 2 root root 4096 août 15 15:15 tsync/
drwxr-xr-x 2 root root 4096 août 15 15:15 util/
drwxr-xr-x 2 root root 4096 août 15 15:15 viewer/
[root@localhost scene]#
[root@localhost scene]# ls -l
total 28
drwxr-xr-x 2 root root 4096 août 15 15:15 material/
drwxr-xr-x 2 root root 4096 août 15 15:15 model/
drwxr-xr-x 2 root root 4096 août 15 15:15 sky/
drwxr-xr-x 2 root root 4096 août 15 15:15 tgdb/
drwxr-xr-x 2 root root 4096 août 15 15:15 tsync/
drwxr-xr-x 2 root root 4096 août 15 15:15 util/
drwxr-xr-x 2 root root 4096 août 15 15:15 viewer/
[root@localhost scene]#
Je m'arrête au dossier scene dessous je n'ai pas le dossier dem ... peut-être que SGDEMTile.hxx se trouve dans un autre dossier, je regarde.
gerard-ll :
Eh ben ce n'est pas ce truc là à télécharger. : "qtdeclarative5-dev" ?
Edit : dans les dépôts...
Edit : dans les dépôts...
Je n'ai pas ça dans les dépôts, j'ai
qtdeclarative5
ça oui et c'est coché donc présent dans le système mais pas avec -dev ... inexistant chez moi, tu es sûr que tu as ça dans les dépôts gerard-ll ?.

Édité par zatox Le 15/08/2021 à 16h39
Carte mère Gigabyte B650 AORUS ELITE AX V1.0 WiFi
Processeur AMD® 8 coeurs RYZEN 7 - 7700X (sans ventirad)
(2) Mémoire de 16 Go DDR5 @ 5600 MHz CL46 Crucial PRO
Carte video RX 7700 XT PULSE, SAPPHIRE®, 12 Go DDR6x
Disque SSD 2 To Gen.4 NVMe Samsung M.2 990 PRO
Carte réseau AMD® M.2 WI-FI 6E RZ616
Processeur AMD® 8 coeurs RYZEN 7 - 7700X (sans ventirad)
(2) Mémoire de 16 Go DDR5 @ 5600 MHz CL46 Crucial PRO
Carte video RX 7700 XT PULSE, SAPPHIRE®, 12 Go DDR6x
Disque SSD 2 To Gen.4 NVMe Samsung M.2 990 PRO
Carte réseau AMD® M.2 WI-FI 6E RZ616

zatox Membre non connecté
-
- Voir le profil du membre zatox
- Inscrit le : 27/09/2011
- Groupes :
usr/local/include/simgear/scene/dem/SGDEMTile.hxx
chez moi c'est:
/home/robert/flightgear-2020-4-0/flightgear-simgear/simgear/scene/dem/SGDemTile.hxx
est-ce que je dois faire la modification que tu dis à savoir que je trouve bien dans ce fichier:
#include <gdal.h>
#include <gdal_priv.h>
dois-je remplacer par
#include <gdal/gdal.h>
#include <gdal/gdal_priv.h>
Bon je ne risque rien de faire cette modification quitte à revenir en arrière ensuite.

Édité par zatox Le 15/08/2021 à 16h52
Carte mère Gigabyte B650 AORUS ELITE AX V1.0 WiFi
Processeur AMD® 8 coeurs RYZEN 7 - 7700X (sans ventirad)
(2) Mémoire de 16 Go DDR5 @ 5600 MHz CL46 Crucial PRO
Carte video RX 7700 XT PULSE, SAPPHIRE®, 12 Go DDR6x
Disque SSD 2 To Gen.4 NVMe Samsung M.2 990 PRO
Carte réseau AMD® M.2 WI-FI 6E RZ616
Processeur AMD® 8 coeurs RYZEN 7 - 7700X (sans ventirad)
(2) Mémoire de 16 Go DDR5 @ 5600 MHz CL46 Crucial PRO
Carte video RX 7700 XT PULSE, SAPPHIRE®, 12 Go DDR6x
Disque SSD 2 To Gen.4 NVMe Samsung M.2 990 PRO
Carte réseau AMD® M.2 WI-FI 6E RZ616

gerard-ll Membre non connecté
-
- Voir le profil du membre gerard-ll
- Inscrit le : 09/12/2011
- Groupes :


Pal mal Mageia!
@+
Gérard
@+
Gérard
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie