Please indicate the source of the reprint: http://blog.csdn.net/ndzjx/article/details/78044658
vs2010 Firebird:3.0 source code compilation steps: (take 64-bit as an example)
Ready to work:
1: Download the sed stream editor for Windows and install it,
https://ncu.dl.sourceforge.net/project/gnuwin32/sed/4.2.1/sed-4.2.1-bin.zip
https://ncu.dl.sourceforge.net/project/gnuwin32/sed/4.2.1/sed-4.2.1-dep.zip
2: Decompress separately
Copy the dll in sed-4.2.1-dep\bin to sed-4.2.1-bin\bin
Add the sed-4.2.1-bin\bin directory to the environment variable Path (enter sed.exe directly in the command line, it can be executed)
3: Install firebird3.0 and run it, the firebird Server must be required to be running during the compilation process
1) Install firebird, such as D:\FirebirdBuild_ROOT_X64, run install_service.bat in administrator mode
At this point, in the "Services" column of the task manager, you can see "FirebirdServerDefaultInstance"
2) Configure environment variables and execute our installation directory: FIREBIRD = D:\FirebirdBuild_ROOT_X64
4: Unzip the source code F:\firebird-B3_0_Release
5: Enter F:\firebird-B3_0_Release\builds\win32, edit setenvvar.bat
The settings here will interfere with us, so comment out these lines.
6: Administrator Cmd enter F:\firebird-B3_0_Release\builds\win32
Execute separately:
set vs_ver=msvc10
setmsvc_version=10
make_icu.bat
make_boot.bat
make_all.bat
7: At this time, I see that the directory files in F:\firebird-B3_0_Release\temp\x64\Release\firebird are similar to the directory files installed by our Firebird (except for some documents and configuration files, which are the same.)
Compiling for 32-bit is the same.
At this point, the compilation is complete.