Advertisement Jump to content
Sign in to follow this  
silverphyre673

Setting up SDL with dev-cpp... many linker errors.

This topic is 4906 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

Hello. I'm trying to set up SDL on my laptop, using dev-cpp as my IDE. I downloaded the devpak from the site of the same name (devpaks.org), and installed it. I linked -lmingw -ISDLmain -ISDL and ran what should be a very simple program (by the way, I used a Win32 project, and this is dev-cpp 5 beta). However, I get "undefined reference" errors in the linker on all the calls to SDL functions, although I linked the above libraries, have SDL.dll in windows/system and windows/system32, and in dev-cpp/lib and the project directory. Any ideas on what the problem is? I've seen message boards where some other users had the same problem. Any help is much appreciated. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!