You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will set up a virtual environment in the bootstrap folder, and guide you through the build process.
28
+
This will also download and install all dependencies required for the selected components.
29
+
It will also create a batch file (.\bootstrap\build_environment.bat),
30
+
which sets the necessary environment variables for the build, so it can be built without bootstrapping everytime.
31
+
32
+
33
+
## Alternative: Building via build script (advanced)
19
34
20
35
Apache NiFi MiNiFi C++ has been built on Window Server 2016, 2019, and Windows 10 operating systems. The project is CMake focused we suggest building via Visual Studio 2022 or our `win_build_vs.bat` script.
21
36
22
37
The project previously required OpenSSL to be installed. If you follow our build procedures, below, you will not need to install that dependency.
23
38
24
-
### Required software
39
+
####Required software
25
40
26
41
- Visual Studio 2022
27
42
-[CMake](https://cmake.org/download/)
@@ -31,26 +46,11 @@ The project previously required OpenSSL to be installed. If you follow our build
31
46
- (Optional) [WiX Toolset](https://wixtoolset.org/releases/) (only for building the MSI)
32
47
- (Optional) JDK (only for JNI support)
33
48
34
-
### JNI support
49
+
####JNI support
35
50
Though the project is written in C++, JNI functionality supports running Java processors stored in NiFi Archives. These can be run
36
51
in a much smaller memory footprint and consume fewer resources. If your systems do not support Java or you do not want a JDK installed, please use non-JNI builds.
This will set up a virtual environment in the bootstrap folder, and guide you through the build process.
49
-
It will also create a batch file (.\bootstrap\build_environment.bat),
50
-
which sets the necessary environment variables for the build, so it can be built without bootstrapping everytime.
51
-
52
-
53
-
## Building with Visual Studio
53
+
### Building with Visual Studio
54
54
55
55
Make sure your Visual Studio installation includes the "Visual C++ tools for CMake" and "Visual C++ ATL for x86 and x64" options.
56
56
You can also add these after installation using the Visual Studio Installer app. We also advise
@@ -64,7 +64,7 @@ that you build `minifi.lib` then `minifi.exe` targets. `Build All` works, too,
64
64
Once you have built these targets, you may use the `cpack` command to build your MSI. If you are building with JNI functionality the MSI will be
65
65
significantly larger (about 160 MB) since it contains the base NARs to run the standard set of Apache NiFi processors.
66
66
67
-
## Building via the build script
67
+
###Building via the build script
68
68
69
69
The preferred way of building the project is via the `win_build_vs.bat` script found in our root source folder. Its first parameter is mandatory, the directory in which it will build the project. `build` is a good default choice for this.
70
70
@@ -124,7 +124,7 @@ You can specify additional CMake arguments by setting the EXTRA_CMAKE_ARGUMENTS
0 commit comments