To compile Fox under MacOS X, first you need to compile [http://wxwidgets.org wxWidgets] (ex-wxWindows), then Fox.
Note 1: although wxWidgets is a great project, they have 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.2), but probably not for others.
Note 2: of course you need the Apple developper tools (XCode), which can be [http://developer.apple.com/ downloaded freely from apple]. The current compilation of Fox with the aqua look requires Xcode v2.2, although v2.1 may also work.
Compiling Fox with the wxMac widget set (i.e. with the native "Aqua" look)
Used paths:
wxWidgets is installed in your $HOME/dev/wxdir/
Fox is in $HOME/dev/Fox/
Compiling wxWidgets
Download wxMac-2.6.2.tar.gz from http://wxwidgets.org in $HOME/dev/
- Then compile wxMac using:
tar -xzf wxMac-2.6.2.tar.gz mkdir wxMac-build cd wxMac-build/ ../wxMac-2.6.2/configure --with-opengl --enable-optimise --disable-shared --without-odbc --enable-monolithic --prefix=$HOME/dev/wxdir make mkdir $HOME/dev/wxdir make install make clean
Compiling Fox
From XCode: Download the Fox source code, then open the Fox/Fox.xcodeprojfile with Xcode (just double-click on the Fox.xcodeproj file). From XCode, select the Fox target, choose the configuration (either G3, G4 or G5) depending on your processor, and build the target. You can also choose the Fox-NoGUI target, if you want to obtain the version of Fox that does not use the GUI and can be run on servers.
From the command-line: go to the Fox directory, and depending on your processor, type make G3 or make G4 or make G5 depending on you processor. Just use make if you want to obtain all. You can append -j2 to the make command if you want to use two processors during compilation.
The built applications are in Fox/build/{PROCESSOR}/
Compiling Fox with the wxGTK widget set (i.e. with the X11 GTK look)
Used paths:
wxWidgets is installed in your $HOME/dev/wxGTK-build/
Fox is in $HOME/dev/Fox/
Compiling wxWidgets
FOX Wiki