Skip to main content
Participant
May 30, 2015

[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

    Up and Coming
    May 30, 2015
    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.
    avengreAuthor
    Participant
    May 30, 2015
    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.
    avengreAuthor
    Participant
    May 30, 2015
    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?
    Inspiring
    May 30, 2015
    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.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    New Participant
    February 1, 2017
    How do you know which runtime goes with which SDK? Would it have been smarter to put it all in one install?