Jump to content

opengl


Recommended Posts

Salut a tous voila big probleme.

J'essayes de compiler un prog en C++ avec devcpp et voila les erreurs :

C:\DOCUME~1\M2\LOCALS~1\Temp\cckpcaaa.o(.text+0x85):main_sdl.cpp: undefined reference to `glLoadIdentity@0'

C:\DOCUME~1\M2\LOCALS~1\Temp\cckpcaaa.o(.text+0xbc):main_sdl.cpp: undefined reference to `gluPerspective@32'

C:\DOCUME~1\M2\LOCALS~1\Temp\cckpcaaa.o(.text+0xc9):main_sdl.cpp: undefined reference to `glMatrixMode@4'

C:\DOCUME~1\M2\LOCALS~1\Temp\cckpcaaa.o(.text+0xd1):main_sdl.cpp: undefined reference to `glLoadIdentity@0'

C:\DOCUME~1\M2\LOCALS~1\Temp\cckpcaaa.o(.text+0x204):main_sdl.cpp: undefined reference to `SDL_Init'

etc etc...

j'ai lu qq pars de rajouter les options -lopengl -lglu32 -lglut32 etc...

Mais lorsque je fais ca, erreurs :

C:\DEV-C_~1\Bin\ld.exe: cannot open -lopengl: No such file or directory

etc...

Je ne sais que faire, j'ai essayé d'installer les libs mais rien a faire

A l'aiddddeeeeee !!!!!

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...