Problem with SDL

I'm trying to use SDL on CodeBlocks, it all worked out fine until I tried downloading the SDL Image, and everytime I try to compile something using SDL is always say

ld.exe||cannot find -lSDL-lSDL_image|
Yeah.

That's a linker error. Your linking the library wrong. You may want to double check to see if you have everything set up correctly... :)
Last edited on
If your still having trouble I recommend you take a look at LazyFoo's tutorial on setting up SDL. It's really helpful. http://lazyfoo.net/SDL_tutorials/index.php
Last edited on
Topic archived. No new replies allowed.