First, GUI mode
Install cmake, run cmak-gui. exe, set the source and build directory, as well as the directory where vtkData is located, figurate, generate. The related process is introduced in the network resources such as baidu library.
Two, command line mode (DOS command)
CmMakelist.txt. The DOS command cmake. Note that the parameter after cmake is the directory where cMakelists.txt is located, and the CPP and header files required are also in that directory.
Cmake is a tool to configure the project as per cmakelists.txt and then compile it in VS.
Read More:
- [VTK] cmake compiling VTK
- Summary of problems encountered in compiling and installing vtk7 + vs2013 / 2015 + cmake
- Problems in compiling VTK with cmake: solutions to error configuration process, project files may be invalid
- To solve problems in cmake VTK: error configuration process, project files may be invalid
- Edge detection: two methods
- Two deformation methods of tensorflow image
- Firefox: How to Solve “Network Protocol Error” (Two Methods)
- Common mistakes and solutions of cmake + QT + VTK
- Two methods of fixing WPF menu bar after scrolling to the top
- In windows, “cmake” is not an internal or external command, nor a runnable program or batch file.
- Idea running Flink program reported an error: static methods in interface require- target:jvm-1.8
- The collapse pits of VTK projects that are not generated by cmake
- Qt5 when cmake configures VTK_ The solution of dir-notfound
- CMake_ Compiling VTK_ 9.0.0 running vtkcommoncolor DLL has access conflict
- On the problem that VTK + QT process can’t end after closing the program
- Python program uses OS. System () method to call exe program, resulting in no response of main program process
- CMake Error at CMakeLists.txt:5 (PROJECT): The CMAKE_C_COMPILER: cl is not a full path
- Solutions to several VTK compilation errors (vtk5.8 + VS2010)
- CMake Error: Could not find CMAKE_ROOT !!!
- Configuration, compilation and installation of vtk8.1 in qt5.9