How to set up and compile a SDL application.

Steps (Linux commands):

# tar vfxz SDL-1.2.15.tar.gz
# cd SDL-1.2.15
# ./configure
# make
# make install
# cd -
# /usr/local/bin/sdl-config --cflags --libs
# g++ a.cpp `/usr/local/bin/sdl-config --cflags --libs`
# ./a.out

No comments: