Advertisement

Another compiling problem

Started by March 25, 2003 05:30 PM
3 comments, last by thynosferatu 21 years, 11 months ago
When I compile it says undefined reference to SwapBuffers@4 Can somebody please help me solve this problem?
Sound to me like you made your project incorrectly... are you sure you have gdi32.lib included in your project settings?
I'm don't know much but I can try to help... just email me at... Shadow_0f_Light@Yahoo.com(the '0' in 'Of' is a zero :P)
Advertisement
I''ll try that. I think I should also mention that I am using DevC++ 4.
Okay, where do I put .lib files?
projects->options then compiler/linker (something like that sorry i don't have the app infront of me). i know in dev-c++ 5(i think that's whats it's beeing called) you have to include like this:

-lopengl32
-lglu32

you need the -l infront of it. or you can browse and locate the lib under the dev-c++ folder.

[edited by - psychopaul on March 26, 2003 9:48:38 AM]
Paulhttp://members.lycos.co.uk/p79

This topic is closed to new replies.

Advertisement