OpenHantek / OpenHantek6022

OpenHantek6022 is a DSO software for Hantek USB digital signal oscilloscopes 6022BE / BL. Development OS is Debian Linux, but the program also works on FreeBSD, MacOS, RaspberryPi and Windows. No support for non-Linux related issues unless a volunteer steps in!
GNU General Public License v3.0
868 stars 153 forks source link

3.1.1 breaks on FreeBSD: error: use of undeclared identifier 'libusb_setlocale' #101

Closed yurivict closed 4 years ago

yurivict commented 4 years ago
/wrkdirs/usr/ports/misc/openhantek/work/OpenHantek6022-3.1.1/openhantek/src/main.cpp:167:13: error: use of undeclared identifier 'libusb_setlocale'
            libusb_setlocale( QLocale::system().name().toLocal8Bit().constData() );
            ^
1 error generated.

libusb_setlocale isn't defined in libusb.h

Ho-Ro commented 4 years ago

Thx for reporting! EDIT: I've set up a FreeBSD 12.1 virtual build environment to check the build sporadically - at least for the releases.