Forum Discussion
nikkiwk369
11 years agoHonored Guest
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:
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 :)
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 :)
3 Replies
- cyberealityGrand ChampionTry adding this to the linker -> input -> additional dependencies:
Winmm.lib
ws2_32.lib - nikkiwk369Honored GuestThanks! That solved it :D
- cyberealityGrand ChampionAwesome!
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
- 1 year ago