[vtk-developers] OpenVR compile error with new module system

Aron Helser aron.helser at kitware.com
Wed Jan 9 16:11:54 EST 2019


I found a typo in the OpenVR cmake:

diff --git a/Rendering/OpenVR/CMakeLists.txt
b/Rendering/OpenVR/CMakeLists.txt
index a091afc3ce..810b062005 100644
--- a/Rendering/OpenVR/CMakeLists.txt
+++ b/Rendering/OpenVR/CMakeLists.txt
@@ -49,8 +49,8 @@ foreach (geometry_file IN LISTS geometry_files)
     SOURCE_OUTPUT source
     BINARY
     NUL_TERMINATE)
-  list(APPEND sources "${source}")
-  list(APPEND headers "${source}")
+  list(APPEND geometry_sources "${source}")
+  list(APPEND geometry_headers "${header}")
 endforeach ()

After this fix, I still get a related error:

ninja: error:
'C:/akit/vtk/src/Rendering/OpenVR/vtkAvatarHead.h', needed by
'lib/vtk/hierarchy/VTK/vtkRenderingOpenVR-hierarchy.txt', missing and no
known rule to make it

I'm not sure about this .txt file or what to do next?

Thanks,
Aron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20190109/3fc132cf/attachment.html>


More information about the vtk-developers mailing list