Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install SDL_image on Ubuntu 12.04.1 LTS?

I installed the ubuntu 12.04.1 LTS. I just installed a compiler to c++ programming. It's name is Anjuta. It's a free programming software. I would like to make simple games with that one, but it shows to me: IMG_Load in-lSDL_image... no... And SDL_image not found, as you can see in the picture...

I tried to google it, install it, but it won't work. What is the easiest way? Or better for beginning game programmers on linux? :-)

image file: freeimagehosting dot net/oo5dq

like image 753
janos Avatar asked Jan 14 '13 18:01

janos


1 Answers

sudo apt-get install libsdl-image1.2-dev

Found on s.o. here:
how to install c library on linux (in particular SDL_image)

Worked for me on ubuntu 12.04

like image 98
darKoram Avatar answered Nov 14 '22 18:11

darKoram