Re: [Paraview] [Non-DoD Source] Re: ParaView + OpenVR (UNCLASSIFIED)
CLASSIFICATION: UNCLASSIFIED Thanks Ken -simon -Original Message- From: Ken Martin [mailto:ken.mar...@kitware.com] Sent: Friday, January 19, 2018 9:55 AM To: Su, Simon M CIV USARMY RDECOM ARL (US)Cc: Benson Muite ; ParaView Subject: Re: [Non-DoD Source] Re: [Paraview] ParaView + OpenVR (UNCLASSIFIED) All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. Those flags look reasonable, but last I checked the OpenVR CMake files had some minor issues. I use a small patch file for OpenVR 1.0.10 in the paraview superbuild. The patch file is here Caution-https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/projects/win32/patches/openvr-improve-install.patch < Caution-https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/projects/win32/patches/openvr-improve-install.patch > I think it mostly fixes install issues and shared library support. On Fri, Jan 19, 2018 at 9:49 AM, Su, Simon M CIV USARMY RDECOM ARL (US) > wrote: CLASSIFICATION: UNCLASSIFIED Hi Ken, I guess that's the price to pay when working with cutting edge technology :) Thanks for the OpenVR version info. I used the release version of it. What is your cmake flag for OpenVR? I just used cmake ../OpenVR -DCMAKE_INSTALL_PREFIX=/path/to/install/OpenVR -DCMAKE_BUILD_TYPE=Release Any other variable I need to specify? I will try to compile it with OpenVR version 1.0.10. Thank you And Benson, yes the binary version worked ok with our HTC Vive. Thanks -simon -Original Message- From: ParaView [Caution-mailto:paraview-boun...@paraview.org < Caution-mailto:paraview-boun...@paraview.org > ] On Behalf Of Ken Martin Sent: Friday, January 19, 2018 9:42 AM To: Benson Muite > Cc: ParaView > Subject: [Non-DoD Source] Re: [Paraview] ParaView + OpenVR (UNCLASSIFIED) All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. Hi Simon & Benson, I would bet steam has changed their API (again :-) and removed that method. Maybe try downloading/git checkout using the 1.0.10 version of OpenVR. That is what I last tested with and it should build fine against that. Thanks! Ken On Thu, Jan 18, 2018 at 11:50 PM, Benson Muite < Caution-Caution-mailto:benson.mu...@ut.ee < Caution-mailto:benson.mu...@ut.ee > > > wrote: Hi, Does binary release version work for you? (At present only Windows is available), seem to be a few things to fix on Linux & Mac. Have you tried build using flags similar to binary release version? Caution-Caution-https://blog.kitware.com/taking-paraview-into-virtual-reality/ < Caution-https://blog.kitware.com/taking-paraview-into-virtual-reality/ > < Caution-Caution-https://blog.kitware.com/taking-paraview-into-virtual-reality/ < Caution-https://blog.kitware.com/taking-paraview-into-virtual-reality/ > > Benson On 01/19/2018 01:29 AM, Su, Simon M CIV USARMY RDECOM ARL (US) wrote: 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 Caution-Caution-https://github.com/ValveSoftware/openvr < Caution-https://github.com/ValveSoftware/openvr > < Caution-Caution-https://github.com/ValveSoftware/openvr < Caution-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
Re: [Paraview] [Non-DoD Source] Re: ParaView + OpenVR (UNCLASSIFIED)
CLASSIFICATION: UNCLASSIFIED Hi Ken, I guess that's the price to pay when working with cutting edge technology :) Thanks for the OpenVR version info. I used the release version of it. What is your cmake flag for OpenVR? I just used cmake ../OpenVR -DCMAKE_INSTALL_PREFIX=/path/to/install/OpenVR -DCMAKE_BUILD_TYPE=Release Any other variable I need to specify? I will try to compile it with OpenVR version 1.0.10. Thank you And Benson, yes the binary version worked ok with our HTC Vive. Thanks -simon -Original Message- From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Ken Martin Sent: Friday, January 19, 2018 9:42 AM To: Benson MuiteCc: ParaView Subject: [Non-DoD Source] Re: [Paraview] ParaView + OpenVR (UNCLASSIFIED) All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. Hi Simon & Benson, I would bet steam has changed their API (again :-) and removed that method. Maybe try downloading/git checkout using the 1.0.10 version of OpenVR. That is what I last tested with and it should build fine against that. Thanks! Ken On Thu, Jan 18, 2018 at 11:50 PM, Benson Muite > wrote: Hi, Does binary release version work for you? (At present only Windows is available), seem to be a few things to fix on Linux & Mac. Have you tried build using flags similar to binary release version? Caution-https://blog.kitware.com/taking-paraview-into-virtual-reality/ < Caution-https://blog.kitware.com/taking-paraview-into-virtual-reality/ > Benson On 01/19/2018 01:29 AM, Su, Simon M CIV USARMY RDECOM ARL (US) wrote: 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 Caution-https://github.com/ValveSoftware/openvr < Caution-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:\Use rs\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
Re: [Paraview] [Non-DoD Source] Re: ParaView + OpenVR (UNCLASSIFIED)
Those flags look reasonable, but last I checked the OpenVR CMake files had some minor issues. I use a small patch file for OpenVR 1.0.10 in the paraview superbuild. The patch file is here https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/projects/win32/patches/openvr-improve-install.patch I think it mostly fixes install issues and shared library support. On Fri, Jan 19, 2018 at 9:49 AM, Su, Simon M CIV USARMY RDECOM ARL (US) < simon.m.su@mail.mil> wrote: > CLASSIFICATION: UNCLASSIFIED > > Hi Ken, > > I guess that's the price to pay when working with cutting edge technology > :) Thanks for the OpenVR version info. I used the release version of it. > What is your cmake flag for OpenVR? I just used > > cmake ../OpenVR -DCMAKE_INSTALL_PREFIX=/path/to/install/OpenVR > -DCMAKE_BUILD_TYPE=Release > > Any other variable I need to specify? I will try to compile it with OpenVR > version 1.0.10. Thank you > > And Benson, yes the binary version worked ok with our HTC Vive. > > Thanks > -simon > > -Original Message- > From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Ken > Martin > Sent: Friday, January 19, 2018 9:42 AM > To: Benson Muite> Cc: ParaView > Subject: [Non-DoD Source] Re: [Paraview] ParaView + OpenVR (UNCLASSIFIED) > > All active links contained in this email were disabled. Please verify the > identity of the sender, and confirm the authenticity of all links contained > within the message prior to copying and pasting the address to a Web > browser. > > > > > > > Hi Simon & Benson, > > I would bet steam has changed their API (again :-) and removed that > method. Maybe try downloading/git checkout using the 1.0.10 version of > OpenVR. That is what I last tested with and it should build fine against > that. > > Thanks! > Ken > > On Thu, Jan 18, 2018 at 11:50 PM, Benson Muite Caution-mailto:benson.mu...@ut.ee > > wrote: > > > Hi, > > Does binary release version work for you? (At present only Windows > is available), seem to be a few things to fix on Linux & Mac. > > > Have you tried build using flags similar to binary release version? > Caution-https://blog.kitware.com/taking-paraview-into- > virtual-reality/ < Caution-https://blog.kitware.com/taking-paraview-into- > virtual-reality/ > > > Benson > > On 01/19/2018 01:29 AM, Su, Simon M CIV USARMY RDECOM ARL (US) > wrote: > > > 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 > Caution-https://github.com/ValveSoftware/openvr < Caution- > 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