[vtkusers] Compiling VTK 7.1 against OpenVR

Luis Vieira luis.vieira at vektore.com
Wed Jan 4 12:59:04 EST 2017


Hi Ken,

 

I got some things regarding 'API_OpenGL' to TextureType_OpenGL within OpenVR SDK. However, there are other issues related to vtkOpenVRCamera, vtkOpenVRRenderWindow, vtkOpenVRRenderWindowInteractor

 

I am looking forward to hearing from you soon.

 

Tks,

 

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

 

From: Ken Martin [mailto:ken.martin at kitware.com] 
Sent: January 4, 2017 12:42 PM
To: Luis Vieira <luis.vieira at vektore.com>
Cc: VTK Users <vtkusers at vtk.org>
Subject: Re: [vtkusers] Compiling VTK 7.1 against OpenVR

 

They changed the signature on a couple functions in a recent SDK update. I have the changes at home and I'll push a topic soon to update it. If you look at the OpenVR SDK header files you can see the new signature change, it is a pretty easy fix. I'll try to remember to email the diffs tonight when I get home.

 

On Wed, Jan 4, 2017 at 12:25 PM, Luis Vieira <luis.vieira at vektore.com <mailto:luis.vieira at vektore.com> > wrote:

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/ <http://ca.linkedin.com/in/> joaoluisvieira

luis.vieira at vektore.com <mailto:luis.vieira at vektore.com> 

 <http://www.vektore.com/> www.vektore.com

 


_______________________________________________
Powered by www.kitware.com <http://www.kitware.com> 

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers





 

-- 

Ken Martin PhD

Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

 

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170104/4fbf79a5/attachment.html>


More information about the vtkusers mailing list