views:

1546

answers:

2

Hey, How to install SDL library in VISUAL C++ 2008? I I am looking for a tutorial how to install, but I found nothing good :(( please help me?, sorry for bad english. Thanks :))

+1  A: 

Add sdl\include to VC's include directories

Add sdl\lib to VC's lib directories

Configuration Properties -> C/C++ -> General -> Detect 64-bit Portability Issues

Configuration Properties -> C/C++ -> Code Generation -> Runtime Library -> Multi-threaded DLL (/MD)

Configuration Properties -> Linker -> Input -> Additional Dependencies -> SDLmain.lib SDL.lib

Configuration Properties -> Linker -> System -> SubSystem Windows : (/SUBSYSTEM:WINDOWS)

jitter
+2  A: 

You should check out this tutorial , as well as Beginning Game Programming for more info on general SDL usage.

Corosus