cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Problem with SDL
Problem with SDL
Dec 29, 2011 at 7:06am UTC
Assassin7257
(23)
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|
Dec 29, 2011 at 7:18am UTC
Code Assassin
(326)
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
Dec 29, 2011 at 7:26am UTC
Dec 29, 2011 at 7:21am UTC
Code Assassin
(326)
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
Dec 29, 2011 at 7:21am UTC
Topic archived. No new replies allowed.