This project has moved and is read-only. For the latest updates, please go here.

fatal error: bluetooth/bluetooth.h: No such file or directory

Topics: 5. Support
Dec 15, 2015 at 9:30 PM
Trying to get SBFspot working on the PI. Getting stuck when trying to compile SBFspot with SQLite support

this is the full message :

pi@raspberrypi /mnt/usb/sbfspot.3/SBFspot $ sudo make install_sqlite
test -d bin/Release_SQLite || mkdir -p bin/Release_SQLite
test -d obj/Release_SQLite || mkdir -p obj/Release_SQLite
g++ -Wall -O2 -DUSE_SQLITE -c db_SQLite.cpp -o obj/Release_SQLite/db_SQLite.o
In file included from SBFNet.h:39:0,
             from SBFspot.h:38,
             from db_SQLite.h:40,
             from db_SQLite.cpp:58:
bluetooth.h:67:33: fatal error: bluetooth/bluetooth.h: No such file or directory
compilation terminated.
makefile:156: recipe for target 'obj/Release_SQLite/db_SQLite.o' failed
make: *** [obj/Release_SQLite/db_SQLite.o] Error 1

Any ideas? Running Wheezy.
Dec 16, 2015 at 11:35 AM
Pretty sure you forgot the first step:
sudo apt-get --no-install-recommends install bluetooth libbluetooth-dev