Forum Discussion

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

Having Trouble integrating Oculus SDK

Hello,
I'm currently trying to integrate Oculus SDK into my own Program (C++ using OpenGL), I'm using VS 2013 and I've placed the libovr64.lib and libovr64d.lib in my Lib directory, the contents of the Include and Src folders in my Include directory and I've setup the Linker Input to libovr64.lib. In my code I include OVR_CAPI.h and OVR_CAPI_GL.h now I am getting 30 errors all starting with "error LNK2019: unresolved external symbol" (The file where the error occurs is always libovr64.lib) :?

example:
error LNK2019: unresolved external symbol __imp_timeGetTime referenced in function "public: unsigned __int64 __cdecl OVR::PerformanceTimer::GetTimeNanos(void)" (?GetTimeNanos@PerformanceTimer@OVR@@QEAA_KXZ)	libovr64.lib(OVR_Timer.obj)


Am I missing to import anything here? How is the proper way to integrate libOVR?
I have already tried to link to libovr64d.lib instead or to copy the contents of the src folder directly into my programs source folder instead of the Include directory, no results. I am getting the same problems with 32bit as well.

I hope someone here can help me :)