I’m trying to build SlicerVirtualReality on Windows, but I’m getting this error:
3> CMake Error at C:/Program Files/CMake/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message): 3> Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
after which I’m getting this error:
4> CMake Error at C:/d/S4R/VTK/CMake/vtkModuleAPI.cmake:140 (message): 4> Requested modules not available: 4> 4> vtkRenderingOpenVR 4> Call Stack (most recent call first): 4> C:/d/S4R/VTK-build/VTKConfig.cmake:130 (vtk_module_config) 4> VirtualReality/MRML/CMakeLists.txt:6 (find_package)
I’m not sure if they are related, but I have the feeling they are, because I can build other extensions like MarkupsToModel or SlicerRT without problems.
The reason this computer is different from my other computers on which SlicerVirtualReality builds fine is that I installed a Python 3.7 on this one. There was nothing in the environment variables related to that other python installation other than a path, but the error didn’t go away after removing that either.
Does anyone has an idea what to try next? Thanks a lot!