Was working on some download code and hit a linker error:
somefile.cpp:829: undefined reference to `cyusb_download_fx3(libusb_device_handle*, char*)'
collect2: error: ld returned 1 exit status
after some debug found in the libcyusb.cpp the function has this prototype:
const char *filename)
but in the cyusb.h file in the include directory the prototype is:
extern int cyusb_download_fx3(cyusb_handle *h, char *filename);
if I change the libcyusb.cpp from "const char *filename)" to "char *filename)" and rebuild everything my code now links as expected.
Thank you for pointing out to the issue. We will look into it and take the necessary actions.