- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Parameter "int errno" on line 74 of main.cpp conflicts with typical C++ usage resulting in compilation errors.
Changing "errno" to "errnum" and adjusting the remainder of "libusb_error" to use "errnum" fixes the build problem. After the suggested change, cyusb_linux build and runs.
Modified source code for "libusb_error" is attached.
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for the suggestion.
Please refer to threads with similar fix Solved: EZ-USB-FX3 SDK for Linux fails to compile - Cypress Developer Community
Solved: Error compiling cyusb_linux_1.0.5 on Ubuntu 18.04 ... - Cypress Developer Community
We will forward this to the respective team.
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for the suggestion.
Please refer to threads with similar fix Solved: EZ-USB-FX3 SDK for Linux fails to compile - Cypress Developer Community
Solved: Error compiling cyusb_linux_1.0.5 on Ubuntu 18.04 ... - Cypress Developer Community
We will forward this to the respective team.
Rashi