[vtkusers] Compiling VTK 7.1 against OpenVR

Ken Martin ken.martin at kitware.com
Wed Jan 4 12:41:52 EST 2017


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>
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 SDL2 <https://wiki.libsdl.org/Installation>/ Oculus
> Windows SDK <https://developer3.oculus.com/downloads/>/ OpenVR
> <https://github.com/ValveSoftware/openvr> SDK and master branch of VTK
> from the VTK respository <https://github.com/Kitware/VTK> . 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
>
> luis.vieira at vektore.com
>
> www.vektore.com
>
>
>
> _______________________________________________
> Powered by 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/1eeabda8/attachment.html>


More information about the vtkusers mailing list