Forum Discussion
Anonymous
8 years agoBuild 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?
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
- AnonymousDumb mistake. Had to build LibOVR and LibOVRKernel project first with /MD
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years ago
- 29 days ago
- 7 months ago