[vtkusers] Compiling VTK 7.1 against OpenVR
Luis Vieira
luis.vieira at vektore.com
Wed Jan 4 12:25:41 EST 2017
Hello vtkusers,
I am trying to compile my VTK 7.1 against OpenVR following the
documentation:
https://blog.kitware.com/using-virtual-reality-devices-with-vtk/
I got all modules <https://wiki.libsdl.org/Installation> SDL2/
<https://developer3.oculus.com/downloads/> Oculus Windows SDK/
<https://github.com/ValveSoftware/openvr> OpenVR SDK and master branch of
VTK from the <https://github.com/Kitware/VTK> VTK respository . I had used
CMAKE 3.0 as usual to compile everything against Visual Studio 2013, as well
my VTK 7.0, VTK 6.3.
The point is, every time I am trying do build the libraries by compiling my
VTK.sln within Visual Studio I got the following errors:
Error 871 error C2039: 'API_OpenGL' : is not a member of 'vr'
C:\VTK\VTK-7.1.0VR\Rendering\OpenVR\vtkOpenVRCamera.cxx 108 1
vtkRenderingOpenVR
Error 883 error C2660: 'vr::IVRSystem::ComputeDistortion' :
function does not take 3 arguments
C:\VTK\VTK-7.1.0VR\Rendering\OpenVR\vtkOpenVRRenderWindow.cxx 709
1 vtkRenderingOpenVR
Error 886 error C2660: 'vr::IVRSystem::GetControllerState' :
function does not take 2 arguments
C:\VTK\VTK-7.1.0VR\Rendering\OpenVR\vtkOpenVRRenderWindowInteractor.cxx
126 1 vtkRenderingOpenVR
Somebody knows what it means? I mean somebody have been struggling with the
same situation?
Thank you for any help.
Luis Vieira,
Consultant, Software Engineer
Vektore Exploration Consulting Corporation
ca.linkedin.com/in/joaoluisvieira
<mailto:luis.vieira at vektore.com> luis.vieira at vektore.com
<http://www.vektore.com/> www.vektore.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170104/b5d352bc/attachment.html>
More information about the vtkusers
mailing list