• Advertisement

Archived

This topic is now archived and is closed to further replies.

Only a few more linker errors

This topic is 5999 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I included the 2 you gave me. Now I get: c:\dev-c++\gl.o(.text+0x834):gl.cpp: undefined reference to `ChoosePixelFormat@8'' c:\dev-c++\gl.o(.text+0x878):gl.cpp: undefined reference to `SetPixelFormat@12'' c:\dev-c++\gl.o(.text+0xc0f):gl.cpp: undefined reference to `SwapBuffers@4''

Share this post


Link to post
Share on other sites
Advertisement
You need to also add -lgdi32 to your compiler option. Those functions are Win32 API functions.

Share this post


Link to post
Share on other sites

  • Advertisement