Skip to content

OHMD_BUTTON_COUNT not declared #14

@johnbentcope

Description

@johnbentcope

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions