Bonjour,
Je suis sur Ubuntu 12.04, et j'ai un projet à réaliser en C++ et je dois utiliser Glut et OpenGL. J'installe donc le package freeglut3, celui de développement aussi, Mais lorsque je tente de compiler le projet, j'obtiens
Je fais des recherches, et je tombe sur ce lien : http://www.kiwwito.com/article/insta...ries-in-ubuntu
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 ): error||undefined reference to 'dlopen'| ): error||undefined reference to 'dlopen'| ): error||undefined reference to 'dlopen'| ): error||undefined reference to 'dlsym'| ): error||undefined reference to 'dlsym'| ): error||undefined reference to 'dlsym'| ||=== Build finished: 6 errors, 0 warnings ===|
Je fais exactement ce qu'il y a d'écrit, mais lors de la compilation du fichier test j'ai ceci :
J'y comprends strictement rien... Ca a l'air d'être un problème de linkage, mais binutils-machin est pas censé servir à ça ?!
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 /usr/bin/ld: fatal error: test: open: Is a directory collect2: ld a retourné 1 code d'état d'exécution
Précisions supplémentaires : le projet est un truc fait par des étudiants depuis plusieurs années, le tout sur codeblocks et avec cmake, et mon binôme a travaillé dessus juste avant moi, donc je ne pense pas que ça vienne du code du projet en lui-même.
Merci d'avance pour votre aide !
Partager