mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
fix udev/libusb error after 760e4859
/Users/rainbow/tmp/my/sdrangel/fcdhid/hid-libusb.c:49:10: fatal error: 'libusb-1.0/libusb.h' file not found Undefined symbols for architecture x86_64: "_iconv", referenced from: _get_usb_string in hid-libusb.c.o "_iconv_close", referenced from: _get_usb_string in hid-libusb.c.o "_iconv_open", referenced from: _get_usb_string in hid-libusb.c.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
This commit is contained in:
parent
8fc7c37226
commit
5e2a9cdd7e
@ -17,6 +17,7 @@ include_directories(
|
||||
.
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${LIBUSB_INCLUDE_DIR}
|
||||
${ICONV_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
#add_definitions(-DQT_PLUGIN)
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include <wchar.h>
|
||||
|
||||
/* GNU / LibUSB */
|
||||
#include <libusb-1.0/libusb.h>
|
||||
#include <libusb.h>
|
||||
#include "iconv.h"
|
||||
|
||||
#include "../fcdhid/hidapi.h"
|
||||
|
Loading…
Reference in New Issue
Block a user