I found a tutorial here: http://twinklebeardev.blogspot.com/2012/07/lesson-0-setting-up-sdl.html
However, I'm not experienced enough to be able to follow these directions. Can anyone help me out with an in depth step by step explanation?
I've already downloaded the three files found here: http://www.libsdl.org/index.php
sdl-test
") in c:/temp
. I recommend unchecking "Create directory for solution".SDL2-devel-2.0.0-VC.zip
SDL2-devel-2.0.0-VC.zip/SDL2-2.0.0/lib/x86
into c:/temp/sdl-test/lib
SDL2-devel-2.0.0-VC.zip/SDL2-2.0.0/include
into c:/temp/sdl-test/include/SDL2
Configuration Properties
include
to C/C++ -> General -> Additional Include Directories
lib
to Linker -> General -> Additional Library Directories
SDL2main.lib
and SDL2.lib
to Linker -> Input -> Additional Dependencies
Linker -> System -> SubSystem
to Console
or Windows
.#include <SDL2/SDL.h>
.lib/SDL2.dll
to your Debug
and Release
output directories.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With