<div dir="ltr">Oculus made some changes to how their SDK works such that the VTK build/link process needs to be reworked to link against their SDK. Probably not super difficult but it hasn't been done by anyone. <div><br></div><div>For now a better option may be to build with OpenVR support and use the Oculus through OpenVR/SteamVR.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 14, 2017 at 2:44 AM, Andaharoo <span dir="ltr"><<a href="mailto:Andx_roo@live.com" target="_blank">Andx_roo@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm trying to build VTK for Oculus. I think everything is setup fine through<br>
cmake but when building the project on msvc2017_64 I get<br>
<br>
"void ovr_CalcEyePoses2(ovrPosef,<wbr>const ovrPosef [],ovrPosef [])': cannot<br>
convert argument 2 from 'ovrVector3f [2]' to 'const ovrPosef []'" in<br>
vtkOculusRenderWindow.cxx line 174.<br>
<br>
 And 'HmdToEyeOffset': is not a member of 'ovrEyeRenderDesc_' in<br>
vtkOculusRenderWindow.cxx line 415 and 416.<br>
<br>
I downloaded the Oculus SDK and SDL2. Built SDL2. Gave VTK the oculus root<br>
directory, SDL2 directory, lib files, and ofc checked vtkRenderingOculus.<br>
Also I'm using vtk 8.0.1.<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK-Users-f1224199.html</a><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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>28 Corporate Drive<br>Clifton Park NY 12065<br><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></div>
</div>