Forum Discussion

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

Identifier not found for Hmd objects?

I've included all the header files within the include folder of the SDK so I am wondering why it is still giving me the error 'ovrHmd_detect' identifier not found. It gives the same error for all the other ovrHmd objects such as 'hmd', 'ovrHmd', 'ovrHmd_create'. Is there something else I need to include?



I am trying to follow along the book Oculus in Action - this code is provided on page 35, but where the author used #include <OVR.h> I included all the files I could find (was not able to find OVR.h).

I think that it is perhaps the textbook that is using an older version of the SDK. As this syntax resembles that of the Charles Writes Hello World tutorial for oculus when he was using the 0.5.0 SDK. Charles Writes new tutorial using the 1.3.2 SDK has a syntax that looks quite different. I was able to follow and run the 1.3.2 SDK Charles Writes tutorial with no problem. 

If it is the SDK that is out of date, then the example code provided by the book (Oculus in Action) seems to be completely useless for developers using the most up to date SDKs. I was really enjoying the book as it approached oculus development at the perfect level for me. Are there any resources that you guys would recommend for a beginner?

Thanks for your help in advance! 
No Replies