Wednesday, January 04, 2017

Flamerobin Building instructions for Windows 10 (Visual Studio 2015) x64

I will follow the instructions from BUILD.txt

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

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

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

Download boost 1.62.x  (Unzip it)
open cmd.exe
run
cd boost_1_62_0
bootrap.bat
b2 install address-model=64 link=static --toolset=msvc-14.0 --prefix=c:\boost

I copy pasted boost folder from 

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

from cmd.exe run 

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

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

No comments :