Forum Discussion

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

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?
No RepliesBe the first to reply