Microsoft has released a free version of it’s Visual C++ 2005 compiler:
http://msdn.microsoft.com/vstudio/express/visualc/default.aspx
If you decide to install it, make sure you install the Platform SDK
and follow all the instructions to enable compiling Win32 API programs:
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
Here’s how to build SDL with Visual C++ 2005 Express Edition:
- Download and unpack the latest CVS snapshot:
http://www.libsdl.org/cvs/SDL-1.2.zip - Unpack VisualC.zip into the current folder. If you accidentally
create a subfolder, move the VisualC folder in the subfolder back
into the top level of the SDL-1.2 folder. - Open the SDL solution in the VisualC directory.
- Allow Visual C++ to convert the project to the latest version.
- Remove the Version.rc resource from the project.
- Build!
Enjoy!
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment