Wednesday, November 18, 2015

Flamerobin Building instructions for Windows 10 (Visual Studio 2015)

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 Win32/x64)

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

from cmd.exe run 

"C:\Program Files (x86)\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

Install InnoSetup if you wan't to create the installer

8 comments:

Thunderboy said...

Please, generate a FlameRobin build for Win32 with the most recent source code!
In my opinion, we have to have more frequent builds to better evaluate whether we should or should not add the FlameRobin in the official Firebird 3.0 installer.

Thanks,
Luciano

Giacomo said...

Thank You, Your guide was very useful!

Just, with today's version:

Flamerobin SVN: 2360
wxWigets library 3.02

It won't compile. To solve I added wxscintilla.lib in VisualStudio project options:

linker>input>additional dependencies

Popa Adrian Marius said...

Thank you ,i have fixed now the lamerobin_flamerobin.vcproj also i will add it now to the solution too

https://github.com/mariuz/flamerobin/commit/2293dba5926fedf671220c35eb544788962cbf79

Popa Adrian Marius said...

@giacomo Do you have an working solution , i need to do a diff with what i have , still got linking issues

Popa Adrian Marius said...

Forget it i solved it in meantime

Thunderboy said...

Was someone able to generate a recent FlameRobin build for Win x86?
The latest snapshot build is too old
(See here: http://sourceforge.net/projects/flamerobin/files/flamerobin-snapshots/0.9.x/)

Rashid Abzalov said...

What is this mean? - "For include files i had to move generated includes to match this directory include c:\boost\boost\*hpp"

In which directory I need to transfer files "c:\boost\boost\*hpp"?

Popa Adrian Marius said...

I copy pasted boost folder from

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