You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Last June 20th, 2017 TheOnlyJoey (form OpenHMD) submitted a bunch of changes.
Unfortunately cause the introduced OHMD_BUTTON_COUNT lines the build process to crash.
I use the latest openhmd library version 0.2.0-3 that I was able to install with debian 10 buster.
My friend tested on mac osx installing openhmd with brew and was running into the same error.
I was not yet able to test installation on a window, but I am quit sure the same error will happen.
This is the error I get:
/***
OpenHMD.cpp: In member function ‘void OpenHMD::printDeviceInfo()’:
OpenHMD.cpp:68:24: error: ‘OHMD_BUTTON_COUNT’ was not declared in this scope
ohmd_device_geti(hmd, OHMD_BUTTON_COUNT, bcount);
^~~~~~~~~~~~~~~~~
OpenHMD.cpp:68:24: note: suggested alternative: ‘OHMD_ROTATION_QUAT’
ohmd_device_geti(hmd, OHMD_BUTTON_COUNT, bcount);
^~~~~~~~~~~~~~~~~
OHMD_ROTATION_QUAT
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
***/
When this three lines are commented out, python-rift (or python-openhmd) can be build and installed,
though I do not completely understand if the commenting out of this three lines causes any other harm.
Maybe TheOnlyJoey has a better fix then just commenting it out.
Anyhow please help to fix this problem.
I really much appreciate the pioneer work you guys did to get VR into the blender game engine.
Thanks a bunch, Bue
Today I built openhmd straight form the https://github.com/OpenHMD/OpenHMD git repository.
Same error occurs. So I don't think that the openhmd library provided by the debian distro is broken.
I looks to me simply like a bug, introduced about a year ago...
Commented out this 3 lines I get openhmd compiled.
I can connect the DK1. I get stereo view. However, I have no head tracking.
No Idea if this is caused by the DK1, the openhmd library, the python-openhmd library or how I handle blender.
I tried out your example test file and your HoVR blender file:
Any help would be appreciated. but I understand as well that this project is maybe dead for you, cause already old. But hey, it was supposed to be the future ; ). You can not just abandon the future.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hi @lubosz and @TheOnlyJoey,
Last June 20th, 2017 TheOnlyJoey (form OpenHMD) submitted a bunch of changes.
Unfortunately cause the introduced OHMD_BUTTON_COUNT lines the build process to crash.
I use the latest openhmd library version 0.2.0-3 that I was able to install with debian 10 buster.
My friend tested on mac osx installing openhmd with brew and was running into the same error.
I was not yet able to test installation on a window, but I am quit sure the same error will happen.
This is the error I get:
/***
OpenHMD.cpp: In member function ‘void OpenHMD::printDeviceInfo()’:
OpenHMD.cpp:68:24: error: ‘OHMD_BUTTON_COUNT’ was not declared in this scope
ohmd_device_geti(hmd, OHMD_BUTTON_COUNT, bcount);
^~~~~~~~~~~~~~~~~
OpenHMD.cpp:68:24: note: suggested alternative: ‘OHMD_ROTATION_QUAT’
ohmd_device_geti(hmd, OHMD_BUTTON_COUNT, bcount);
^~~~~~~~~~~~~~~~~
OHMD_ROTATION_QUAT
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
***/
When this three lines are commented out, python-rift (or python-openhmd) can be build and installed,
though I do not completely understand if the commenting out of this three lines causes any other harm.
Maybe TheOnlyJoey has a better fix then just commenting it out.
Anyhow please help to fix this problem.
I really much appreciate the pioneer work you guys did to get VR into the blender game engine.
Thanks a bunch, Bue