Forum Discussion
Marc_Sublime
8 years agoHonored Guest
Oculus SDK DLL Export
Hi,
I need to rebuild the oculus sdk as .dll's. When you download it's setup to export .Lib. I'm using the latest version 1.26 on windows using visual studio 2017. I have a third part plugin that depends on the Oculus sdk and need to add some functions to it and rebuild the plugin but receive this error:
mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in AppOculus.obj
There's comments in the OVR_CAPI.h - // OVR_DLL_BUILD - Used to indicate that the current compilation unit is of a shared library. but this alone doesn't work.
Anyone know how to set it up for .dll?
I need to rebuild the oculus sdk as .dll's. When you download it's setup to export .Lib. I'm using the latest version 1.26 on windows using visual studio 2017. I have a third part plugin that depends on the Oculus sdk and need to add some functions to it and rebuild the plugin but receive this error:
mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in AppOculus.obj
There's comments in the OVR_CAPI.h - // OVR_DLL_BUILD - Used to indicate that the current compilation unit is of a shared library. but this alone doesn't work.
Anyone know how to set it up for .dll?
No RepliesBe the first to reply
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
- 7 months ago
- 4 years ago
- 10 months ago