<div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 4, 2017 at 12:25 PM, Luis Vieira <span dir="ltr"><<a href="mailto:luis.vieira@vektore.com" target="_blank">luis.vieira@vektore.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-CA" link="#0563C1" vlink="#954F72"><div class="m_300093623927532651WordSection1"><p class="MsoNormal">Hello vtkusers,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am trying to compile my VTK 7.1 against OpenVR following the documentation: <a href="https://blog.kitware.com/using-virtual-reality-devices-with-vtk/" target="_blank">https://blog.kitware.com/<wbr>using-virtual-reality-devices-<wbr>with-vtk/</a><u></u><u></u></p><p class="MsoNormal">I got all modules <a href="https://wiki.libsdl.org/Installation" target="_blank"><span style="font-family:"Arial",sans-serif;color:#00529b;background:white">SDL2</span></a>/ <a href="https://developer3.oculus.com/downloads/" target="_blank"><span style="font-family:"Arial",sans-serif;color:#00529b;background:white;text-decoration:none">Oculus Windows SDK</span></a>/ <a href="https://github.com/ValveSoftware/openvr" target="_blank"><span style="font-family:"Arial",sans-serif;color:#00529b;background:white;text-decoration:none">OpenVR</span></a><span style="font-family:"Arial",sans-serif;color:#4b4b4c;background:white"> SDK </span>and master branch of VTK from the<span class="m_300093623927532651apple-converted-space"><span style="font-family:"Arial",sans-serif;color:#4b4b4c;background:white"> </span></span><a href="https://github.com/Kitware/VTK" target="_blank"><span style="font-family:"Arial",sans-serif;color:#00529b;background:white">VTK respository</span></a> . I had used CMAKE 3.0 as usual to compile everything against Visual Studio 2013, as well my VTK 7.0, VTK 6.3.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">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:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Error     871        error C2039: 'API_OpenGL' : is not a member of 'vr'              C:\VTK\VTK-7.1.0VR\Rendering\<wbr>OpenVR\vtkOpenVRCamera.cxx 108              1            vtkRenderingOpenVR<u></u><u></u></p><p class="MsoNormal">Error     883        error C2660: 'vr::IVRSystem::<wbr>ComputeDistortion' : function does not take 3 arguments         C:\VTK\VTK-7.1.0VR\Rendering\<wbr>OpenVR\vtkOpenVRRenderWindow.<wbr>cxx        709        1              vtkRenderingOpenVR<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Error     886        error C2660: 'vr::IVRSystem::<wbr>GetControllerState' : function does not take 2 arguments         C:\VTK\VTK-7.1.0VR\Rendering\<wbr>OpenVR\<wbr>vtkOpenVRRenderWindowInteracto<wbr>r.cxx    126              1            vtkRenderingOpenVR <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Somebody knows what it means? I mean somebody have been struggling with the same situation?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thank you for any help.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Luis Vieira</span></b><span style="font-size:12.0pt;font-family:"Times New Roman",serif">,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Consultant, Software Engineer<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman",serif">Vektore Exploration Consulting Corporation</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#66696a;border:none windowtext 1.0pt;padding:0cm;background:white"><a href="http://ca.linkedin.com/in/" target="_blank">ca.linkedin.com/in/</a></span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#333333;border:none windowtext 1.0pt;padding:0cm;background:white">joaoluisvie<wbr>ira</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p><p class="MsoNormal"><span><a href="mailto:luis.vieira@vektore.com" target="_blank"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:blue">luis.vieira@vektore.com</span></a></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p><p class="MsoNormal"><span><a href="http://www.vektore.com/" target="_blank"><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0563c1">www.vektore.com</span></a></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<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>