06-23-2017 11:45 AM
I am very new to Visual Studio, C++ and the Oculus SDK, but have experience with Fortran, Matlab, and coding in general. I have got the basic C++ libraries working, so #include works. I have got the LibOVR directory included, so that #include works. I opened the LibOVR project into VS2015 and rebuilt it, which worked, creating a new LibOVR.lib file. I moved the new .lib file into my project folder and also added this file path to the Linker -> Input. But when I try to compile my own code, the basic ovr_initialize() command is said to be undefined. I am just trying to get a basic code setup to extract the head position data from the IMU in the Oculus Rift, and eventually hoping to integrate this with some matlab code. Here is my starting code, mostly commented out for now:
Any help getting this up and running would be greatly appreciated!! I know its finding the header files properly now, but I guess if it was linking to the .lib properly, it should know what ovr_initialize() is? Really not sure what else that could be... |
06-23-2017 04:08 PM
06-26-2017 10:42 AM
#include <iostream>
// Include the OculusVR SDK
#include <OVR_CAPI.h>
using namespace std;
06-30-2017 09:42 AM
06-30-2017 11:24 AM
06-30-2017 11:29 AM
07-11-2017 10:25 AM