<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-CA link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hello vtkusers,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></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/">https://blog.kitware.com/using-virtual-reality-devices-with-vtk/</a><o:p></o:p></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/"><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=apple-converted-space><span style='font-family:"Arial",sans-serif;color:#4B4B4C;background:white'> </span></span><a href="https://github.com/Kitware/VTK"><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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></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:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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 <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Somebody knows what it means? I mean somebody have been struggling with the same situation?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thank you for any help.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span style='font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:EN-CA'>Luis Vieira</span></b><span style='font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:EN-CA'>,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:EN-CA'>Consultant, Software Engineer<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:EN-CA'>Vektore Exploration Consulting Corporation</span><span style='font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:EN-CA'><o:p></o:p></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;mso-fareast-language:EN-CA'>ca.linkedin.com/in/</span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#333333;border:none windowtext 1.0pt;padding:0cm;background:white;mso-fareast-language:EN-CA'>joaoluisvieira</span><span style='font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:EN-CA'><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-CA'><a href="mailto:luis.vieira@vektore.com"><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;mso-fareast-language:EN-CA'><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-CA'><a href="http://www.vektore.com/"><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;mso-fareast-language:EN-CA'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>