Installing sdl in vc++.net

hello I would like to start SDL but I can’t get it to install in my compiler
how do I do this?Please explain it in a step by step matter if possible.
thanks in advance.

matt mccullar schrieb:

hello I would like to start SDL but I can’t get it to install in my
compiler how do I do this?Please explain it in a step by step matter
if possible.
thanks in advance.

(I use a german version, so I’m not sure about my translation)

  1. download and extract the development libraries for Win32 VisualC++

  2. create a new Win32 project and check the “empty project” field in the
    "application settings"

  3. create/add a C/C++ file in your project (otherwise you won’t have
    C/C++ settings in your project settings)

  4. in your project settings do the following (for all configurations):
    C/C++ -> General/Common -> Additional include paths:
    add your ‘SDL\include’ path
    (if you want, you can add your opengl\include path too)

C/C++ -> Code generation -> Runtime library:
select Multithreaded-DLL

Linker -> General/Common -> Additional library paths:
add your ‘SDL\lib’ path (and opengl\lib)

Linker -> (hmmm, I guess :wink: Input -> Additional Dependencies:
add ‘SDL.lib SDLmain.lib’ (and ‘opengl32.lib glu32.lib’ and other
SDL libraries)

I believe that’s all grin
Good luck!