[Paraview] ParaView + OpenVR (UNCLASSIFIED)
Su, Simon M CIV USARMY RDECOM ARL (US)
simon.m.su.civ at mail.mil
Thu Jan 18 18:29:17 EST 2018
CLASSIFICATION: UNCLASSIFIED
Hello,
I am wondering how to build a version of ParaView with OpenVR plugin? Which version of OpenVR shall I use? I used the OpenVR from https://github.com/ValveSoftware/openvr with just basic/minimal cmake option. I am using the following cmake line for ParaView
cmake ..\paraview -DCMAKE_INSTALL_PREFIX=U:\tools\ParaView\ParaView -DCMAKE_BUILD_TYPE=Release -G Ninja -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_QT_VERSION=5 -DPARAVIEW_USE_MPI:BOOL=ON -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON -DBOOST_INCLUDEDIR=U:/tools/boost/boost-1.65.1/include/boost-1_65_1 -DBOOST_ROOT=U:/tools/boost/boost-1.65.1 -DModule_vtkAcceleratorsVTKm:BOOL=ON -DModule_vtkRenderingOpenVR:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_OpenVR:BOOL=ON -DOPENVR_INCLUDE_DIR=U:/tools/OpenVR/OpenVR/include -DOPENVR_LIBRARY=U:/tools/OpenVR/OpenVR/lib/openvr_api64.lib
I am running into the following error
C:\Users\one\build\ParaView\b>ninja
[47/14039] Building CXX object VTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\vtkOpenVRRenderWindow.cxx.obj
FAILED: VTK/Rendering/OpenVR/CMakeFiles/vtkRenderingOpenVR.dir/vtkOpenVRRenderWindow.cxx.obj
C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\bin\Hostx64\x64\cl.exe /nologo /TP -DMPICH_IGNORE_CXX_SEEK -DVTK_IN_VTK -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -DvtkRenderingOpenVR_EXPORTS -I. -IVTK\Rendering\OpenVR -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR -IVTK\Common\Core -IC:\Users\one\build\ParaView\paraview\VTK\Common\Core -IVTK\Utilities\KWIML -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWIML -IVTK\Utilities\KWSys -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWSys -IVTK\ThirdParty\utf8 -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\utf8 -IVTK\Filters\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Sources -IVTK\Common\ComputationalGeometry -IC:\Users\one\build\ParaView\paraview\VTK\Common\ComputationalGeometry -IVTK\Common\DataModel -IC:\Users\one\build\ParaView\paraview\VTK\Common\DataModel -IVTK\Common\Math -IC:\Users\one\build\ParaView\paraview\VTK\Common\Math -IVTK\Common\Misc -IC:\Users\one\build\ParaView\paraview\VTK\Common\Misc -IVTK\Common\System -IC:\Users\one\build\ParaView\paraview\VTK\Common\System -IVTK\Common\Transforms -IC:\Users\one\build\ParaView\paraview\VTK\Common\Transforms -IVTK\Common\ExecutionModel -IC:\Users\one\build\ParaView\paraview\VTK\Common\ExecutionModel -IVTK\Filters\Core -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Core -IVTK\Filters\General -IC:\Users\one\build\ParaView\paraview\VTK\Filters\General -IVTK\IO\Image -IC:\Users\one\build\ParaView\paraview\VTK\IO\Image -IVTK\Utilities\DICOMParser -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\DICOMParser -IVTK\Utilities\MetaIO\vtkmetaio -IVTK\Utilities\MetaIO -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\MetaIO -IVTK\ThirdParty\zlib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\zlib -IVTK\ThirdParty\jpeg -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\jpeg -IVTK\ThirdParty\png -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\png -IVTK\ThirdParty\tiff\vtktiff\libtiff -IVTK\ThirdParty\tiff -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\tiff -IVTK\IO\XMLParser -IC:\Users\one\build\ParaView\paraview\VTK\IO\XMLParser -IVTK\IO\Core -IC:\Users\one\build\ParaView\paraview\VTK\IO\Core -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4\vtklz4\lib -IVTK\ThirdParty\lz4\vtklz4 -IVTK\ThirdParty\lz4 -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4 -IVTK\ThirdParty\expat -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\expat -IVTK\Imaging\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Sources -IVTK\Imaging\Core -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Core -IVTK\Interaction\Style -IC:\Users\one\build\ParaView\paraview\VTK\Interaction\Style -IVTK\Filters\Extraction -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Extraction -IVTK\Filters\Statistics -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Statistics -IVTK\Imaging\Fourier -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Fourier -IVTK\ThirdParty\alglib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\alglib -IVTK\Rendering\Core -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Core -IVTK\Common\Color -IC:\Users\one\build\ParaView\paraview\VTK\Common\Color -IVTK\Filters\Geometry -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Geometry -IVTK\Interaction\Widgets -IC:\Users\one\build\ParaView\paraview\VTK\Interaction\Widgets -IVTK\Filters\Hybrid -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Hybrid -IVTK\Filters\Modeling -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Modeling -IVTK\Imaging\Color -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Color -IVTK\Imaging\General -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\General -IVTK\Imaging\Hybrid -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Hybrid -IVTK\Rendering\Annotation -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Annotation -IVTK\Rendering\FreeType -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\FreeType -IVTK\ThirdParty\freetype -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\freetype -IVTK\Rendering\Volume -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Volume -IVTK\IO\XML -IC:\Users\one\build\ParaView\paraview\VTK\IO\XML -IVTK\Rendering\OpenGL2 -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenGL2 -IVTK\ThirdParty\glew -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\glew -IVTK\Rendering\VolumeOpenGL2 -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\VolumeOpenGL2 -IVTK\Imaging\Math -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Math -IU:\tools\OpenVR\OpenVR\include -IVTK\Utilities\KWSys\vtksys /DWIN32 /D_WINDOWS /W4 /GR /EHsc /MD /O2 /Ob2 /DNDEBUG /showIncludes /FoVTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\vtkOpenVRRenderWindow.cxx.obj /FdVTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\ /FS -c C:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR\vtkOpenVRRenderWindow.cxx
C:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR\vtkOpenVRRenderWindow.cxx(281): error C2039: 'IsInputFocusCapturedByAnotherProcess': is not a member of 'vr::IVRSystem'
U:\tools\OpenVR\OpenVR\include\openvr.h(1375): note: see declaration of 'vr::IVRSystem'
[56/14039] Building CXX object VTK\Wrapping\Python\CMakeFi...tkCommonCorePythonD.dir\vtkConditionVariablePython.cxx.obj
ninja: build stopped: subcommand failed.
Any help is much appreciated.
Thanks
-simon
CLASSIFICATION: UNCLASSIFIED
More information about the ParaView
mailing list