compiling examples FX3_SDK_MacOS_v1.3.3 not working

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
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