Jump to content
  • Advertisement
Sign in to follow this  
pigling

[SDL]Dev-C++ link problem

This topic is 3616 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!