<div dir="ltr">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<div><br></div><div><a href="https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/projects/win32/patches/openvr-improve-install.patch">https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/projects/win32/patches/openvr-improve-install.patch</a><br></div><div><br></div><div>I think it mostly fixes install issues and shared library support.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 19, 2018 at 9:49 AM, Su, Simon M CIV USARMY RDECOM ARL (US) <span dir="ltr"><<a href="mailto:simon.m.su.civ@mail.mil" target="_blank">simon.m.su.civ@mail.mil</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">CLASSIFICATION: UNCLASSIFIED<br>
<br>
Hi Ken,<br>
<br>
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<br>
<br>
cmake ../OpenVR -DCMAKE_INSTALL_PREFIX=/path/<wbr>to/install/OpenVR -DCMAKE_BUILD_TYPE=Release<br>
<br>
Any other variable I need to specify? I will try to compile it with OpenVR version 1.0.10. Thank you<br>
<br>
And Benson, yes the binary version worked ok with our HTC Vive.<br>
<br>
Thanks<br>
-simon<br>
<br>
-----Original Message-----<br>
From: ParaView [mailto:<a href="mailto:paraview-bounces@paraview.org">paraview-bounces@<wbr>paraview.org</a>] On Behalf Of Ken Martin<br>
Sent: Friday, January 19, 2018 9:42 AM<br>
To: Benson Muite <<a href="mailto:benson.muite@ut.ee">benson.muite@ut.ee</a>><br>
Cc: ParaView <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>
Subject: [Non-DoD Source] Re: [Paraview] ParaView + OpenVR (UNCLASSIFIED)<br>
<br>
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.<br>
<br>
<br>
______________________________<wbr>__<br>
<br>
<br>
<br>
Hi Simon & Benson,<br>
<br>
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.<br>
<br>
Thanks!<br>
Ken<br>
<br>
On Thu, Jan 18, 2018 at 11:50 PM, Benson Muite <<a href="mailto:benson.muite@ut.ee">benson.muite@ut.ee</a> < Caution-mailto:<a href="mailto:benson.muite@ut.ee">benson.muite@<wbr>ut.ee</a> > > wrote:<br>
<br>
<br>
        Hi,<br>
<br>
        Does binary release version work for you? (At present only Windows is available), seem to be a few things to fix on Linux & Mac.<br>
<br>
<br>
        Have you tried build using flags similar to binary release version?<br>
        Caution-<a href="https://blog.kitware.com/taking-paraview-into-virtual-reality/" rel="noreferrer" target="_blank">https://blog.kitware.<wbr>com/taking-paraview-into-<wbr>virtual-reality/</a> < Caution-<a href="https://blog.kitware.com/taking-paraview-into-virtual-reality/" rel="noreferrer" target="_blank">https://blog.kitware.<wbr>com/taking-paraview-into-<wbr>virtual-reality/</a> ><br>
<br>
        Benson<br>
<br>
        On 01/19/2018 01:29 AM, Su, Simon M CIV USARMY RDECOM ARL (US) wrote:<br>
<br>
<br>
                CLASSIFICATION: UNCLASSIFIED<br>
<br>
                Hello,<br>
<br>
                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-<a href="https://github.com/ValveSoftware/openvr" rel="noreferrer" target="_blank">https://github.com/<wbr>ValveSoftware/openvr</a> < Caution-<a href="https://github.com/ValveSoftware/openvr" rel="noreferrer" target="_blank">https://github.com/<wbr>ValveSoftware/openvr</a> >   with just basic/minimal cmake option. I am using the following  cmake line for ParaView<br>
<br>
                cmake ..\paraview -DCMAKE_INSTALL_PREFIX=U:\<wbr>tools\ParaView\ParaView -DCMAKE_BUILD_TYPE=Release -G Ninja -DPARAVIEW_ENABLE_PYTHON:BOOL=<wbr>ON -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_QT_VERSION=5 -DPARAVIEW_USE_MPI:BOOL=ON -DPARAVIEW_USE_VISITBRIDGE:<wbr>BOOL=ON -DBOOST_INCLUDEDIR=U:/tools/<wbr>boost/boost-1.65.1/include/<wbr>boost-1_65_1 -DBOOST_ROOT=U:/tools/boost/<wbr>boost-1.65.1 -DModule_vtkAcceleratorsVTKm:<wbr>BOOL=ON -DModule_vtkRenderingOpenVR:<wbr>BOOL=ON -DPARAVIEW_BUILD_PLUGIN_<wbr>OpenVR:BOOL=ON -DOPENVR_INCLUDE_DIR=U:/tools/<wbr>OpenVR/OpenVR/include -DOPENVR_LIBRARY=U:/tools/<wbr>OpenVR/OpenVR/lib/openvr_<wbr>api64.lib<br>
<br>
                I am running into the following error<br>
<br>
                C:\Users\one\build\ParaView\b><wbr>ninja<br>
                [47/14039] Building CXX object VTK\Rendering\OpenVR\<wbr>CMakeFiles\vtkRenderingOpenVR.<wbr>dir\vtkOpenVRRenderWindow.cxx.<wbr>obj<br>
                FAILED: VTK/Rendering/OpenVR/<wbr>CMakeFiles/vtkRenderingOpenVR.<wbr>dir/vtkOpenVRRenderWindow.cxx.<wbr>obj<br>
                C:\PROGRA~2\MIB055~1\2017\<wbr>COMMUN~1\VC\Tools\MSVC\1412~1.<wbr>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\<wbr>paraview\VTK\Rendering\OpenVR -IVTK\Common\Core -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Common\Core -IVTK\Utilities\KWIML -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Utilities\KWIML -IVTK\Utilities\KWSys -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Utilities\KWSys -IVTK\ThirdParty\utf8 -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\ThirdParty\utf8 -IVTK\Filters\Sources -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Filters\Sources -IVTK\Common\<wbr>ComputationalGeometry -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Common\<wbr>ComputationalGeometry -IVTK\Common\DataModel -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Common\DataModel -IVTK\Common\Math -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Common\Math -IVTK\Common\Misc -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Common\Misc -IVTK\Common\System -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Common\System -IVTK\Common\Transforms -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Common\Transforms -IVTK\Common\ExecutionModel -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Common\<wbr>ExecutionModel -IVTK\Filters\Core -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Filters\Core -IVTK\Filters\General -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Filters\General -IVTK\IO\Image -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\IO\Image -IVTK\Utilities\DICOMParser -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Utilities\<wbr>DICOMParser -IVTK\Utilities\MetaIO\<wbr>vtkmetaio -IVTK\Utilities\MetaIO -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Utilities\MetaIO -IVTK\ThirdParty\zlib -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\ThirdParty\zlib -IVTK\ThirdParty\jpeg -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\ThirdParty\jpeg -IVTK\ThirdParty\png -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\ThirdParty\png -IVTK\ThirdParty\tiff\vtktiff\<wbr>libtiff -IVTK\ThirdParty\tiff -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\ThirdParty\tiff -IVTK\IO\XMLParser -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\IO\XMLParser -IVTK\IO\Core -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\IO\Core -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\ThirdParty\lz4\<wbr>vtklz4\lib -IVTK\ThirdParty\lz4\vtklz4 -IVTK\ThirdParty\lz4 -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\ThirdParty\lz4 -IVTK\ThirdParty\expat -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\ThirdParty\expat -IVTK\Imaging\Sources -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Imaging\Sources -IVTK\Imaging\Core -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Imaging\Core -IVTK\Interaction\Style -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Interaction\Style -IVTK\Filters\Extraction -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Filters\<wbr>Extraction -IVTK\Filters\Statistics -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Filters\<wbr>Statistics -IVTK\Imaging\Fourier -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Imaging\Fourier -IVTK\ThirdParty\alglib -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\ThirdParty\alglib -IVTK\Rendering\Core -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Rendering\Core -IVTK\Common\Color -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Common\Color -IVTK\Filters\Geometry -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Filters\Geometry -IVTK\Interaction\Widgets -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Interaction\<wbr>Widgets -IVTK\Filters\Hybrid -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Filters\Hybrid -IVTK\Filters\Modeling -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Filters\Modeling -IVTK\Imaging\Color -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Imaging\Color -IVTK\Imaging\General -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Imaging\General -IVTK\Imaging\Hybrid -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Imaging\Hybrid -IVTK\Rendering\Annotation -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Rendering\<wbr>Annotation -IVTK\Rendering\FreeType -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Rendering\<wbr>FreeType -IVTK\ThirdParty\freetype -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\ThirdParty\<wbr>freetype -IVTK\Rendering\Volume -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Rendering\Volume -IVTK\IO\XML -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\IO\XML -IVTK\Rendering\OpenGL2 -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Rendering\OpenGL2 -IVTK\ThirdParty\glew -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\ThirdParty\glew -IVTK\Rendering\VolumeOpenGL2 -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Rendering\<wbr>VolumeOpenGL2 -IVTK\Imaging\Math -IC:\Users\one\build\ParaView\<wbr>paraview\VTK\Imaging\Math -IU:\tools\OpenVR\OpenVR\<wbr>include -IVTK\Utilities\KWSys\vtksys /DWIN32 /D_WINDOWS /W4 /GR /EHsc   /MD /O2 /Ob2 /DNDEBUG /showIncludes /FoVTK\Rendering\OpenVR\<wbr>CMakeFiles\vtkRenderingOpenVR.<wbr>dir\vtkOpenVRRenderWindow.cxx.<wbr>obj /FdVTK\Rendering\OpenVR\<wbr>CMakeFiles\vtkRenderingOpenVR.<wbr>dir\ /FS -c C:\Users\one\build\ParaView\<wbr>paraview\VTK\Rendering\OpenVR\<wbr>vtkOpenVRRenderWindow.cxx<br>
                C:\Users\one\build\ParaView\<wbr>paraview\VTK\Rendering\OpenVR\<wbr>vtkOpenVRRenderWindow.cxx(281)<wbr>: error C2039: '<wbr>IsInputFocusCapturedByAnotherP<wbr>rocess': is not a member of 'vr::IVRSystem'<br>
                U:\tools\OpenVR\OpenVR\<wbr>include\openvr.h(1375): note: see declaration of 'vr::IVRSystem'<br>
                [56/14039] Building CXX object VTK\Wrapping\Python\CMakeFi...<wbr>tkCommonCorePythonD.dir\<wbr>vtkConditionVariablePython.<wbr>cxx.obj<br>
                ninja: build stopped: subcommand failed.<br>
<br>
<br>
                Any help is much appreciated.<br>
<br>
                Thanks<br>
                -simon<br>
<br>
<br>
                CLASSIFICATION: UNCLASSIFIED<br>
                ______________________________<wbr>_________________<br>
                Powered by <a href="http://Caution-www.kitware.com" rel="noreferrer" target="_blank">Caution-www.kitware.com</a> < Caution-<a href="http://www.kitware.com" rel="noreferrer" target="_blank">http://www.kitware.com</a> ><br>
<br>
                Visit other Kitware open-source projects at Caution-<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.<wbr>com/opensource/opensource.html</a> < Caution-<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.<wbr>com/opensource/opensource.html</a> ><br>
<br>
                Please keep messages on-topic and check the ParaView Wiki at: Caution-<a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/<wbr>Wiki/ParaView</a> < Caution-<a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/<wbr>Wiki/ParaView</a> ><br>
<br>
                Search the list archives at: Caution-<a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/<wbr>search/?q=ParaView</a> < Caution-<a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/<wbr>search/?q=ParaView</a> ><br>
<br>
                Follow this link to subscribe/unsubscribe:<br>
                Caution-<a href="https://paraview.org/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://paraview.org/<wbr>mailman/listinfo/paraview</a> < Caution-<a href="https://paraview.org/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://paraview.org/<wbr>mailman/listinfo/paraview</a> ><br>
<br>
<br>
<br>
<br>
        ______________________________<wbr>_________________<br>
        Powered by <a href="http://Caution-www.kitware.com" rel="noreferrer" target="_blank">Caution-www.kitware.com</a> < Caution-<a href="http://www.kitware.com" rel="noreferrer" target="_blank">http://www.kitware.com</a> ><br>
<br>
        Visit other Kitware open-source projects at Caution-<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.<wbr>com/opensource/opensource.html</a> < Caution-<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.<wbr>com/opensource/opensource.html</a> ><br>
<br>
        Please keep messages on-topic and check the ParaView Wiki at: Caution-<a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/<wbr>Wiki/ParaView</a> < Caution-<a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/<wbr>Wiki/ParaView</a> ><br>
<br>
        Search the list archives at: Caution-<a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/<wbr>search/?q=ParaView</a> < Caution-<a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/<wbr>search/?q=ParaView</a> ><br>
<br>
        Follow this link to subscribe/unsubscribe:<br>
        Caution-<a href="https://paraview.org/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://paraview.org/<wbr>mailman/listinfo/paraview</a> < Caution-<a href="https://paraview.org/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://paraview.org/<wbr>mailman/listinfo/paraview</a> ><br>
<br>
<br>
<br>
<br>
<br>
--<br>
<br>
Ken Martin PhD<br>
Distinguished Engineer<br>
Kitware Inc.<br>
<br>
28 Corporate Drive<br>
Clifton Park NY 12065<br>
<br>
<br>
This communication,including all attachments, contains confidential and legally privilegedinformation, and it is intended only for the use of the addressee.  Access to this email by anyone else isunauthorized. If you are not the intended recipient, any disclosure, copying,distribution or any action taken in reliance on it is prohibited and may beunlawful. If you received this communication in error please notify usimmediately and destroy the original message. Thank you.<br>
<br>
<br>
CLASSIFICATION: UNCLASSIFIED<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>28 Corporate Drive<br>Clifton Park NY 12065<br><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div></div></div>
</div>