[Paraview] [Non-DoD Source] Re: ParaView + OpenVR (UNCLASSIFIED)

Su, Simon M CIV USARMY RDECOM ARL (US) simon.m.su.civ at mail.mil
Fri Jan 19 09:49:43 EST 2018


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-bounces at paraview.org] On Behalf Of Ken Martin
Sent: Friday, January 19, 2018 9:42 AM
To: Benson Muite <benson.muite at ut.ee>
Cc: ParaView <paraview at paraview.org>
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 <benson.muite at ut.ee < Caution-mailto:benson.muite at 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 -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
		_______________________________________________
		Powered by Caution-www.kitware.com < Caution-http://www.kitware.com > 
		
		Visit other Kitware open-source projects at Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > 
		
		Please keep messages on-topic and check the ParaView Wiki at: Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/Wiki/ParaView > 
		
		Search the list archives at: Caution-http://markmail.org/search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > 
		
		Follow this link to subscribe/unsubscribe:
		Caution-https://paraview.org/mailman/listinfo/paraview < Caution-https://paraview.org/mailman/listinfo/paraview > 
		
		


	_______________________________________________
	Powered by Caution-www.kitware.com < Caution-http://www.kitware.com > 
	
	Visit other Kitware open-source projects at Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > 
	
	Please keep messages on-topic and check the ParaView Wiki at: Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/Wiki/ParaView > 
	
	Search the list archives at: Caution-http://markmail.org/search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > 
	
	Follow this link to subscribe/unsubscribe:
	Caution-https://paraview.org/mailman/listinfo/paraview < Caution-https://paraview.org/mailman/listinfo/paraview > 
	




-- 

Ken Martin PhD
Distinguished Engineer
Kitware Inc.

28 Corporate Drive
Clifton Park NY 12065


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.


CLASSIFICATION: UNCLASSIFIED


More information about the ParaView mailing list