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

make: *** [obj/Release/Bluetooth.o] Error 1

Topics: 5. Support
Aug 22, 2014 at 8:21 PM
Hi all,

First to mention, I'm inexperienced with linux and trying the dutch step-by-step manual. Unfortunatly I ran into some errors and can't fix with google or other posts in the discussions :-/ I am hoping to set up my RPI to monitor my SB 2500HF30.

So far I have installed wheezy and followed the steps in the PDF up to page 9/25:
Dan downloaden we de sourcecode (op dit moment is dat versie 2.0.6)
wget https://sma-spot.googlecode.com/files/SMAspot_SRC_206_Linux_Win32.tar
Dan gaan we 'm uitpakken:
tar -xvf SMAspot_SRC_206_Linux_Win32.tar
Vervolgens kunnen we nu SMAspot 'compilen'
make release
This gives me:
pi@ZolderRasp ~/smaspot $ make release
test -d bin/Release || mkdir -p bin/Release
test -d obj/Release || mkdir -p obj/Release
g++ -Wall -O2 -c Bluetooth.cpp -o obj/Release/Bluetooth.o
In file included from Bluetooth.cpp:34:0:
bluetooth.h:65:33: fatal error: bluetooth/bluetooth.h: No such file or directory
compilation terminated.
make: *** [obj/Release/Bluetooth.o] Error 1

It looks like it's whining because bluetooth.h isn't there, but it is? Any clue what I've been doing wrong? Thanks in advance,

Remco
(NL)

PS1: I didn't update the firmware of my rpi since I just bought it last week and updated everything,
PS2: File list and yes, eventually my rpi will be in the attic ;-)
pi@ZolderRasp ~/smaspot $ ls -las
total 1848
4 drwxr-xr-x 4 pi pi 4096 Aug 22 21:11 .
4 drwxr-xr-x 5 pi pi 4096 Aug 22 21:10 ..
16 -rwxr-xr-x 1 pi pi 14468 May 22 14:17 ArchData.cpp
4 -rwxr-xr-x 1 pi pi 2069 Jan 29 2014 ArchData.h
4 drwxr-xr-x 3 pi pi 4096 Aug 22 21:11 bin
12 -rwxr-xr-x 1 pi pi 10879 Apr 27 22:52 Bluetooth.cpp
4 -rwxr-xr-x 1 pi pi 3100 Apr 27 22:52 bluetooth.h
4 -rwxr-xr-x 1 pi pi 1786 Jan 27 2014 boost_ext.cpp
4 -rwxr-xr-x 1 pi pi 1675 May 22 14:17 boost_ext.h
44 -rwxr-xr-x 1 pi pi 43528 May 22 14:17 CSVexport.cpp
4 -rwxr-xr-x 1 pi pi 2499 Feb 17 2014 CSVexport.h
36 -rwxr-xr-x 1 pi pi 35855 Sep 22 2012 date_time_zonespec.csv
8 -rwxr-xr-x 1 pi pi 6203 Apr 27 22:52 Ethernet.cpp
4 -rwxr-xr-x 1 pi pi 2615 Apr 27 22:52 Ethernet.h
4 -rwxr-xr-x 1 pi pi 2432 Jan 29 2014 EventData.cpp
8 -rwxr-xr-x 1 pi pi 4195 Apr 27 22:52 EventData.h
8 -rwxr-xr-x 1 pi pi 6380 Apr 27 21:04 makefile
8 -rwxr-xr-x 1 pi pi 6444 Feb 2 2014 misc.cpp
4 -rwxr-xr-x 1 pi pi 2615 May 22 14:17 misc.h
4 drwxr-xr-x 3 pi pi 4096 Aug 22 21:11 obj
4 -rwxr-xr-x 1 pi pi 2191 Jan 22 2014 oslinux.h
4 -rwxr-xr-x 1 pi pi 1665 Feb 28 09:23 osselect.h
4 -rwxr-xr-x 1 pi pi 2403 May 22 14:17 oswindows.h
12 -rwxr-xr-x 1 pi pi 11328 May 22 14:17 PVOutput.cpp
4 -rwxr-xr-x 1 pi pi 3465 May 22 14:17 PVOutput.h
376 -rw-r--r-- 1 pi pi 381109 Aug 22 20:44 SBFspot_SRC_245_Linux_Win32.tar.gz
12 -rwxr-xr-x 1 pi pi 9829 Jan 22 2014 SMANet.cpp
4 -rwxr-xr-x 1 pi pi 2885 Jan 19 2014 SMANet.h
4 -rwxr-xr-x 1 pi pi 2554 Apr 27 21:11 SMAspot.cbp
8 -rwxr-xr-x 1 pi pi 6349 Apr 27 21:04 SMAspot.cfg
104 -rwxr-xr-x 1 pi pi 105322 May 26 23:17 SMAspot.cpp
20 -rwxr-xr-x 1 pi pi 19181 May 22 14:17 SMAspot.h
16 -rwxr-xr-x 1 pi pi 14673 Apr 27 21:04 SMAspot.vcxproj
8 -rwxr-xr-x 1 pi pi 4374 Apr 27 21:04 SMAspot.vcxproj.filters
16 -rwxr-xr-x 1 pi pi 12335 Jan 29 2014 strptime.cpp
8 -rwxr-xr-x 1 pi pi 6212 Apr 27 22:52 sunrise_sunset.cpp
4 -rwxr-xr-x 1 pi pi 1878 Feb 2 2014 sunrise_sunset.h
8 -rwxr-xr-x 1 pi pi 4465 May 22 14:17 TagDefs.cpp
4 -rwxr-xr-x 1 pi pi 3393 Feb 17 2014 TagDefs.h
172 -rwxr-xr-x 1 pi pi 173551 Apr 27 21:04 TagListDE-DE.txt
168 -rwxr-xr-x 1 pi pi 169230 Apr 27 21:04 TagListEN-US.txt
176 -rwxr-xr-x 1 pi pi 179710 Apr 27 21:04 TagListES-ES.txt
180 -rwxr-xr-x 1 pi pi 183088 Apr 27 21:04 TagListFR-FR.txt
176 -rwxr-xr-x 1 pi pi 177934 Apr 27 21:04 TagListIT-IT.txt
168 -rwxr-xr-x 1 pi pi 172006 Apr 27 21:04 TagListNL-NL.txt
Aug 23, 2014 at 11:35 AM
It's looking for another bluetooth.h
I think you forgot the step to install the bt libs - see also https://sbfspot.codeplex.com/wikipage?title=SBFspot%20on%20Raspberry%20Pi&referringTitle=Documentation
Marked as answer by RemBrand on 8/23/2014 at 4:09 AM
Aug 23, 2014 at 12:09 PM
Thanks for the swift reply. Don't know where I missed that step, but It's compiling now :-)
Remco