So the first thing needed to compile with Visual Studio is of course Visual Studio which you can only get if you paid for it or if you are a student.
If you are a student you can get it here.
If you do not pay or you're not a student, you can use Visual C++ Express 2008.
Make sure you let it install the Microsoft SDKs if there is that option.
After installing this you will need a couple other SDKs to compile correctly.
Microsoft Directx SDK (I'm using the February 2006 release but the others should work also.)
OpenAL SDK
INSTALL THESE SDKs
FINALLY WE NEED THE SOURCE CODE ITSELF.
![Smile :)](./images/smilies/smile.gif)
There are two ways that you can get the source code:
1. Download it here (it seems that the direct download of the source is not up to date and is not available at the moment)
Use a subversion client like Tortoise SVN to keep
updated with the latest revisions of SG 1.1 & 1.0 (if you have a 64 bit comp you need TortoiseSVN 64 bit)
As Torhu said, development is now going on in the 1.1 Branch so if you want to see what is the most recent development you will be using the 1.1 source.
If you downloaded the source code directly, skip down to the COMPILING section.
To get the source code using TortoiseSVN first install Tortoise. After it is installed, create a folder wherever you want the SG code to be. Name it anything you want. Then right click on this folder and click SVN Checkout.
![Image](http://img20.imageshack.us/img20/6103/svncheckout.jpg)
Then copy this URL: https://smokinguns.svn.sourceforge.net/ ... anches/1.1 into the "URL of repository" box.
![Image](http://img33.imageshack.us/img33/366/sg11svn.jpg)
If you want to try something with the v1.0 Source, then use this URL:
https://smokinguns.svn.sourceforge.net/ ... uns/trunk/
Everything else should be set up like my screenshot by default.
Click Ok and watch as Tortoise SVN "Checks Out" or in other words Downloads the latest revision to the SG 1.1 or SG 1.0 source. (Whichever you chose to use)
COMPILING:
Now you have the source code and all the SDKs that you need to compile.
Open up your SG Source Code folder and open up the code folder. There should be a Visual Studio Project named smokinguns. Open This.
Once Visual Studio or Express is up and running you need to set it up to find the SDKs.
Click Tools->Options.
![Image](http://img22.imageshack.us/img22/4520/toolsoptionsv.th.jpg)
Then go to Projects and Solutions->VC++ Directories.
Now in the Show Directories box make sure it says include. Then hit the Folder icon for a new line and on that new line click the "..." to browse for the directories you need. Add the SDK Directories for OpenAL and DirectX. Make sure its the SDK\include folders.
![Image](http://img22.imageshack.us/img22/3035/include.th.jpg)
Now do the same thing for the Library files. Make sure you select the folder for your platform.
![Image](http://img22.imageshack.us/img22/6889/libr.jpg)
Once your done with adding these Directories click OK.
Hit Build->Build Solution.
![Image](http://img32.imageshack.us/img32/5610/builds.th.jpg)
It should compile with no errors or warnings.
Now you can start coding on Smokin' Guns!
![Very Happy :D](./images/smilies/biggrin.gif)
P.S. If anyone finds a mistake or has trouble don't be afraid to post
![Smile :)](./images/smilies/smile.gif)