gcc -v
若回显信息中包含GCC for openEuler版本信息,说明已加载。
git clone https://github.com/lorensen/VTKExamples.git
cd VTKExamples cd build
cmake .. -DVTK_DIR:PATH=/usr/local/VTK-9.0.1 -DBUILD_TESTING:BOOL=ON make
ctest