Forum Discussion
avengre
10 years agoHonored Guest
[SOLVED] LibOVRRT ?
Hello, I'm attempting to integrate Oculus SDK into an existing application, and I've downloaded the SDK for Windows, and I created the debug libs from the /samples project. However, I don't seem to have a LibOVRRT.dll or some such, as its failing initialization.. I'm linking against LibOVR.lib as well as LibOVRKernel.lib, mostly because I don't know which of these i'm supposed to use (or both?). However, that doesn't describe why i'm getting the -3001 error on initalization.. code snipper below, tho I'm not sure how helpful it'll be
ovrResult initResult;
OVR::System::Init();
// Initialize the SDK / System
initResult = ovr_Initialize(nullptr);
if (initResult != ovrSuccess)
{
ovrErrorInfo *info = new ovrErrorInfo();
ovr_GetLastErrorInfo(info);
// Failed to initialize...
return false;
}
5 Replies
- genetransferExplorerhi, did you install the runtimes. the dlls are installed that way. I link against both libs aswell. I'm used to just including the dlls with my exe but I suppose being the user has to install the runtimes anyway they will always have the latest dll's when there is no need to update the libs.
- avengreHonored GuestWell I just confirmed that its in my System32 folder (The LibOVRT_Win32.dll) or whatnot. Still getting the -3001 error, even when I copy the dll into my execution folder.
- avengreHonored GuestOkay, I fixed the problem... it was rather cryptic the response. I had the 0.6.0.0 SDK but was on the 0.5 runtime.
Probably should add a version mismatch to the error codes? - cyberealityGrand ChampionYes, whenever you download a new SDK you also need to update the Runtime.
I will check if a better error message in this case is possible. - MAX3D2Honored GuestHow do you know which runtime goes with which SDK? Would it have been smarter to put it all in one install?
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
- 30 days ago