-
Notifications
You must be signed in to change notification settings - Fork 9
Setup with visual studio 2008
pmprog edited this page Jul 17, 2012
·
3 revisions
Firstly, the C compiler in Visual Studio 2008 runs to a standard around 2 decades old. It doesn't use the most recent version, so when you try and compile the .c files as is in a VS project, you will encounter errors. To get around this, you force Visual Studio to use the C++ compiler, and everything will be fine.
- Download the git repository into a local directory
- Open the .sln file in Visual Studio
- In Tools->Options->Projects and Solutions->VC++ Directories, make sure you set up all the Include and Library folders for all the dependancies (SDL, SDL_ttf, SDL_image)
- Build the DLL using Build->Rebuild Solution. If all is well, you should get a success message and a Release folder (or Debug, depending on your build config)
- Back in Tools->Options->Projects and Solutions->VC++ Directories, add your Sparrow3D git folder into the Includes list, and the Release subfolder into the Libraries list.