Forum Discussion
jspenguin
12 years agoExplorer
DLL for the new SDK
Could someone who has Visual Studio compile the SDK into a DLL that I can link to? I'm trying to adapt it to work in MinGW, but I'm running into some problems.
If the SDK just included a DLL, then I could load it with SDL_LoadObject and not have to bother with trying to coerce it to compile with MinGW.
If the SDK just included a DLL, then I could load it with SDL_LoadObject and not have to bother with trying to coerce it to compile with MinGW.
2 Replies
- PathogenDavidHonored Guestjherico maintains a GitHub repository for the SDK, which offers Cmake and DLL support. So you should be able to tell Cmake to target MinGW and use that.
Unfortunately, he hasn't updated it for 0.4.0 yet. Although that's not surprising since it has only just come out.
EDIT: Turns out that he has updated it! It is just in a different branch:"jherico" wrote:
SHAZAM!
Additionally, I have a very minimal wrapper that turns LibOVR into a dll. I've updated it to 0.4.0 and uploaded it in this thread. It is a less elegant solution than tweaking the build system like jherico did, but it works! It might get you by for now until he has time to update his. - guygodinProtegeIdeally there should be a LibOVR.dll bundled with the Oculus Runtime that gets copied to windows\system32. This would make our lives easier..
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
- 2 years ago
- 13 years ago
- 10 years ago