In my case I use libusb for Linux/Windows/Mac to communicate with device.
OK, so I guess I can do the following and that should work :
1) I get the windows version of libusb
2) I rebuild the cyusb library, but on windows
3) I can use it like we can with the Linux version of the Cypress SDK.
Hopefully that will work.
Unfortunately this does not work because libcyusb relies on POSIX, which has major inssues with mingw / windows. My test application crashes after running, even if no libusb call is made.
Also I found 2 issues that could be fixed in a future update :
1) libcyusb is written in C++ because the method cyusb_open is overloaded in two different versions, but the files are named "libcyusb.c" and "cyusb.h" instead of ".cpp" and ".hpp" like they should be.
2) The line "#include <errno.h>" in "libcyusb.c", as well as the "#include <linux/types.h>" in "cyusb.h", are apparently unneeded.