Reputation:

How to install SDL library in Visual C++ 2008?

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 :))

Upvotes: 2

Views: 8136

Answers (2)

user124952
user124952

Reputation:

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

Upvotes: 2

jitter
jitter

Reputation: 54625

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)

Upvotes: 1

Related Questions