How to fix: CMake Error Found relative path while evaluating include directories of

If CMake is telling you that you have relative paths, then you need to find and fix them.

Alternatively:

  1. The best approach is to check out and build VTK as in the VTK build instructions and make sure everything works. It should, if you adopt this approach. When this is done, then you can experiment.
  2. You could also look in unix_path.sh (windows_path.bat) for path settings. It is found in the top-level build directory where you build VTK.