[vtkusers] Error While Building VTK 8 with Oculus SDK
David E DeMarle
dave.demarle at kitware.com
Fri Jun 30 14:22:14 EDT 2017
Build VTK in release mode. To do so, under ninja, cmake configure your VTK
build tree with CMAKE_BUILD_TYPE=Release. Or under visual studio choose
release in the Visual Studio UI after the cmake config when you open up the
vtk solution.
David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909 <(518)%20881-4909>
On Fri, Jun 30, 2017 at 2:14 PM, Rishabh Mittar <
f2014141 at pilani.bits-pilani.ac.in> wrote:
> Hello vtkusers,
>
> I am trying to build VTK 8.0 with Oculus SDK on Windows.
>
> While building the Solution file on Visual Studio, I am getting the
> following errors:
>
> error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0'
> doesn't match value '2' in vtkOculusCamera.obj
> C:\VTK_OCULUS\bin\Rendering\Oculus\LibOVR.lib(OVR_CAPI_Util.obj)
>
> Error 3 error LNK2038: mismatch detected for 'RuntimeLibrary': value
> 'MT_StaticRelease' doesn't match value 'MDd_DynamicDebug' in
> vtkOculusCamera.obj
> C:\VTK_OCULUS\bin\Rendering\Oculus\LibOVR.lib(OVR_CAPI_Util.obj)
>
> I researched a bit and found out that the problem is due to the Oculus SDK
> having a 'release' build and VTK requires a 'debug' version.
> However I am unable to figure out a solution to the problem.
> I am using VTK 8.0.0 and Oculus windows release 1.15.0 from
>
> https://developer.oculus.com/downloads/native-windows/
>
> I am using Visual Studio 2013 to build the solution file.
> Can anyone suggest a way out?
>
> --
> Rishabh Mittar
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170630/f7e53140/attachment.html>
More information about the vtkusers
mailing list