[vtkusers] Unable to build VTK 8.0.1 vtkRenderingOculus

Ken Martin ken.martin at kitware.com
Thu Dec 14 08:29:11 EST 2017

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.

For now a better option may be to build with OpenVR support and use the
Oculus through OpenVR/SteamVR.

On Thu, Dec 14, 2017 at 2:44 AM, Andaharoo <Andx_roo at live.com> wrote:

> I'm trying to build VTK for Oculus. I think everything is setup fine
> through
> cmake but when building the project on msvc2017_64 I get
> "void ovr_CalcEyePoses2(ovrPosef,const ovrPosef [],ovrPosef [])': cannot
> convert argument 2 from 'ovrVector3f [2]' to 'const ovrPosef []'" in
> vtkOculusRenderWindow.cxx line 174.
>  And 'HmdToEyeOffset': is not a member of 'ovrEyeRenderDesc_' in
> vtkOculusRenderWindow.cxx line 415 and 416.
> I downloaded the Oculus SDK and SDL2. Built SDL2. Gave VTK the oculus root
> directory, SDL2 directory, lib files, and ofc checked vtkRenderingOculus.
> Also I'm using vtk 8.0.1.
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> 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
Distinguished Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065

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/20171214/b4667ee1/attachment.html>

More information about the vtkusers mailing list