I'm attempting to build OCCT from source on CentOS 6.6 using Cmake. The installation instructions say the VTK is not a mandatory package, but after running Cmake, make halts and says it can't find vtkType.h and other VTK header files. Any idea why it is looking for them in the first place?
So I installed and built VTK. I tried setting USE_VTK on and off and defined 3RDPARTY_VTK_INCLUDE_DIR in the Cmake output file CMakeCache.txt, and even tried moving the VTK header files into the OCCT tree in a place where I thought the build system would find them. The same error described above always occurred. Has anyone seen this before?