I'm making a water model, and I have it all done, but I get what I think are linker errors. Here is what I get from the compiler:
Water.o(.text+0x2aa):Water.cpp: undefined reference to `_imp__glPolygonMode'
Water.o(.text+0x2b8):Water.cpp: undefined reference to `_imp__glEnable'
Water.o(.text+0x2d0):Water.cpp: undefined reference to `_imp__glPolygonMode'
Water.o(.text+0x2de):Water.cpp: undefined reference to `_imp__glDisable'

I've included the header file that has this function, but it still shows up :p
Any ideas?

EmmaculateBR

08-25-2009, 01:03 AM

Sorry for multiple postings, but I came across a new error while messing around with the linkers.
I run the program, everything seems to link fine, then a popup message comes up and says that the procedure entry point glRotatef could not be found in the OPENGL.dll file.
No clue what that means. :p

martinsm

08-25-2009, 01:18 AM

Why you shouldn’t use Dev-C++ (http://www.jasonbadams.net/20081218/why-you-shouldnt-use-dev-c/)

EmmaculateBR

08-25-2009, 04:02 PM

Well I can't get OpenGL set up with any other IDE. :p
Always get linker errors even though it's linked.

EmmaculateBR

08-25-2009, 05:19 PM

I set up Code:Blocks, and i get this error
Checking for existence: C:\Dev-Cpp\RollerCoaster.exe
Executing: "C:\Dev-Cpp\RollerCoaster.exe" (in C:\Dev-Cpp\.)
Process terminated with status 1 (0 minutes, 0 seconds)