## Compiling Fox on windows (old instructions)

To compile Fox on windows, first you need to compile wxWidgets (ex-wxWindows), which is the most complex step. Then you compile Fox.

Note: although wxWidgets is a great project, they have had this nasty habit to change the organization of the compiled libraries naming, setup.h use, etc... So the instructions below will be correct for the given wxWidgets version (2.8.7), but probably not for others.

Note2: as a text/programming editor under windows, I recommand the free Crimson Editor.

### Compiling wxWidgets

• Download the installer from the wxWidgets website. It is better to get the installer (.exe) as it will setup the WXWIN variable environment for you). In the following, it is asssumed that you installed wxWidgets in C:\Dev\wxWidgets.

• Open C:\Dev\wxWidgets\build\msw\wx.dsw

• Select the Release configuration.

• For each sub-project of wxWidgets (adv, base, ..., xrc), right-click on the project name and edit its Properties, go to the Configuration Properties -> C/C++ - Code Generation and select Multi-Threaded (/MT) for the Runtime Library.

• Edit C:\Dev\wxWidgets\include\wx\msw\setup.h, and set #define wxUSE_GLCANVAS 1 (line 854 for wxWidgets 2.6.3).

• Now Build Solution from the Build menu. This will build all wxWidgets libraries, and will take 5-20 mn. The final message should say: Build: 18 succeeded, 0 failed, 0 up-to-date, 0 skipped.

### Compiling Fox

• Download the Fox source code and uncompress it as the C:\Dev\Fox directory

• Open the C:\Dev\Fox\Fox.sln project file.

• Then build the Fox solution.

None: Compile/Windows (last edited 2021-01-04 14:35:07 by VincentFavreNicolin)