|Deletions are marked like this.||Additions are marked like this.|
|Line 2:||Line 2:|
|To compile Fox under windows, first you need to compile [http://wxwidgets.org wxWidgets] (''ex-wxWindows''), which is the most complex step. Then you compile Fox.||== Compiling Fox on windows ==
To compile Fox on windows, first you need to compile [http://wxwidgets.org wxWidgets] (''ex-wxWindows''), which is the most complex step. Then you compile Fox.
Compiling Fox on windows
To compile Fox on windows, first you need to compile [http://wxwidgets.org 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.6.1), but probably not for others.
Note2: as a text/programming editor under windows, I recommand the free [http://www.crimsoneditor.com/ Crimson Editor].
To compile Fox on windows, you will need to download and install the [http://msdn.microsoft.com/vstudio/express/visualc/ Visual C++ 2005 (Express Edition)], which can be downloaded for free. You will also need to install the "Win32 Platform SDK", which must be downloaded separately.
Download the installer from the [http://wxwidgets.org/downld2.htm 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.
Answer Yes to all when asked to convert the projects.
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++ 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.
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.