Hi Phil,
Thanks! the compilation starts and these error messages have come:
In file included from …/wfview/usbcontroller.cpp:3:
…/wfview/usbcontroller.cpp: In member function ‘void usbController::init(int)’:
…/wfview/usbcontroller.h:29:46: error: ‘HID_API_VERSION_MAJOR’ was not declared in this scope
#define HID_API_VERSION HID_API_MAKE_VERSION(HID_API_VERSION_MAJOR, HID_API_VERSION_MINOR, HID_API_VERSION_PATCH)
^~~~~~~~~~~~~~~~~~~~~
…/wfview/usbcontroller.h:26:44: note: in definition of macro ‘HID_API_MAKE_VERSION’
#define HID_API_MAKE_VERSION(mj, mn, p) (((mj) << 24) | ((mn) << 8) | (p))
^~
…/wfview/usbcontroller.cpp:46:9: note: in expansion of macro ‘HID_API_VERSION’
if (HID_API_VERSION == HID_API_MAKE_VERSION(hid_version()->major, hid_version()->minor, hid_version()->patch)) {
^~~~~~~~~~~~~~~
…/wfview/usbcontroller.h:29:46: note: suggested alternative: ‘HID_API_VERSION’
#define HID_API_VERSION HID_API_MAKE_VERSION(HID_API_VERSION_MAJOR, HID_API_VERSION_MINOR, HID_API_VERSION_PATCH)
^~~~~~~~~~~~~~~~~~~~~
…/wfview/usbcontroller.h:26:44: note: in definition of macro ‘HID_API_MAKE_VERSION’
#define HID_API_MAKE_VERSION(mj, mn, p) (((mj) << 24) | ((mn) << 8) | (p))
^~
…/wfview/usbcontroller.cpp:46:9: note: in expansion of macro ‘HID_API_VERSION’
if (HID_API_VERSION == HID_API_MAKE_VERSION(hid_version()->major, hid_version()->minor, hid_version()->patch)) {
^~~~~~~~~~~~~~~
…/wfview/usbcontroller.h:29:69: error: ‘HID_API_VERSION_MINOR’ was not declared in this scope
#define HID_API_VERSION HID_API_MAKE_VERSION(HID_API_VERSION_MAJOR, HID_API_VERSION_MINOR, HID_API_VERSION_PATCH)
^~~~~~~~~~~~~~~~~~~~~
…/wfview/usbcontroller.h:26:59: note: in definition of macro ‘HID_API_MAKE_VERSION’
#define HID_API_MAKE_VERSION(mj, mn, p) (((mj) << 24) | ((mn) << 8) | (p))
^~
…/wfview/usbcontroller.cpp:46:9: note: in expansion of macro ‘HID_API_VERSION’
if (HID_API_VERSION == HID_API_MAKE_VERSION(hid_version()->major, hid_version()->minor, hid_version()->patch)) {
^~~~~~~~~~~~~~~
…/wfview/usbcontroller.h:29:69: note: suggested alternative: ‘HID_API_VERSION’
#define HID_API_VERSION HID_API_MAKE_VERSION(HID_API_VERSION_MAJOR, HID_API_VERSION_MINOR, HID_API_VERSION_PATCH)
^~~~~~~~~~~~~~~~~~~~~
…/wfview/usbcontroller.h:26:59: note: in definition of macro ‘HID_API_MAKE_VERSION’
#define HID_API_MAKE_VERSION(mj, mn, p) (((mj) << 24) | ((mn) << 8) | (p))
^~
…/wfview/usbcontroller.cpp:46:9: note: in expansion of macro ‘HID_API_VERSION’
if (HID_API_VERSION == HID_API_MAKE_VERSION(hid_version()->major, hid_version()->minor, hid_version()->patch)) {
^~~~~~~~~~~~~~~
…/wfview/usbcontroller.h:29:92: error: ‘HID_API_VERSION_PATCH’ was not declared in this scope
HID_API_MAKE_VERSION(HID_API_VERSION_MAJOR, HID_API_VERSION_MINOR, HID_API_VERSION_PATCH)
^~~~~~~~~~~~~~~~~~~~~
…/wfview/usbcontroller.h:26:72: note: in definition of macro ‘HID_API_MAKE_VERSION’
#define HID_API_MAKE_VERSION(mj, mn, p) (((mj) << 24) | ((mn) << 8) | (p))
^
…/wfview/usbcontroller.cpp:46:9: note: in expansion of macro ‘HID_API_VERSION’
if (HID_API_VERSION == HID_API_MAKE_VERSION(hid_version()->major, hid_version()->minor, hid_version()->patch)) {
^~~~~~~~~~~~~~~
…/wfview/usbcontroller.h:29:92: note: suggested alternative: ‘HID_API_VERSION’
HID_API_MAKE_VERSION(HID_API_VERSION_MAJOR, HID_API_VERSION_MINOR, HID_API_VERSION_PATCH)
^~~~~~~~~~~~~~~~~~~~~
…/wfview/usbcontroller.h:26:72: note: in definition of macro ‘HID_API_MAKE_VERSION’
#define HID_API_MAKE_VERSION(mj, mn, p) (((mj) << 24) | ((mn) << 8) | (p))
^
…/wfview/usbcontroller.cpp:46:9: note: in expansion of macro ‘HID_API_VERSION’
if (HID_API_VERSION == HID_API_MAKE_VERSION(hid_version()->major, hid_version()->minor, hid_version()->patch)) {
^~~~~~~~~~~~~~~
…/wfview/usbcontroller.cpp:46:49: error: ‘hid_version’ was not declared in this scope
if (HID_API_VERSION == HID_API_MAKE_VERSION(hid_version()->major, hid_version()->minor, hid_version()->patch)) {
^~~~~~~~~~~
…/wfview/usbcontroller.h:26:44: note: in definition of macro ‘HID_API_MAKE_VERSION’
#define HID_API_MAKE_VERSION(mj, mn, p) (((mj) << 24) | ((mn) << 8) | (p))
^~
…/wfview/usbcontroller.cpp:46:49: note: suggested alternative: ‘hid_error’
if (HID_API_VERSION == HID_API_MAKE_VERSION(hid_version()->major, hid_version()->minor, hid_version()->patch)) {
^~~~~~~~~~~
…/wfview/usbcontroller.h:26:44: note: in definition of macro ‘HID_API_MAKE_VERSION’
#define HID_API_MAKE_VERSION(mj, mn, p) (((mj) << 24) | ((mn) << 8) | (p))
^~
make: *** [Makefile:1385: usbcontroller.o] Fehler 1
make: *** Es wird auf noch nicht beendete Prozesse gewartet…
real 2m30.813s
user 4m29.831s
sys 0m19.973s
Error in make step.
wfview was not compiled.
Please consider posting the error(s) to https://forum.wfview.org/
73 Ralph