Wednesday, January 04, 2017

Flamerobin Building instructions for Windows 10 (Visual Studio) x64

I will follow the instructions from BUILD.txt

Download Visual Studio community edition https://www.visualstudio.com

Download and unzip wxwidgets 3.x.x in C:\wxwidgets

Open solution wx_vc1x.sln in Visual Studio 
Click build solution (Debug and x64)

Download boost 1.7x.x  (Unzip it)
open cmd.exe
run
cd boost_1_7x_x

run 
"C:\Program Files\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat"


bootstrap.bat
b2 install address-model=64 link=static --prefix=c:\boost

I copy pasted (in explorer) boost folder from 

c:\boost\include\boost-1_xx\ to 
c:\boost


Enter flamerobin source dir

For Windows you must also set a BOOST_ROOT environment variable which points to the Boost root directory You also need to set a BOOST_LIB_DIR environment variable which points to the directory where the Boost libraries are. c:\boost\lib

For include files i had to move generated includes to match this directory include c:\boost\boost\*hpp

nmake -f makefile.vc WXDIR=c:\wxwidgets FINAL=0 USEDLL=0

Alternative way open flamerobin solution
Change Active config to Release Dynamic |x64

Install InnoSetup if you wan't to create the installer