You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

!This is a draft page, subject to review !

This is a guide for building the release artifacts of MiNiFi C++ for Windows. Follow it to create the artifacts and document the process as described in the documentation section.

Required environment

Operating System: Microsoft Windows 10 x64

Recommended hardware: at least 4 CPU cores and 16 GiB RAM

Required software

Build process

To build the 64-bit msi execute the following steps:

  1. Create the C:\Development directory
  2. Open x64 Native Tools Command Prompt for VS 2017
  3. Execute the following commands
    cd C:\Development
    git clone https://github.com/apache/nifi-minifi-cpp.git
    cd nifi-minifi-cpp
    git checkout <tag>
    win_build_vs.bat build64 /64 /T /K /P
  4. The artifact will be at C:\Development\nifi-minifi-cpp\build64\nifi-minifi-cpp.msi

(Optional) If you want to build the 32-bit msi as well, execute the following steps (after completing the 64-bit build):

  1. Open x86 Native Tools Command Prompt for VS 2017
  2. Execute the following commands
    cd C:\Development\nifi-minifi-cpp
    win_build_vs.bat build32 /T /K /P
  3. The artifact will be at C:\Development\nifi-minifi-cpp\build32\nifi-minifi-cpp.msi

Documentation

To document how a particulate release was built, duplicate this page (as it can change over time and will no longer reflect the process that was followed) and substitute the example values:

InformationHow to obtainValue
git tag of the used sourceKnowing this is a precondition for starting the buildrel/minifi-cpp-0.7.0
OS versionOpen "About your PC" and use Edition, Version and OS build under the Windows specifications sectionWindows 10 Pro 1809 17763.914
MSVC versionRun cl from x64 Native Tools Command Prompt for VS 2017 and extract the version19.16.27034
VC Redistributable Merge Module VersionRun set VCToolsRedistDir from x64 Native Tools Command Prompt for VS 2017 and extract the version14.16.27012
CMake versionRun cmake --version and extract the version3.16.0
git versionRun git --version and extract the version2.24.0.windows.2
WiX Toolset versionRun the WiX application which displays the versionv3.11.2.4516



  • No labels