Bon ben finalement on a (j'ai opté pour) opté pour un fédora 6 et bingo ca marche.
Donc normalement notre probleme est fini a un epsilone pret !!!
On compile un projet en OpenGl. Pour se faire j'ai installé freeglut 2.4. A l'exécusion il nous fais un
libGL warning: 3D driver claims to not support visual 0x4b
freeglut ERROR: Function <glutSolidCube> called without first calling 'glutInit'.
En farfouillant sur le net, j'ai vu que peut etre que la glut 2.4 ne serait pas gentille et qu'il faudrait repasser la glut 2.2.
Est ce que vous m'encourragé a continuer dans cette voie !!! Ou est ce que je me gourre !!!
Et comment réinstallé la freeglut2.2, car dans le gestionnaire il ne me propose pas la 2.2 !!!
Merci.
edit :
- on a téléchargé la freeglut2.2
- on a dézippé
- on a fait ./config
- on tente le make, et déja ca marche pas !!!!
[root@localhost freeglut-2.2.0]# make
make all-recursive
make[1]: entrant dans le répertoire « /home/pge2006/Desktop/freeglut-2.2.0 »
Making all in src
make[2]: entrant dans le répertoire « /home/pge2006/Desktop/freeglut-2.2.0/src »
source='freeglut_callbacks.c' object='libglut_la-freeglut_callbacks.lo' libtool=yes \
depfile='.deps/libglut_la-freeglut_callbacks.Plo' tmpdepfile='.deps/libglut_la-freeglut_callbacks.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c -o libglut_la-freeglut_callbacks.lo `test -f freeglut_callbacks.c || echo './'`freeglut_callbacks.c
rm -f .libs/libglut_la-freeglut_callbacks.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF .deps/libglut_la-freeglut_callbacks.TPlo -fPIC -DPIC -o .libs/libglut_la-freeglut_callbacks.lo
freeglut_callbacks.c: In function 'glutDisplayFunc':
freeglut_callbacks.c:54: error: invalid lvalue in assignment
freeglut_callbacks.c: In function 'glutReshapeFunc':
freeglut_callbacks.c:63: error: invalid lvalue in assignment