Jump to content
  • Advertisement
Sign in to follow this  
pigling

[SDL]Dev-C++ link problem

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

Hi all, I install Dev-C++ 4.9.9.2 in my winXp system and set up SDL following Lazy Foo's instruction. I have no problem in compiling Lesson 1 and 2. But there is a linking error when doing Lesson 3. In Project Options->Parameters->linker I set -ISDL_image, IMG_load() has undefined referrence. However, I define the path to SDL_image.lib in the linker, there is no problem. has anyone met such problem ever? Thanks for help.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by pigling
In Project Options->Parameters->linker I set -ISDL_image, IMG_load() has undefined referrence.


You set it as -I (as in uppercase i) or as in -l (as in lowercase L)? It should be the latter.

Share this post


Link to post
Share on other sites
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!