Running and Verification
Procedure
- Use PuTTY to log in to the server as the root user.
- Check whether GCC for openEuler has been loaded.
gcc -v
If the command output contains the GCC for openEuler version information, GCC for openEuler has been loaded.
- Running VTK requires invoking the library. You can use an example test to check whether VTK can be run. You can run the git clone command to download it.
git clone https://github.com/lorensen/VTKExamples.git
- Go to the following directory:
cd VTKExamples cd build
- Perform the compilation.
cmake .. -DVTK_DIR:PATH=/usr/local/VTK-9.0.1 -DBUILD_TESTING:BOOL=ON make
- Test the generated test case file.
ctest

Parent topic: VTK 9.0.1 Porting Guide (openEuler 20.03)