Hi,
thank you all for the answer and really detailed answer from you Vlad.
I have finally successfully build it by VS 2015 Community Edition :)
regards,
Karol Bieniaszewski
-Oryginalna wiadomość-
From: Vlad Khorsun via Firebird-devel
Sent: Friday, October 13, 2017 2:19 PM
To: firebird-devel@lists.sourceforge.net
Cc: Vlad Khorsun
Subject: [Firebird-devel] [SPAM] Re: Build sources
13.10.2017 12:16, liviuslivius wrote:
Hi,
I try to build Fb master from sources.
What is the recommended environment for Windows. Can i use MSVC14 Express?
I never used Express version by myself. I use VS 2015 Community Edition
currently
for testing VC14 builds.
Or it must be MSVC12? I see that for libtomcrypt is only MSVC12.sln.
MSVC12 is kind of official compiler on Windows. MSVC14 build system is
just updated.
When i tried to compile it under ide i got that command line switches /ZI
and /Gy are incompatibile.
It was error in Win32\Debug project files, fixed.
Is there some guide how to build FB from IDE? Or only possibility is build
from command line and then run from the ide to debug?
You need to use command line one time for the very first build for every
platform (32- or 64-bit):
1. open command prompt and point it to the builds\win32 folder
2. You may wish to set FB_PROCESSOR_ARCHITECTURE to the AMD64 or x86 value.
By default it will be set to the PROCESSOR_ARCHITECTURE value.
It defines what platform will be built - 64 or 32 bit correspondingly.
3. run following
- make_icu
- make_boot
- make_all (optional)
4. Now you may open builds\win32\msvc14\Firebird.sln in IDE and work as
usual
Note, build put binaries into
temp\$(PlatformName)\$(Configuration)\firebird folder.
For example: temp\x64\Debug\firebird for debug x64 build. If you want to
debug\run
firebird\utilities from IDE, you should put necessary .conf and
security4.fdb files
there. And, of course, add SYSDBA into security4.fdb. It is required to do
once,
after the first build.
make_all copies all necessary files into output_$(Configuration) folder,
this is
more-or-less what you see in snapshot builds.
VC14 produces a lot of the same warning C4595, you may ignore it until we
fix it.
Regards,
Vlad
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel