cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

Anonymous
Not applicable

I am following the docs on how to compile and get the examples to compile. I am not having any luck.

   

 

   

I am using mac book pro OS X El Capitan 10.11.1 

   

 

   

g++ -o cyisowrite_test            cyisowrite_test.c            -l cyusb -l usb-1.0    

   

clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated

   

In file included from cyisowrite_test.c:7:

   

./../include/cyusb.h:18:10: fatal error: 'libusb-1.0/libusb.h' file not found

   

#include <libusb-1.0/libusb.h>

   

         ^

   

1 error generated.

   

make: *** [all] Error 1

0 Likes
3 Replies
Anonymous
Not applicable

Hi,

   

can you please confirm that the folder structure is intact as provided in the package or if any inlcdues are missing?

   

Regards,

   

-Madhu Sudhan

0 Likes
Anonymous
Not applicable

Please see screen shot. All i did was unzip and cd to the examples directory like the README.txt explains and did make and you will see the error i get. 

0 Likes
Anonymous
Not applicable

Please create a Tech Support Case with Cypress.

0 Likes