Forum Discussion
sbf0202
11 years agoHonored Guest
SDK 0.3.x question
So with the updated SDK around the corner, I probably picked the wrong time to ask this question, but I tried implementing the sample code on the SDK Docs intro (https://developer.oculus.com/doc/html/index.html#intro_sec), and when I got to the point where I wanted to output the HMDInfo data, I received an IDE error that these methods don't exist:
I properly linked LibOVR.a (in XCode) and set up my header search paths. Everything compiled OK once I removed these lines.
Did I miss anything, or should I just wait until the new SDK is released?
Thanks,
- Scott
std::cout << Info.HScreenSize << endl;
std::cout << Info.VScreenSize << endl;
I properly linked LibOVR.a (in XCode) and set up my header search paths. Everything compiled OK once I removed these lines.
Did I miss anything, or should I just wait until the new SDK is released?
Thanks,
- Scott
2 Replies
- YbalridExpert ProtegeHi,
The documentation you are using was generated it 2013. It actualy document the Oriented-Object API of an old 0.2.x version that was up-to-date on march 2013.
Now with the SDK 0.3.x you have to use a C-Style API to get informations from the Rift. You can find help on the "SDK Overview" document (OculusSDK/Doc/ on the SDK).
You can find a basic tutorial written by CyberReality here : https://developer.oculus.com/wiki/Minimal_Oculus_Application_0.3.x
It's "visual studio" oriented on how to set-up and link the IDE, but It seems you have correctly configured Xcode, so it's not a problem ^^" - sbf0202Honored GuestThanks,
I'll give the new code structure a go when I get home from work. I can't do much with it until my Rift arrives, but I at least want to get a head-start.
- Scott
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
- 9 months ago
- 3 years ago