Help - Search - Member List - Calendar
Full Version: Petit problème avec OpenGL
OpenSpace > Zone Ordinateurs > Programmation
Julien
Voilà cekice passe à la compilation



Untitled1.obj : error LNK2001: unresolved external symbol _glClear

Untitled1.obj : error LNK2001: unresolved external symbol _glutMainLoop

Untitled1.obj : error LNK2001: unresolved external symbol _glutDisplayFunc

Untitled1.obj : error LNK2001: unresolved external symbol _glutCreateWindow

Untitled1.obj : error LNK2001: unresolved external symbol _glutInitWindowPosition

Untitled1.obj : error LNK2001: unresolved external symbol _glutInitWindowSize

Untitled1.obj : error LNK2001: unresolved external symbol _glutInitDisplayMode

Untitled1.obj : error LNK2001: unresolved external symbol _glutInit

Debug/ogl.exe : fatal error LNK1120: 8 unresolved externals



Pourtant j'ai bien linké avec opengl32.lib, glut.lib, glaux.lib, ... :/

Qq1 a une idée ?
momo
ben il te manque des librairies, non ? smile.gif
Julien
Ah ? Il me semblait que c t bon pourtant, parce que c'est les seuls .lib

que j'ai pu trouver et j'ai vu que d'autres personnes avaient le même

problème. Et de tt façon, j'ai bien vérifié, le nom des fonctions se trouve

dans glut32.lib, que j'ai bien pensé à mettre... donc là je vois plus koa... smile.gif
Julien
Pour être plus précis, voilà toute les libs wink.gif :



glut32.lib opengl32.lib glu32.lib glaux.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
momo
http://www.wodeveloper.com/omniLists/macosx-dev/2000/February/msg00500.html ?
Julien
Hum, ça n'explique pas comment résoudre le problème aussi ? :/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.