-
-
Notifications
You must be signed in to change notification settings - Fork 119
Developer Getting Started: Visual Studio
For pre-2017 Visual Studios, see Visual Studio Setup.
- Git client (GitHub for Windows)
- Visual Studio 2017
- SDL development libraries: SDL2, SDL2_mixer, SDL2_image
Instructions for TortoiseGit are also available; these are not recommended
Repo URL: https://github.com/cxong/cdogs-sdl.git
-
Optional: for the purposes of this walkthrough, the clone location is
C:\cdogs-sdl
. To make GitHub for Windows automatically clone to this location, set the default storage directory toC:\
. -
Click the "Clone in Windows" button in the repo website.
-
You should now see the repo contents in
C:\cdogs-sdl
-
Choose a location for the SDL libraries (e.g.
C:\dev
). -
Copy the contents of the SDL2_2.0.XX subfolder to
C:\dev
(so you should have the foldersC:\dev\include
,C:\dev\lib
etc.) -
Do the same for the other SDL2 libraries (e.g. SDL2_mixer), combining the contents of the include and lib folders.
-
In
C:\dev\lib
, there arex86
andx64
versions of the same libraries. Copy the.lib
files inx86
to thelib
folder. -
Copy the
.dll
files to theC:\cdogs-sdl\src
folder -
Create an environment variable
SDLDIR
that points toC:\dev