Skip to main content
Inspiring
May 24, 2018
Solved

Visual Studio x64 Debug library...

  • May 24, 2018
  • 1 reply
  • 1405 views

Hi.

Can't compile and link Oculus Tiny Room  in Visual Studio 2015 in Debug mode because the latest 1.25.0 SDK
does not seem to come with the Debug library x64 but only with the Release library x64 which leads to runtime
mismatches when used in Debug mode, see errors here below.

How can I get the x64 Multi-threaded Debug (/MTd) library, please? ;-)))

Severity    Code    Description    Project    File    Line    Suppression State
Error    LNK2038    mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in CAPI_GLE.obj    OculusRoomTiny (GL)    C:\dev\ovr_sdk_win_1.25.0_public\OculusSDK\Samples\OculusRoomTiny\OculusRoomTiny (GL)\Projects\Windows\VS2015\LibOVR.lib(OVR_CAPI_Util.obj)    1   
Error    LNK2038    mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MTd_StaticDebug' in CAPI_GLE.obj    OculusRoomTiny (GL)    C:\dev\ovr_sdk_win_1.25.0_public\OculusSDK\Samples\OculusRoomTiny\OculusRoomTiny (GL)\Projects\Windows\VS2015\LibOVR.lib(OVR_CAPI_Util.obj)    1   
Error    LNK1319    2 mismatches detected    OculusRoomTiny (GL)    C:\dev\ovr_sdk_win_1.25.0_public\OculusSDK\Samples\OculusRoomTiny\OculusRoomTiny (GL)\Bin\Windows\Win32\Debug\VS2015\OculusRoomTiny (GL).exe    1   





Best answer by LastBlow
Actually, running Samples/Projects/Windows/VSxxxx/Samples.sln conveniently allows you to build LibOVR.lib in Visual Studio as needed, namely the x64 Debug library (see link here below).



1 reply

LastBlowAuthorAnswer
Inspiring
May 24, 2018
Actually, running Samples/Projects/Windows/VSxxxx/Samples.sln conveniently allows you to build LibOVR.lib in Visual Studio as needed, namely the x64 Debug library (see link here below).