Forum Discussion

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

[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

  • hi, 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.
  • avengre's avatar
    avengre
    Honored Guest
    Well 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.
  • avengre's avatar
    avengre
    Honored Guest
    Okay, 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?
  • Yes, 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.
  • MAX3D2's avatar
    MAX3D2
    Honored Guest
    How do you know which runtime goes with which SDK? Would it have been smarter to put it all in one install?