Hello
i program since a couple of weeks with SDL on Ubuntu 10.10. Now i have the problem that when i want to use the library "SDL_image", I become the error "undefined reference to IMG_Load".
I've searched already on gamedev but the only answer was, how i can solve this problem with g++. But this is not very useful because I use CodeBlocks 10.05.
I hope you can help me
Problem with SDL_image on Ubuntu
Code::Blocks most likely uses g++ in your case. Try add -lSDL_image to your compiler flags. I don't use Code::Blocks so I don't know exactly how to change that.
Hello,
Please take a look at this picture
http://bildr.no/view/199632
I got it from [url="http://www.futuredesktop.org/codeblocks_on_ubuntu_9.04.html"]this..[/url] (veeery) old document.
Alex
http://www.futuredesktop.org (.com)
Please take a look at this picture
http://bildr.no/view/199632
I got it from [url="http://www.futuredesktop.org/codeblocks_on_ubuntu_9.04.html"]this..[/url] (veeery) old document.
Alex
http://www.futuredesktop.org (.com)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement