download
All the stuff is on the page:
http://www.libsdl.org/
To download:
http://www.libsdl.org/download-2.0.php
- the Runtime Binaries is needed
- and the Development Libraries
If you're a mac user, it's the same dmg for both.
Install
for mac: you have to open the dmg and put the SLD2.framework in /Library/Frameworks
and to put the devel-lite in /developper directory
Setup on mac with eclipse
In Project -> Properties -> C/C++ build -> Settings
in Mac OS X C++ linker, in All Option,
add -framework Cocoa -framework SDL /Users/Snayle/Documents/workspace/Simuspace/src/SDLMain.m
in GCC C++ Compiler , in Includes,
add in include path: /Library/Frameworks/SDL.framework/Versions/A/Headers