Sign in to follow this  
pigling

[SDL]Dev-C++ link problem

Recommended Posts

pigling    122
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
summaky    134
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this