Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to SDK v0.4.3 #2

Open
clebio opened this issue Nov 9, 2014 · 1 comment
Open

Update to SDK v0.4.3 #2

clebio opened this issue Nov 9, 2014 · 1 comment

Comments

@clebio
Copy link

clebio commented Nov 9, 2014

Hi -- thank you for putting this together. I've got it installed and running, and test.py works as expected (this is on kubuntu 14.10).

Based on the 0.4.3 SDK doc (pdf), I looked for the ovrHmd_GetTrackingState method, but don't find it.

I see that libovr.dll was last commited in 4a48db1, which notes 0.3.2, so I assume the current version of your wrapper hasn't been updated to 0.4.3. Is that simple enough? I don't quite grok what your wrapper does yet, though I'll try to figure it out. Could I just drop a local copy of the newer DLL in, and expect it to work? Let me know if I can help somehow.

@clebio
Copy link
Author

clebio commented Dec 13, 2014

I'm trying to muddle my way through ctypesgen. I've got the 0.4.4 OVR source, and in the LibOVR directory, I've been trying various forms of the following:

ctypesgen.py --cpp=g++ -l./Lib/Linux/Release/x86_64/libovr.a Src/Kernel/OVR_Compiler.h -o wrapper.py

ctypesgen.py --cpp=g++ -l./Lib/Linux/Release/x86_64/libovr.a -I. -I.. -I./Include -I.Src -I./Src/Kernel Src/OVR_Stereo.h -o wrapper.py

But I just keep getting Oculus does not support this Compiler:

Status: Preprocessing /tmp/tmpvUNJhh.h
Status: gcc -E -U __GNUC__ -dD "-Dinline=" "-D__inline__=" "-D__extension__=" "-D_Bool=uint8_t" "-D__const=const" "-D__asm__(x)=" "-D__asm(x)=" "-DCTYPESGEN=1" /tmp/tmpvUNJhh.h
Error: gcc -E: In file included from /tmp/tmpvUNJhh.h:1:0:
Error: gcc -E: /home/caleb/dev/oculus/ovr_sdk_linux_0.4.4/LibOVR/Src/Kernel/OVR_Compiler.h:90:4: error: #error "Oculus does not support this Compiler"
Error: gcc -E:  #  error "Oculus does not support this Compiler"

Any advice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant