How to set SDL_image on Ubuntu 12.04.1 LTS?

I installed ubuntu 12.04.1 LTS. I just installed a compiler for programming in C ++. This is the name of Anjuta. This is a free programming software. I would like to make simple games with this, but it shows me: IMG_Load in-lSDL_image ... no ... And SDL_image was not found, as you can see in the picture ...

I also tried Google, installed it, but it won’t work. What is the easiest way? Or is it better for beginner game programmers on Linux? :-)

image file: freeimagehosting dot net / oo5dq

+4
source share
2 answers

SDL_Image is a library for developing in C ++. I suggest first getting a rad IDE for development in - CodeBlocks is good:

http://www.codeblocks.org/downloads

Then I suggest following these tutorials to help you install the appropriate SDL libraries for developing C ++ games. SDL_Image is just one of them ... and not the one I'll start with:

http://www.youtube.com/watch?v=Lb_Jy5HGMsk

This helped me create SDL and C ++. Since then, I have created a game with decent graphics (2D) and gaming ability, as well as an online component using SDL_net.

Good luck

-1
source

sudo apt-get install libsdl-image1.2-dev
found on so here
how to install c library on linux (specifically SDL_image)
worked for me on ubuntu 12.04

+18
source

All Articles