Windows (98/2000) Compilation / Development GuideLink
To compile RetroArch targetting Windows 98 and 2000, we will use Microsoft Visual C++ 2005. This is the last version of Visual C++ that can target 98/2000.
This guide assumes the host OS is Windows 2000 Professional. VC2005 does run on Windows XP and Vista but this has not been tested with RetroArch.
Internet Explorer 6 Service Pack 1 (required by VC2005)
DirectX SDK February 2005 (versions after this date will not install on Windows 2000)
Visual C++ 2005 Express (or Pro)
Windows 98 Second Edition is supported, but First Edition has not been tested. If you do try to target it, make sure that your DirectX SDK is no newer than July 2004.
Setting up a working git shell is beyond the scope of this document. msysgit 220.127.116.11 is known to work locally but is unable to communicate with any remote servers on Windows 2000, and the github website does not load in IE6 either.
The first step is to obtain RetroArch's source tree. You can clone the repository directly from GitHub
git clone https://github.com/libretro/RetroArch.git retroarch
For subsequent builds you will need to pull the changes from the repo
cd retroarch git pull
To compile RetroArch, first open the solution file located at pkg/msvc/RetroArch-msvc2005.sln with Visual C++ 2005.
Next we select the desired solution configuration:
The choices are:
1 2 3 4
Debug Debug NoAccel Release Release NoAccel
For development purposes you can use the Debug configurations, otherwise use Release. The "NoAccel" versions do not include Direct3D or OpenGL support (but keeps DirectInput and DirectSound support).
Now press F7 to build the solution, or go to Build -> Build Solution.
After the build is finished you should be able to find RetroArch-msvc2005.exe in the pkg/msvc/msvc-2005/<configuration> directory, where
<configuration> is the one you chose earlier such as Debug or Release. To start the newly compiled retroarch you can press F5 in Visual C++ or simply navigate to the .exe file and run it there.