OpenGl

anis -  
Char Snipeur Messages postés 10112 Date d'inscription   Statut Contributeur Dernière intervention   -
Bonjour,

j'ai une bug lors de configuration de mon openGL . j'ai suivie le tuto dans le lien suivant
http://www.sci.brooklyn.cuny.edu/~goetz/codeblocks/glut/ mais j'ai pas réussie à l'activer.Est ce vous avez une idée slvp?
je vous donne la résultat de l'exécution:
obj\Debug\main.o||In function 'glutInit_ATEXIT_HACK':|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\GL\glut.h|486|undefined reference to '__glutInitWithExit'|
obj\Debug\main.o||In function 'glutCreateWindow_ATEXIT_HACK':|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\GL\glut.h|503|undefined reference to '__glutCreateWindowWithExit'|
obj\Debug\main.o||In function 'glutCreateMenu_ATEXIT_HACK':|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\GL\glut.h|549|undefined reference to '__glutCreateMenuWithExit'|
obj\Debug\main.o||In function 'resize':|
C:\Users\hajer\Desktop\teste3\main.cpp|32|undefined reference to '_imp__glViewport'|
C:\Users\hajer\Desktop\teste3\main.cpp|33|undefined reference to '_imp__glMatrixMode'|
C:\Users\hajer\Desktop\teste3\main.cpp|34|undefined reference to '_imp__glLoadIdentity'|
C:\Users\hajer\Desktop\teste3\main.cpp|35|undefined reference to '_imp__glFrustum'|
C:\Users\hajer\Desktop\teste3\main.cpp|37|undefined reference to '_imp__glMatrixMode'|
C:\Users\hajer\Desktop\teste3\main.cpp|38|undefined reference to '_imp__glLoadIdentity'|
obj\Debug\main.o||In function 'display':|
C:\Users\hajer\Desktop\teste3\main.cpp|43|undefined reference to 'glutGet'|
C:\Users\hajer\Desktop\teste3\main.cpp|46|undefined reference to '_imp__glClear'|
C:\Users\hajer\Desktop\teste3\main.cpp|47|undefined reference to '_imp__glColor3d'|
C:\Users\hajer\Desktop\teste3\main.cpp|49|undefined reference to '_imp__glPushMatrix'|
C:\Users\hajer\Desktop\teste3\main.cpp|50|undefined reference to '_imp__glTranslated'|
C:\Users\hajer\Desktop\teste3\main.cpp|51|undefined reference to '_imp__glRotated'|
C:\Users\hajer\Desktop\teste3\main.cpp|52|undefined reference to '_imp__glRotated'|
C:\Users\hajer\Desktop\teste3\main.cpp|53|undefined reference to 'glutSolidSphere'|
C:\Users\hajer\Desktop\teste3\main.cpp|54|undefined reference to '_imp__glPopMatrix'|
C:\Users\hajer\Desktop\teste3\main.cpp|56|undefined reference to '_imp__glPushMatrix'|
C:\Users\hajer\Desktop\teste3\main.cpp|57|undefined reference to '_imp__glTranslated'|
C:\Users\hajer\Desktop\teste3\main.cpp|58|undefined reference to '_imp__glRotated'|
C:\Users\hajer\Desktop\teste3\main.cpp|59|undefined reference to '_imp__glRotated'|
C:\Users\hajer\Desktop\teste3\main.cpp|60|undefined reference to 'glutSolidCone'|
C:\Users\hajer\Desktop\teste3\main.cpp|61|undefined reference to '_imp__glPopMatrix'|
C:\Users\hajer\Desktop\teste3\main.cpp|63|undefined reference to '_imp__glPushMatrix'|
C:\Users\hajer\Desktop\teste3\main.cpp|64|undefined reference to '_imp__glTranslated'|
C:\Users\hajer\Desktop\teste3\main.cpp|65|undefined reference to '_imp__glRotated'|
C:\Users\hajer\Desktop\teste3\main.cpp|66|undefined reference to '_imp__glRotated'|
C:\Users\hajer\Desktop\teste3\main.cpp|67|undefined reference to 'glutSolidTorus'|
C:\Users\hajer\Desktop\teste3\main.cpp|68|undefined reference to '_imp__glPopMatrix'|
C:\Users\hajer\Desktop\teste3\main.cpp|70|undefined reference to '_imp__glPushMatrix'|
C:\Users\hajer\Desktop\teste3\main.cpp|71|undefined reference to '_imp__glTranslated'|
C:\Users\hajer\Desktop\teste3\main.cpp|72|undefined reference to '_imp__glRotated'|
C:\Users\hajer\Desktop\teste3\main.cpp|73|undefined reference to '_imp__glRotated'|
C:\Users\hajer\Desktop\teste3\main.cpp|74|undefined reference to 'glutWireSphere'|
C:\Users\hajer\Desktop\teste3\main.cpp|75|undefined reference to '_imp__glPopMatrix'|
C:\Users\hajer\Desktop\teste3\main.cpp|77|undefined reference to '_imp__glPushMatrix'|
C:\Users\hajer\Desktop\teste3\main.cpp|78|undefined reference to '_imp__glTranslated'|
C:\Users\hajer\Desktop\teste3\main.cpp|79|undefined reference to '_imp__glRotated'|
C:\Users\hajer\Desktop\teste3\main.cpp|80|undefined reference to '_imp__glRotated'|
C:\Users\hajer\Desktop\teste3\main.cpp|81|undefined reference to 'glutWireCone'|
C:\Users\hajer\Desktop\teste3\main.cpp|82|undefined reference to '_imp__glPopMatrix'|
C:\Users\hajer\Desktop\teste3\main.cpp|84|undefined reference to '_imp__glPushMatrix'|
C:\Users\hajer\Desktop\teste3\main.cpp|85|undefined reference to '_imp__glTranslated'|
C:\Users\hajer\Desktop\teste3\main.cpp|86|undefined reference to '_imp__glRotated'|
C:\Users\hajer\Desktop\teste3\main.cpp|87|undefined reference to '_imp__glRotated'|
C:\Users\hajer\Desktop\teste3\main.cpp|88|undefined reference to 'glutWireTorus'|
C:\Users\hajer\Desktop\teste3\main.cpp|89|undefined reference to '_imp__glPopMatrix'|
C:\Users\hajer\Desktop\teste3\main.cpp|91|undefined reference to 'glutSwapBuffers'|
obj\Debug\main.o||In function 'key':|
C:\Users\hajer\Desktop\teste3\main.cpp|118|undefined reference to 'glutPostRedisplay'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|

2 réponses

anis
 
il n'y a pas de réponse s'il vous plais
0
Char Snipeur Messages postés 10112 Date d'inscription   Statut Contributeur Dernière intervention   1 299
 
bonjour,
donne nous la ligne de compilation.
0