xmos / lib_device_control

xCORE device control library
Other
2 stars 16 forks source link

Error from make -f ../Makefile.OSX #15

Closed ThomasGmeinder closed 7 years ago

ThomasGmeinder commented 8 years ago

make -f ../Makefile.OSX causes errors: clang: error: no such file or directory: '../../../host/device_access_usb.c' clang: error: no such file or directory: '../../../host/util.c'

The path is missing "lib_device_control" The error goes away after changing the Makefile.OSX command to

cd src ; gcc -Wall -g -I ../libusb/OSX64 -o ../bin/a.out -I $(ROOT)/lib_device_control/api -I $(ROOT)/lib_device_control/src -I $(ROOT)/lib_device_control/host ../libusb/OSX64/libusb-1.0.0.dylib -D USE_USB $(ROOT)/lib_device_control/host/device_access_usb.c $(ROOT)/lib_device_control/host/util.c host.c signals.c
ThomasGmeinder commented 8 years ago

Forgot to mention the name of the example: host_usb.

Just found that the same problem exists for host_xscope

xross commented 8 years ago

Issue in wrong repo?

xross commented 8 years ago

Issue seems to be in examples.

xross commented 8 years ago

Can you issue a pull request with your changes, saves us making the change twice.

larry-xmos commented 7 years ago

host_usb example now replaced with app note AN01034