From: Tamas C. <ma...@ma...> - 2003-01-07 15:05:29
|
John Hall wrote: > ive tried compling opengl code in dev c++ and you just get loads of > syntax errors and linker errors. the code is garunteed to be correct. do > i need to set up gl library files in the compiler options? > you should add to the linker settings in the project options dialog -lglu32 -lopengl32 (and if you use glut:) -lglut32 if you use glut try to compile it as win32 console, else as a win32 GUI application check the header #includes at the top of program because it is possible that there are missing the "gl/" pathes : #include <gl/gl.h> correctly, not <gl.h> (this applies for glu.h and glut.h too) Tamas Czinege |