#1 Le 30/01/2010, à 22:41
- HacKurx
[résolu] Besoin d'aide pour compiler un benchmark
Bonjour, j'ai trouvé ce benchmark:
http://www.glexcess.com/
http://www.glexcess.com/files/glexcess.tar.gz
J'ai installé ceci:
sudo apt-get install g++ make libglut3-dev xlibmesa-glu-dev xlibmesa-gl-dev
Mais j'ai l'erreur suivante:
loic@laptop:~/Bureau/glexcess$ make
C: ./scene12.cpp
scene12.cpp:38: error: ‘<anonymous>’ has incomplete type
scene12.cpp:38: error: invalid use of ‘GLvoid’
scene12.cpp: In function ‘void k_InitGL(<type error>)’:
scene12.cpp:47: warning: deprecated conversion from string constant to ‘char*’
scene12.cpp:48: warning: deprecated conversion from string constant to ‘char*’
scene12.cpp:49: warning: deprecated conversion from string constant to ‘char*’
scene12.cpp:50: warning: deprecated conversion from string constant to ‘char*’
scene12.cpp:51: warning: deprecated conversion from string constant to ‘char*’
scene12.cpp:52: warning: deprecated conversion from string constant to ‘char*’
make: *** [scene12.o] Erreur 1
Pouvez-vous essayer ou me dire le problème, merci.
Dernière modification par ubuntosaure (Le 31/01/2010, à 15:23)
Follow Me: http://hackurx.wordpress.com
Hors ligne
#2 Le 31/01/2010, à 03:08
- JohnTR
Re : [résolu] Besoin d'aide pour compiler un benchmark
Salut,
Ouvre le fichier scene12.cpp.
A la ligne 38, tu as :
void k_InitGL(GLvoid)
que tu remplaces par :
void k_InitGL()
et ça roule
Hors ligne
#3 Le 31/01/2010, à 15:21
- HacKurx
Re : [résolu] Besoin d'aide pour compiler un benchmark
Cool merci
Follow Me: http://hackurx.wordpress.com
Hors ligne