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

OHMD_BUTTON_COUNT not declared #14

Open
johnbentcope opened this issue Jun 10, 2020 · 0 comments
Open

OHMD_BUTTON_COUNT not declared #14

johnbentcope opened this issue Jun 10, 2020 · 0 comments

Comments

@johnbentcope
Copy link

I'm attempting to build this on Ubuntu 20.04, and I'm running into an issue:

OpenHMD.cpp: In member function ‘void OpenHMD::printDeviceInfo()’:
OpenHMD.cpp:68:24: error: ‘OHMD_BUTTON_COUNT’ was not declared in this scope; did you mean ‘OHMD_CONTROL_COUNT’?
   68 |  ohmd_device_geti(hmd, OHMD_BUTTON_COUNT, bcount);
      |                        ^~~~~~~~~~~~~~~~~
      |                        OHMD_CONTROL_COUNT
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

I was able to build it by swapping that OHMD_CONTROL_COUNT in for OHMD_BUTTON_COUNT, but will this cause issues down the line?

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