-
Umm... OpenGL & Dev?
I have this "small" problem... I've managed to make some small programs using dev-c++, but as I tried to use gametutorials' examples I got these messages from the linker:
undefined reference to `ChoosePixelFormat@8'
undefined reference to `SetPixelFormat@12'
undefined reference to `SwapBuffers@4'
Can somebody help me?
-
have you linked all the required libs?
-
Yes I have. (opengl32 & glu32)
-
Make sure you're compiling it for a window app not a console app.
Which tutorial is it?
-
-
You're compiling for a console project and you need a window project.
Do this:
Project-> Project Options -> check do not create a console is checked
Options -> Linker -> check compile for win32
Make sure your libraries are still linked in too.
-
THANKS
Thanks guys! It worked!!!:D:D:D:D
WOOHOOO!!!! I GOT THE DEV WORKING!!!!:D:D:D:D:D
YIPPEE!!
-
Sorry, not guys I mean Taylorguitarman!!!