Build the StepMania Source in Windows
[edit]
Install required software
The following software is required to build StepMania:
- Visual C++ .NET 2003, Visual C++ .NET 2005, or Visual C++ 2005 Express Edition (free)
- If using Visual C++ 2005 Express Edition, install the Visual C++ Express Edition SP1 update - Otherwise you will encounter a std::exception link error.
- DirectX SDK - Any version 8 or newer will do. Download the DirectX 9.0 SDK from Microsoft.
- Windows Platform SDK - This installed automatically with Professional and Enterprise editions of C++. If you're using Visual C++ 2005 Express Edition, you'll need to download and install the latest Windows Platform SDK from Microsoft.
[edit]
Configure Visual C++ paths
- Open Visual Studio
- Click Tools -> Options.
- Click Projects -> VC++ Directories
- Change the Show directories for: drop-down to Includes
- Add an entry for c:\DXSDK\includes (where c:\DXSDK\ is the location the DirectX SDK that you have installed)
- (Visual C++ 2005 Express Edition only) Add an entry for c:\WindowsPlatformSDK\include (where C:\WindowsPlatformSDK\ is the location of the DirectX SDK that you have installed). Also add entries for C:\WindowsPlatformSDK\include\atl and C:\WindowsPlatformSDK\include\mfc as well.
- Change the Show directories for: drop-down to Libraries
- Add an entry for c:\DXSDK\lib (where c:\DXSDK\ is the location the DirectX SDK that you have installed)
- (Visual C++ 2005 Express Edition only) Add an entry for c:\WindowsPlatformSDK\lib (where C:\WindowsPlatformSDK\ is the location of the DirectX SDK that you have installed).
[edit]
All done
Now click Build and wait a few minutes for Visual C++ to do its thing.
[edit]
TroubleShooting
Windows Only: If you downloaded the source with CVS from Cygwin, and during/after compiling with visual studio get the error message 'Access Denied' or 'Application Failed to Initialized (error 0xC00000CC)', make sure that the DLL's and EXE's that are in the stepmania source are Marked as Read+Execute --Dom

