我要评分
获取效率
正确性
完整性
易理解

Running and Verification

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. 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.

  3. 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
  4. Go to the following directory:
    cd VTKExamples
    cd build
  5. Perform the compilation.
    cmake .. -DVTK_DIR:PATH=/usr/local/VTK-9.0.1 -DBUILD_TESTING:BOOL=ON
    make
  6. Test the generated test case file.
    ctest