undefined reference to.....
''OMG'' everyone thinks, another person who didnt link the files properly, well for as far as i know i linked them all the right way with -lopengl32 -lglaux -lglu32 -lglut32 and put the .lib and .h files in their folder but when i compile the code i get these 3 errors. i tried it with both the code from some of the Nehe tutorials (with ofcourse the GLUT version) and the first real example code from the red book. i didnt find any solutions using google or gamedev search.
c:\documents and settings\m.jansen\desktop\5glut\untitled1.o(.text+0x17):untitled1.cpp: undefined reference to `__glutInitWithExit@12''
c:\documents and settings\m.jansen\desktop\5glut\untitled1.o(.text+0x3b):untitled1.cpp: undefined reference to `__glutCreateWindowWithExit@8''
c:\documents and settings\m.jansen\desktop\5glut\untitled1.o(.text+0x67):untitled1.cpp: undefined reference to `__glutCreateMenuWithExit@8''
i use dev-c++, i first used version 5 but since i got these errors i tried to do it with dev-c++ 4 because 1.5 years ago i got it succesfull compiled with.
Please someone point me to the solution because this is bothering me all this day and its really starting to piss me of =(
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement