Skip to main content
GameDev.net gamedev.net
🔒 Locked

[SDL]Dev-C++ link problem

Started by pigling Nov 24, 2008 at 1:23 AM 1 replies 850+ views
Original Post
pigling
pigling
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.
summaky
summaky
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.

pigling
pigling
thanks a lot. problem solved.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.