Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

Texture Mapper Problem

Started by Sir Sapo Jan 19, 2005 at 9:50 AM 1 replies 500+ views
Original Post
Sir Sapo
Sir Sapo
I am trying to get Nehe's texture mapping tutorial to work in Dev C++ and I keep getting the following Linker errors: undefined reference to 'ChoosePixelFormat@8' undefined reference to 'SetPixelFormat@12' undefined reference to 'SwapBuffers@4' I think it has something to do with what I have in the Further Object Files or Linker options. What should I be including to get the tutorial to work?
My Current Project Angels 22 (4E5)
CodeTitan
CodeTitan
Did you link to gdi32.lib?

Did you link to opengl32.lib?

gdi32.lib has the GetPixelFormat and SetPixelFormat.
Sir Sapo
Sir Sapo
Thank you so much, I was accidently linked to opengl32 twice. Thanks again.
My Current Project Angels 22 (4E5)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.