Compiling Fuego Go Engine on Windows

The official Fuego documentation provides an excellent summary of the compiling process and can be found in the following links:
Fuego documentation (This documentation is NOT as current as compiling the SVN documentation directly with Doxygen)
MinGW and MSYS
Microsoft Visual Studio

Here are a few points of clarification above and beyond the official Fuego resources:

  1. Instead of compiling the Boost libraries from source yourself, you can directly download a copy of the compiled Boost binaries for Windows here
  2. Fuego can be compiled as 32-bit OR 64-bit. However, if compiling as 64-bit, you must also have compiled the Boost libraries as 64-bit using:
    • Visual Studio 2008
    • bjam --toolset=msvc-9.0 address-model=64 --build-type=complete 
      
    • Visual Studio 2010
    • bjam --toolset=msvc-10.0 address-model=64 --build-type=complete 
      

      (Stack Overflow Reference)

    Of course, when compiling Fuego you must also specify x64 (in Visual Studio this can be done by creating a new Platform x64 Build Configuration under Build->Configuration Manager)

  3. For both Visual Studio and MinGW/MSYS, if compiling as 32-bit, it is necessary to enable the Large Address Aware linker flag to avoid the 32-bit process being limited to 2GB of RAM.
  4. If using an SVN copy and attempting to compile with MinGW/MSYS, you will need a ./configure script. This will be generated by running the ./setup-build.sh script first from within the MSYS prompt. (./setup-sh)