Dear all,I'm tring programing with ARM DS-5 on Zedboard, I just made a simple project to test Bluetooth function.
In this project some bluetooth header files were needed, I copied the header files to "DS-5 install path/include/", but DS-5 compiler shows error.
**** Build of configuration Default for project Bluetooth_Scan1 ****
make allarm-linux-gnueabihf-gcc -c -O1 -g -fno-omit-frame-pointer -marm -march=armv4t -mfloat-abi=soft bluetoothscan.c -o bluetoothscan.obluetoothscan.c:12:33: fatal error: bluetooth/bluetooth.h: No such file or directorycompilation terminated.make: *** [bluetoothscan.o] Error 1
**** Build Finished ****
So I copied the source code file (bluetoothscan.c file) to Zedboard, with GCC compiler.
#gcc -o bluetoothscan bluetoothscan.c -lbluetooth
it seems ok and the program works fine.
Maybe I just miss something?
I just changed the path of bluetooth library, deleted the "arm-linux-gnueabihf-gcc" option '-IC:\bluetooth'.
#include <C:\bluetooth\bluetooth.h>
#include <C:\bluetooth\hci.h>
#include <C:\bluetooth\hci_lib.h>
and compiler works!