Compilation recorditnow [Réglé]

inflames Membre non connecté
-
- Voir le profil du membre inflames
- Inscrit le : 20/06/2011
- Site internet
Je cherchais un programme me permettant d'enregistrer une partie de mon bureau en video, je suis tombé sur recorditnow qui a l'air pas mal. par contre il faut le compiler.
je lance install.sh il commance a compiler et au bout de 66% j'ai une erreur :
Citation :
[ 66%] Building CXX object src/CMakeFiles/recorditnow.dir/recorditnow.o
Linking CXX executable recorditnow
/usr/bin/ld: CMakeFiles/recorditnow.dir/mainwindow.o: undefined reference to symbol 'XUngrabServer'
/usr/bin/ld: note: 'XUngrabServer' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [src/recorditnow] Erreur 1
make[1]: *** [src/CMakeFiles/recorditnow.dir/all] Erreur 2
make: *** [all] Erreur 2
[root@localhost recorditnow-0.8.1]#
Linking CXX executable recorditnow
/usr/bin/ld: CMakeFiles/recorditnow.dir/mainwindow.o: undefined reference to symbol 'XUngrabServer'
/usr/bin/ld: note: 'XUngrabServer' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [src/recorditnow] Erreur 1
make[1]: *** [src/CMakeFiles/recorditnow.dir/all] Erreur 2
make: *** [all] Erreur 2
[root@localhost recorditnow-0.8.1]#
en cherchant sur internet j'ai essayé cette commande : export LDFLAGS=--add-needed
et depuis c'est pire, quand je relance install.sh j'ai sa :
Citation :
Determining if the C compiler works failed with the following output:
Change Dir: /home/inflames/Logiciels/recorditnow-0.8.1/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1] : on entre dans le répertoire « /home/inflames/Logiciels/recorditnow-0.8.1/build/CMakeFiles/CMakeTmp »
/usr/bin/cmake -E cmake_progress_report /home/inflames/Logiciels/recorditnow-0.8.1/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c /home/inflames/Logiciels/recorditnow-0.8.1/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/gcc --add-needed CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o cmTryCompileExec -rdynamic
gcc: erreur: unrecognized option ‘--add-needed’
gmake[1] : on quitte le répertoire « /home/inflames/Logiciels/recorditnow-0.8.1/build/CMakeFiles/CMakeTmp »
gmake[1]: *** [cmTryCompileExec] Erreur 1
gmake: *** [cmTryCompileExec/fast] Erreur 2
Change Dir: /home/inflames/Logiciels/recorditnow-0.8.1/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1] : on entre dans le répertoire « /home/inflames/Logiciels/recorditnow-0.8.1/build/CMakeFiles/CMakeTmp »
/usr/bin/cmake -E cmake_progress_report /home/inflames/Logiciels/recorditnow-0.8.1/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c /home/inflames/Logiciels/recorditnow-0.8.1/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/gcc --add-needed CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o cmTryCompileExec -rdynamic
gcc: erreur: unrecognized option ‘--add-needed’
gmake[1] : on quitte le répertoire « /home/inflames/Logiciels/recorditnow-0.8.1/build/CMakeFiles/CMakeTmp »
gmake[1]: *** [cmTryCompileExec] Erreur 1
gmake: *** [cmTryCompileExec/fast] Erreur 2
Comment puis-je revenir en arrière?
Comment puis-je résoudre le problème avec XUngrabServer?
Je suis avec mageia 2 64bit, KDE4
Cordialement
Édité par inflames Le 15/06/2012 à 11h14
Config : Pc portable pavillon DV7 2160ef, CPU : P8700, GPU : radeon HD 4650, 6Go de RAM, SSD ocz 64go, HDD 1TO + 500Go
Mageia 4 Kde
Mageia 4 Kde

inflames Membre non connecté
-
- Voir le profil du membre inflames
- Inscrit le : 20/06/2011
- Site internet
Une petite idée?
Config : Pc portable pavillon DV7 2160ef, CPU : P8700, GPU : radeon HD 4650, 6Go de RAM, SSD ocz 64go, HDD 1TO + 500Go
Mageia 4 Kde
Mageia 4 Kde

inflames Membre non connecté
-
- Voir le profil du membre inflames
- Inscrit le : 20/06/2011
- Site internet
Config : Pc portable pavillon DV7 2160ef, CPU : P8700, GPU : radeon HD 4650, 6Go de RAM, SSD ocz 64go, HDD 1TO + 500Go
Mageia 4 Kde
Mageia 4 Kde

OPS56 Membre non connecté
-
- Voir le profil du membre OPS56
- Inscrit le : 18/11/2008
- Groupes :
Je ne peux pas t'aider pour la compilation

@+

Dell G3-15 Intel Corei7 - 16Go Ram - Nvidia GTX1660 Ti (Tri boot Mageia 9- 64 bits / Linux Mint 20 Cinamon/ Windows 10)
Core i5 760 - 8Go Ram - Nvidia Gforce 450 - (Triple boot Mageia 9-64 bits - Plasma 5 / Mint 20 Cinamon / Open Suse Tumbleweed - Plasma 5)

pamputt Membre non connecté
-
- Voir le profil du membre pamputt
- Inscrit le : 03/01/2010
- Groupes :
Code :
export LDFLAGS=-lX11
puis en lançant après
Code :
sh install.sh
Cela dit on tombe assez vite sur une autre erreur que je n'ai pas trouvé comment contourné même si la méthode doit être la même.

inflames Membre non connecté
-
- Voir le profil du membre inflames
- Inscrit le : 20/06/2011
- Site internet

la 1ere application que j'ai testé est recordmydesktop, c'est la plus évidente, mais je cherche à enregistrer qu'une partie de mon écran et non la totalité.
Je suis tombé sur ce petit loogiceil qui apparement donne de bon résultat, il a l'air de faire moins ramer le pc
J'ai résolut le 1er message d'erreur d'une manière, j'ai édité le fichier CMakeCache.txt, et j'ai rajouter le chemin correspondant ( /usr/lib64/libX11.so.6)
/Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=/usr/lib64/libX11.so.6
ducoup c'est bon mais ke tombe sur ce message:
Citation :
Linking CXX executable recorditnow
/usr/bin/ld: CMakeFiles/recorditnow.dir/zoom/zoomview.o: undefined reference to symbol 'XFixesGetCursorImage'
/usr/bin/ld: note: 'XFixesGetCursorImage' is defined in DSO /usr/lib64/libXfixes.so.3 so try adding it to the linker command line
/usr/lib64/libXfixes.so.3: could not read symbols: Invalid operation
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [src/recorditnow] Erreur 1
make[1]: *** [src/CMakeFiles/recorditnow.dir/all] Erreur 2
make: *** [all] Erreur 2
/usr/bin/ld: CMakeFiles/recorditnow.dir/zoom/zoomview.o: undefined reference to symbol 'XFixesGetCursorImage'
/usr/bin/ld: note: 'XFixesGetCursorImage' is defined in DSO /usr/lib64/libXfixes.so.3 so try adding it to the linker command line
/usr/lib64/libXfixes.so.3: could not read symbols: Invalid operation
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [src/recorditnow] Erreur 1
make[1]: *** [src/CMakeFiles/recorditnow.dir/all] Erreur 2
make: *** [all] Erreur 2
J'ai essayé de refaire la manip mais elle en focntionne pas.
Si quelqu'un connait un autre logicel qui permait d'enregistrer une partie de son bureau je suis preneur

Config : Pc portable pavillon DV7 2160ef, CPU : P8700, GPU : radeon HD 4650, 6Go de RAM, SSD ocz 64go, HDD 1TO + 500Go
Mageia 4 Kde
Mageia 4 Kde

OPS56 Membre non connecté
-
- Voir le profil du membre OPS56
- Inscrit le : 18/11/2008
- Groupes :
Tu ne peux enregistrer qu'une partie de l'écran avec Recordmydesktop.
Il faut sélectionner la partie que tu veux enregistrer dans la capture d'écran qui s'affiche à gauche de la fenêtre.

@+

Dell G3-15 Intel Corei7 - 16Go Ram - Nvidia GTX1660 Ti (Tri boot Mageia 9- 64 bits / Linux Mint 20 Cinamon/ Windows 10)
Core i5 760 - 8Go Ram - Nvidia Gforce 450 - (Triple boot Mageia 9-64 bits - Plasma 5 / Mint 20 Cinamon / Open Suse Tumbleweed - Plasma 5)

inflames Membre non connecté
-
- Voir le profil du membre inflames
- Inscrit le : 20/06/2011
- Site internet


Par contre on ne peut pas agrandir un peu l'apperçu? car sa manque un chouillat de précision? au pire ce n'ai pas trop grave

Je considère le sujet comme résolut puisque je peux faire ce que je souhaite, mais il ne l'ai pas totalement puisque je n'ai pas réussi a compiler correctement le logiciel.
Config : Pc portable pavillon DV7 2160ef, CPU : P8700, GPU : radeon HD 4650, 6Go de RAM, SSD ocz 64go, HDD 1TO + 500Go
Mageia 4 Kde
Mageia 4 Kde
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie