Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Anonymous's avatar
Anonymous
8 years ago

Build fails after changing code generation option from /MTd to /MD

I have Oculus SDK version 1.18.0 and I'm trying to build LibOVR.lib with /MD code generation option. But after changing the code generation option from /MTd to /MD I always get the error:

Error    LNK2038    mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in CAPI_GLE.obj    OculusRoomTiny (GL) 

The project builds with the default /MTd option. I just want a LibOVR.lib file that works with /MD, anyone know how to do this?


1 Reply

  • Anonymous's avatar
    Anonymous
    Dumb mistake. Had to build LibOVR and LibOVRKernel project first with /MD