I tried to compile a simple application with glut library, it works pretty well on Dev-Cpp 4.9.6.9 and failed to link on Dev-Cpp 4.9.7.0-gcc2.95.
Of course we have put the right link compiler commands:
-lglut32 -lglu32 -lopengl32
The error is:
[Linker error] undefined reference to `__glutInitWithExit@12'
[Linker error] undefined reference to `__glutCreateWindowWithExit@8'
[Linker error] undefined reference to `__glutCreateMenuWithExit@8'
Thanks
--Yoh & Micha
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to compile a simple application with glut library, it works pretty well on Dev-Cpp 4.9.6.9 and failed to link on Dev-Cpp 4.9.7.0-gcc2.95.
Of course we have put the right link compiler commands:
-lglut32 -lglu32 -lopengl32
The error is:
[Linker error] undefined reference to `__glutInitWithExit@12'
[Linker error] undefined reference to `__glutCreateWindowWithExit@8'
[Linker error] undefined reference to `__glutCreateMenuWithExit@8'
Thanks
--Yoh & Micha
Which version of glut did you use? Dev-C++ 4 only knows glut 3.6, and there are linking problems with glut 3.7