Already did, it's in the zip file with the source code (compiling.txt). Covers both Visual Studio and Mingw-w64 with gcc 7.1.
A: compiling with visual studio 2017:
- download and install python 3.5 (or higher)
- download and install visual studio 2017
- download nasm and gnu make (including support files)
- download boost (version 1.64 or higher)
compiling boost:
- extract the boost source code
- start a visual studio developer command prompt, go to the boost directory,
and create a .cmd file containing the following:
---8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<---
call "%VS150COMNTOOLS%..\..\VC\vcvarsall.bat" x86
set cores=%NUMBER_OF_PROCESSORS%
echo Building boost with %cores% cores
call bootstrap.bat
rem Most libraries can be static libs
b2 -j%cores% toolset=msvc-14.1 address-model=32 architecture=x86 define=_WIN32_WINNT=0x0601 link=static threading=multi runtime-link=shared --build-type=minimal stage --stagedir=stage/win32
b2 -j%cores% toolset=msvc-14.1 address-model=32 architecture=x86 define=_WIN32_WINNT=0x0601 link=static threading=multi runtime-link=static --build-type=minimal stage --stagedir=stage/win32
pause
---8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<---
- execute the batchfile.
compiling fb alpha:
- extract the fba source code
- place nasm and the gnu make executable along with it's support files in the same directory
- double-click FB Alpha.sln to open the project in visual studio
- once the project is opened, go into the property manager,
under the configuration you want to build, right-click the fb alpha user property sheet,
select "properties" from the menu; gp to the VC++ directories tab,
set the directories boost to the correct locations, e.g.:
<drive>:<directory\boost_1_65_1;$(IncludePath)
<drive>:<directory\boost_1_65_1\stage\win32\lib;$(LibraryPath)
then go to the nmake tab and set the buid/rebuild commamd lines to contain the options you want
- select the configuration you just edited in the configuration manager and build it
// ---
B: compiling with mingw-w64
- download and install python 3.5 (or higher)
- download and install mingw-w64
- download nasm
- download boost (version 1.64 or higher)
compiling boost:
- extract the boost source code
- start a mingw command prompt, go to the boost directory,
and create a .cmd file containing the following:
---8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<---
set cores=%NUMBER_OF_PROCESSORS%
echo Building boost with %cores% cores
call bootstrap.bat
rem Most libraries can be static libs
b2 -j%cores% toolset=gcc address-model=32 architecture=x86 define=_WIN32_WINNT=0x0601 link=static threading=multi runtime-link=shared --build-type=minimal stage --stagedir=stage/win32
b2 -j%cores% toolset=gcc address-model=32 architecture=x86 define=_WIN32_WINNT=0x0601 link=static threading=multi runtime-link=static --build-type=minimal stage --stagedir=stage/win32
pause
---8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<---
- execute the batchfile.
compiling fb alpha:
- extract the fba source code
- place nasm in the same directory
- edit makefile.mingw.user.mk and set the variables you want, then
make sure the additional paths has the correct locations for boost, e.g.
boost_ver = 1_65
user_inc = <drive>:<directory/boost_1_65_1
user_lib = <drive>:<directory/boost_1_65_1/stage/win32/lib
- start a mingw command prompt, and go to the fba source directory
- type mingw32-make