[vtkusers] Compiling VTK 7.1 against OpenVR

Ken Martin ken.martin at kitware.com
Fri Jan 6 18:05:59 EST 2017


Sorry I haven't looked at Oculus in a bit. I heard rumors Oculus works with
OpenVR now but I have not tested it.

On Fri, Jan 6, 2017 at 5:52 PM, Luis Vieira <luis.vieira at vektore.com> wrote:

> Hi Ken, David
>
>
>
> Thanks, once again.
>
>
>
> Do you guys have any suggestions regarding Oculus SDK version. Because, I
> am compiling vtkRenderingOculus against *Oculus SDK for Windows **V1.10.1
> *and I have similar issues as well as vtkOpenVR….
>
>
>
>
>
> *vtkRenderingOculus vs* *Oculus*
>
> Error     915        error LNK2019: unresolved external symbol
> ovr_CalcEyePoses referenced in function "public: void __cdecl
> vtkOculusRenderWindow::UpdateHMDMatrixPose(void)" (?UpdateHMDMatrixPose@
> vtkOculusRenderWindow@@QEAAXXZ)              C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
>
>
> Error     910        error LNK2019: unresolved external symbol
> ovr_CommitTextureSwapChain referenced in function "public: virtual void
> __cdecl vtkOculusRenderWindow::Frame(void)" (?Frame at vtkOculusRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindow.obj
> vtkRenderingOculus
>
>
>
>
>
> Error     915        error LNK2019: unresolved external symbol
> ovr_CalcEyePoses referenced in function "public: void __cdecl
> vtkOculusRenderWindow::UpdateHMDMatrixPose(void)" (?UpdateHMDMatrixPose@
> vtkOculusRenderWindow@@QEAAXXZ)              C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     910        error LNK2019: unresolved external symbol
> ovr_CommitTextureSwapChain referenced in function "public: virtual void
> __cdecl vtkOculusRenderWindow::Frame(void)" (?Frame at vtkOculusRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindow.obj
> vtkRenderingOculus
>
> Error     905        error LNK2019: unresolved external symbol ovr_Create
> referenced in function "public: virtual void __cdecl vtkOculusRenderWindow::Initialize(void)"
> (?Initialize at vtkOculusRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindow.obj
> vtkRenderingOculus
>
> Error     916        error LNK2019: unresolved external symbol
> ovr_CreateTextureSwapChainGL referenced in function "protected: bool
> __cdecl vtkOculusRenderWindow::CreateFrameBuffer(struct
> vtkOculusRenderWindow::FramebufferDesc &)" (?CreateFrameBuffer@
> vtkOculusRenderWindow@@IEAA_NAEAUFramebufferDesc at 1@@Z)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindow.obj
> vtkRenderingOculus
>
> Error     906        error LNK2019: unresolved external symbol ovr_Destroy
> referenced in function "public: virtual void __cdecl vtkOculusRenderWindow::Finalize(void)"
> (?Finalize at vtkOculusRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindow.obj
> vtkRenderingOculus
>
> Error     911        error LNK2019: unresolved external symbol
> ovr_GetFovTextureSize referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Initialize(void)" (?Initialize@
> vtkOculusRenderWindow@@UEAAXXZ)          C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     904        error LNK2019: unresolved external symbol
> ovr_GetHmdDesc referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Initialize(void)" (?Initialize@
> vtkOculusRenderWindow@@UEAAXXZ)          C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     912        error LNK2019: unresolved external symbol
> ovr_GetRenderDesc referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Initialize(void)" (?Initialize@
> vtkOculusRenderWindow@@UEAAXXZ)          C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     932        error LNK2019: unresolved external symbol
> ovr_GetSessionStatus referenced in function "protected: virtual void
> __cdecl vtkOculusRenderWindowInteractor::StartEventLoop(void)"
> (?StartEventLoop at vtkOculusRenderWindowInteractor@@MEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindowInteractor.obj
> vtkRenderingOculus
>
> Error     917        error LNK2019: unresolved external symbol ovr_GetTextureSwapChainBufferGL
> referenced in function "public: virtual void __cdecl vtkOculusRenderWindow::StereoUpdate(void)"
> (?StereoUpdate at vtkOculusRenderWindow@@UEAAXXZ) C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     909        error LNK2019: unresolved external symbol ovr_
> GetTextureSwapChainCurrentIndex referenced in function "public: virtual
> void __cdecl vtkOculusRenderWindow::StereoUpdate(void)" (?StereoUpdate@
> vtkOculusRenderWindow@@UEAAXXZ) C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\
> vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     914        error LNK2019: unresolved external symbol
> ovr_GetTimeInSeconds referenced in function "public: void __cdecl
> vtkOculusRenderWindow::UpdateHMDMatrixPose(void)" (?UpdateHMDMatrixPose@
> vtkOculusRenderWindow@@QEAAXXZ)              C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     908        error LNK2019: unresolved external symbol
> ovr_GetTrackingState referenced in function "public: void __cdecl
> vtkOculusRenderWindow::UpdateHMDMatrixPose(void)" (?UpdateHMDMatrixPose@
> vtkOculusRenderWindow@@QEAAXXZ)              C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     902        error LNK2019: unresolved external symbol
> ovr_Initialize referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Initialize(void)" (?Initialize@
> vtkOculusRenderWindow@@UEAAXXZ)          C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     933        error LNK2019: unresolved external symbol
> ovr_RecenterTrackingOrigin referenced in function "protected: virtual void
> __cdecl vtkOculusRenderWindowInteractor::StartEventLoop(void)"
> (?StartEventLoop at vtkOculusRenderWindowInteractor@@MEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindowInteractor.obj
> vtkRenderingOculus
>
> Error     907        error LNK2019: unresolved external symbol
> ovr_SetTrackingOriginType referenced in function "public: virtual void
> __cdecl vtkOculusRenderWindow::Initialize(void)" (?Initialize@
> vtkOculusRenderWindow@@UEAAXXZ)          C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     903        error LNK2019: unresolved external symbol
> ovr_Shutdown referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Finalize(void)" (?Finalize at vtkOculusRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindow.obj
> vtkRenderingOculus
>
> Error     913        error LNK2019: unresolved external symbol
> ovr_SubmitFrame referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Frame(void)" (?Frame at vtkOculusRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindow.obj
> vtkRenderingOculus
>
> Error     901        error LNK2019: unresolved external symbol
> ovrMatrix4f_Projection referenced in function "protected: void __cdecl
> vtkOculusCamera::GetHMDEyeProjections(class vtkRenderer *)"
> (?GetHMDEyeProjections at vtkOculusCamera@@IEAAXPEAVvtkRenderer@@@Z)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusCamera.obj
> vtkRenderingOculus
>
> Error     919        error LNK2019: unresolved external symbol
> SDL_CreateWindow referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Initialize(void)" (?Initialize@
> vtkOculusRenderWindow@@UEAAXXZ)          C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
>
>
> *vtkRenderingOpenVR vs* *Oculus*
>
>
>
>
>
> Error     946        error LNK2019: unresolved external symbol
> SDL_CreateWindow referenced in function "public: virtual void __cdecl
> vtkOpenVRRenderWindow::Initialize(void)" (?Initialize@
> vtkOpenVRRenderWindow@@UEAAXXZ)       C:\VTK\VTK-7.1.0VR\build\
> Rendering\OpenVR\vtkOpenVRRenderWindow.obj              vtkRenderingOpenVR
>
> Error     923        error LNK2019: unresolved external symbol
> SDL_DestroyWindow referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Finalize(void)" (?Finalize at vtkOculusRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindow.obj
> vtkRenderingOculus
>
> Error     950        error LNK2019: unresolved external symbol
> SDL_DestroyWindow referenced in function "public: virtual void __cdecl
> vtkOpenVRRenderWindow::Finalize(void)" (?Finalize at vtkOpenVRRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\OpenVR\vtkOpenVRRenderWindow.obj
> vtkRenderingOpenVR
>
> Error     918        error LNK2019: unresolved external symbol
> SDL_GetError referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Initialize(void)" (?Initialize@
> vtkOculusRenderWindow@@UEAAXXZ)          C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     945        error LNK2019: unresolved external symbol
> SDL_GetError referenced in function "public: virtual void __cdecl
> vtkOpenVRRenderWindow::Initialize(void)" (?Initialize@
> vtkOpenVRRenderWindow@@UEAAXXZ)       C:\VTK\VTK-7.1.0VR\build\
> Rendering\OpenVR\vtkOpenVRRenderWindow.obj              vtkRenderingOpenVR
>
> Error     925        error LNK2019: unresolved external symbol
> SDL_GL_CreateContext referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Initialize(void)" (?Initialize@
> vtkOculusRenderWindow@@UEAAXXZ)          C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     952        error LNK2019: unresolved external symbol
> SDL_GL_CreateContext referenced in function "public: virtual void __cdecl
> vtkOpenVRRenderWindow::Initialize(void)" (?Initialize@
> vtkOpenVRRenderWindow@@UEAAXXZ)       C:\VTK\VTK-7.1.0VR\build\
> Rendering\OpenVR\vtkOpenVRRenderWindow.obj              vtkRenderingOpenVR
>
> Error     927        error LNK2019: unresolved external symbol
> SDL_GL_GetCurrentContext referenced in function "public: virtual bool
> __cdecl vtkOculusRenderWindow::IsCurrent(void)" (?IsCurrent@
> vtkOculusRenderWindow@@UEAA_NXZ)      C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     954        error LNK2019: unresolved external symbol
> SDL_GL_GetCurrentContext referenced in function "public: virtual bool
> __cdecl vtkOpenVRRenderWindow::IsCurrent(void)" (?IsCurrent@
> vtkOpenVRRenderWindow@@UEAA_NXZ)   C:\VTK\VTK-7.1.0VR\build\
> Rendering\OpenVR\vtkOpenVRRenderWindow.obj              vtkRenderingOpenVR
>
> Error     926        error LNK2019: unresolved external symbol
> SDL_GL_MakeCurrent referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::MakeCurrent(void)" (?MakeCurrent@
> vtkOculusRenderWindow@@UEAAXXZ) C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\
> vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     953        error LNK2019: unresolved external symbol
> SDL_GL_MakeCurrent referenced in function "public: virtual void __cdecl
> vtkOpenVRRenderWindow::MakeCurrent(void)" (?MakeCurrent@
> vtkOpenVRRenderWindow@@UEAAXXZ)             C:\VTK\VTK-7.1.0VR\build\
> Rendering\OpenVR\vtkOpenVRRenderWindow.obj              vtkRenderingOpenVR
>
> Error     924        error LNK2019: unresolved external symbol
> SDL_GL_SetAttribute referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Initialize(void)" (?Initialize@
> vtkOculusRenderWindow@@UEAAXXZ)          C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     951        error LNK2019: unresolved external symbol
> SDL_GL_SetAttribute referenced in function "public: virtual void __cdecl
> vtkOpenVRRenderWindow::Initialize(void)" (?Initialize@
> vtkOpenVRRenderWindow@@UEAAXXZ)       C:\VTK\VTK-7.1.0VR\build\
> Rendering\OpenVR\vtkOpenVRRenderWindow.obj              vtkRenderingOpenVR
>
> Error     928        error LNK2019: unresolved external symbol
> SDL_GL_SetSwapInterval referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Initialize(void)" (?Initialize@
> vtkOculusRenderWindow@@UEAAXXZ)          C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     955        error LNK2019: unresolved external symbol
> SDL_GL_SetSwapInterval referenced in function "public: virtual void __cdecl
> vtkOpenVRRenderWindow::Initialize(void)" (?Initialize@
> vtkOpenVRRenderWindow@@UEAAXXZ)       C:\VTK\VTK-7.1.0VR\build\
> Rendering\OpenVR\vtkOpenVRRenderWindow.obj              vtkRenderingOpenVR
>
> Error     929        error LNK2019: unresolved external symbol
> SDL_GL_SwapWindow referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Frame(void)" (?Frame at vtkOculusRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindow.obj
> vtkRenderingOculus
>
> Error     956        error LNK2019: unresolved external symbol
> SDL_GL_SwapWindow referenced in function "public: virtual void __cdecl
> vtkOpenVRRenderWindow::Frame(void)" (?Frame at vtkOpenVRRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\OpenVR\vtkOpenVRRenderWindow.obj
> vtkRenderingOpenVR
>
> Error     930        error LNK2019: unresolved external symbol SDL_Init
> referenced in function "public: virtual void __cdecl vtkOculusRenderWindow::Initialize(void)"
> (?Initialize at vtkOculusRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindow.obj
> vtkRenderingOculus
>
> Error     958        error LNK2019: unresolved external symbol SDL_Init
> referenced in function "public: virtual void __cdecl vtkOpenVRRenderWindow::Initialize(void)"
> (?Initialize at vtkOpenVRRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\OpenVR\vtkOpenVRRenderWindow.obj
> vtkRenderingOpenVR
>
> Error     934        error LNK2019: unresolved external symbol
> SDL_PollEvent referenced in function "protected: virtual void __cdecl
> vtkOculusRenderWindowInteractor::StartEventLoop(void)" (?StartEventLoop@
> vtkOculusRenderWindowInteractor@@MEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindowInteractor.obj
> vtkRenderingOculus
>
> Error     931        error LNK2019: unresolved external symbol SDL_Quit
> referenced in function "public: virtual void __cdecl vtkOculusRenderWindow::Finalize(void)"
> (?Finalize at vtkOculusRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\vtkOculusRenderWindow.obj
> vtkRenderingOculus
>
> Error     959        error LNK2019: unresolved external symbol SDL_Quit
> referenced in function "public: virtual void __cdecl vtkOpenVRRenderWindow::Finalize(void)"
> (?Finalize at vtkOpenVRRenderWindow@@UEAAXXZ)
> C:\VTK\VTK-7.1.0VR\build\Rendering\OpenVR\vtkOpenVRRenderWindow.obj
> vtkRenderingOpenVR
>
> Error     921        error LNK2019: unresolved external symbol
> SDL_SetWindowPosition referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::SetPosition(int,int)" (?SetPosition@
> vtkOculusRenderWindow@@UEAAXHH at Z)            C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     948        error LNK2019: unresolved external symbol
> SDL_SetWindowPosition referenced in function "public: virtual void __cdecl
> vtkOpenVRRenderWindow::SetPosition(int,int)" (?SetPosition@
> vtkOpenVRRenderWindow@@UEAAXHH at Z)         C:\VTK\VTK-7.1.0VR\build\
> Rendering\OpenVR\vtkOpenVRRenderWindow.obj              vtkRenderingOpenVR
>
> Error     922        error LNK2019: unresolved external symbol
> SDL_SetWindowSize referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::SetSize(int,int)" (?SetSize at vtkOculusRenderWindow@@
> UEAAXHH at Z)     C:\VTK\VTK-7.1.0VR\build\Rendering\Oculus\
> vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     949        error LNK2019: unresolved external symbol
> SDL_SetWindowSize referenced in function "public: virtual void __cdecl
> vtkOpenVRRenderWindow::SetSize(int,int)" (?SetSize at vtkOpenVRRenderWindow@@
> UEAAXHH at Z)  C:\VTK\VTK-7.1.0VR\build\Rendering\OpenVR\
> vtkOpenVRRenderWindow.obj              vtkRenderingOpenVR
>
> Error     920        error LNK2019: unresolved external symbol
> SDL_SetWindowTitle referenced in function "public: virtual void __cdecl
> vtkOculusRenderWindow::Initialize(void)" (?Initialize@
> vtkOculusRenderWindow@@UEAAXXZ)          C:\VTK\VTK-7.1.0VR\build\
> Rendering\Oculus\vtkOculusRenderWindow.obj              vtkRenderingOculus
>
> Error     947        error LNK2019: unresolved external symbol
> SDL_SetWindowTitle referenced in function "public: virtual void __cdecl
> vtkOpenVRRenderWindow::Initialize(void)" (?Initialize@
> vtkOpenVRRenderWindow@@UEAAXXZ)       C:\VTK\VTK-7.1.0VR\build\
> Rendering\OpenVR\vtkOpenVRRenderWindow.obj              vtkRenderingOpenVR
>
> Error     957        error LNK2019: unresolved external symbol
> SDL_ShowSimpleMessageBox referenced in function "public: virtual void
> __cdecl vtkOpenVRRenderWindow::Initialize(void)" (?Initialize@
> vtkOpenVRRenderWindow@@UEAAXXZ)       C:\VTK\VTK-7.1.0VR\build\
> Rendering\OpenVR\vtkOpenVRRenderWindow.obj              vtkRenderingOpenVR
>
>
>
> Thank you,
>
>
>
> *Luis Vieira*,
>
> Consultant, Software Engineer
>
> Vektore Exploration Consulting Corporation
>
> ca.linkedin.com/in/joaoluisvieira
>
> luis.vieira at vektore.com
>
> www.vektore.com
>
>
>
> *From:* Ken Martin [mailto:ken.martin at kitware.com]
> *Sent:* January 6, 2017 4:17 PM
> *To:* Luis Vieira <luis.vieira at vektore.com>
> *Cc:* VTK Users <vtkusers at vtk.org>
> *Subject:* Re: [vtkusers] Compiling VTK 7.1 against OpenVR
>
>
>
> OK I downloaded openvr 1.0.5 and made a couple more fixes. Just tested it
> and it all builds and runs.  I merged it into master so you should be able
> to download an updated master and compile.
>
>
>
> Thanks
>
> Ken
>
>
>
>
>
> On Fri, Jan 6, 2017 at 1:14 PM, Ken Martin <ken.martin at kitware.com> wrote:
>
> I just googled it, try what that guy did, I am probably on 1.0.4. I'll try
> 1.0.5 this weekend.
>
>
>
> https://github.com/ValveSoftware/openvr/issues/335
>
>
>
>
>
>
>
> On Fri, Jan 6, 2017 at 1:06 PM, Luis Vieira <luis.vieira at vektore.com>
> wrote:
>
> Hi Ken,
>
>
>
> Error     175        error C2039: 'API_OpenGL' : is not a member of
> 'vr'              C:\VTK\VTK-7.1.0VR\Rendering\
> OpenVR\vtkOpenVRRenderWindow.cxx        670        1
> vtkRenderingOpenVR
>
>
>
> Lines 670 and 672
>
>
>
> I had downloaded the packages following  (https://blog.kitware.com/
> using-virtual-reality-devices-with-vtk/)
>
> https://github.com/ValveSoftware/openvr  (*OpenVR SDK 1.0.5*
> <https://github.com/ValveSoftware/openvr/commit/9d48ccf90d709382a137de9bc429aab5f7cea5de>
> *)*
>
> https://github.com/Kitware/VTK (*master branch of VTK from the **VTK
> respository* <https://github.com/Kitware/VTK> *on GitHub*)
>
>
>
> Please, see attached vtkOpenVRRenderWindow.
>
>
>
> Thank you,
>
>
>
> *Luis Vieira*,
>
> Consultant, Software Engineer
>
> Vektore Exploration Consulting Corporation
>
> ca.linkedin.com/in/joaoluisvieira
>
> luis.vieira at vektore.com
>
> www.vektore.com
>
>
>
> *From:* Ken Martin [mailto:ken.martin at kitware.com]
> *Sent:* January 6, 2017 12:03 PM
> *To:* Luis Vieira <luis.vieira at vektore.com>
> *Cc:* VTK Users <vtkusers at vtk.org>
> *Subject:* Re: [vtkusers] Compiling VTK 7.1 against OpenVR
>
>
>
> I'm not getting that error. With the diffs I posted it is compiling OK.
> What SDK version are you using?
>
>
>
> On Fri, Jan 6, 2017 at 12:00 PM, Luis Vieira <luis.vieira at vektore.com>
> wrote:
>
> Hi Ken,
>
>
>
> Have you figured out some update regarding the following error?
>
>
>
> 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
>
> Thank you,
>
>
>
> *Luis Vieira*,
>
> Consultant, Software Engineer
>
> Vektore Exploration Consulting Corporation
>
> ca.linkedin.com/in/joaoluisvieira
>
> luis.vieira at vektore.com
>
> www.vektore.com
>
>
>
> *From:* Ken Martin [mailto:ken.martin at kitware.com]
> *Sent:* January 4, 2017 5:11 PM
> *To:* Luis Vieira <luis.vieira at vektore.com>
> *Cc:* VTK Users <vtkusers at vtk.org>
> *Subject:* Re: [vtkusers] Compiling VTK 7.1 against OpenVR
>
>
>
> Here are the diffs
>
>
>
> https://gitlab.kitware.com/vtk/vtk/merge_requests/2315/diffs
>
>
>
> Thanks
>
> Ken
>
>
>
> On Wed, Jan 4, 2017 at 12:59 PM, Luis Vieira <luis.vieira at vektore.com>
> wrote:
>
> Hi Ken,
>
>
>
> I got some things regarding 'API_OpenGL' to TextureType_OpenGL within
> OpenVR SDK. However, there are other issues related to vtkOpenVRCamera,
> vtkOpenVRRenderWindow, vtkOpenVRRenderWindowInteractor
>
>
>
> I am looking forward to hearing from you soon.
>
>
>
> Tks,
>
>
>
> *Luis Vieira*,
>
> Consultant, Software Engineer
>
> Vektore Exploration Consulting Corporation
>
> ca.linkedin.com/in/joaoluisvieira
>
> luis.vieira at vektore.com
>
> www.vektore.com
>
>
>
> *From:* Ken Martin [mailto:ken.martin at kitware.com]
> *Sent:* January 4, 2017 12:42 PM
> *To:* Luis Vieira <luis.vieira at vektore.com>
> *Cc:* VTK Users <vtkusers at vtk.org>
> *Subject:* Re: [vtkusers] Compiling VTK 7.1 against OpenVR
>
>
>
> 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 <(518)%20371-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.
>
>
>
>
>
> --
>
> Ken Martin PhD
>
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971 <(518)%20371-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.
>
>
>
>
>
> --
>
> Ken Martin PhD
>
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971 <(518)%20371-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.
>
>
>
>
>
> --
>
> Ken Martin PhD
>
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971 <(518)%20371-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.
>
>
>
>
>
> --
>
> Ken Martin PhD
>
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971 <(518)%20371-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.
>



-- 
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/20170106/1339c0ad/attachment.html>


More information about the vtkusers mailing list