- Download SDL - the source tarball.
- Extract the tar, and open the command prompt to that directory
- Type "./configure" "make" and "sudo make install".
You should have the libSDL.a in /usr/local/lib, and headers in /usr/local/include/SDL
- Download/write a simple SDL test program, I like Sol's SDL tutorials, the nice old school plasma.
g++ main.cpp -lsdl -lsdlmain -framework Cocoa -o outputIf you are using OpenGL, add a "-framework OpenGL" in the command line as well. (You can get a sample OpenGL SDL C++ program for OS X here).
Using Machine Learning To Cut Down Surgical Videos
22 minutes ago