@ OpenHMD.cpp : comment out OHMD_BUTTON_COUNT#11
@ OpenHMD.cpp : comment out OHMD_BUTTON_COUNT#11elmbeech wants to merge 1 commit intolubosz:masterfrom
Conversation
|
Today I built openhmd straight form the https://github.com/OpenHMD/OpenHMD git repository. Commented out this 3 lines I get openhmd compiled. 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. |
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