News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Developer FAQ

Started by danielk, January 22, 2008, 05:47:03 PM

Previous topic - Next topic

MediaEngineer

Quote from: hari on February 21, 2008, 11:43:40 PM
http://wiki.linuxmce.org/index.php/Building_From_Source

I tried to use those instructions to build a test library, Media_Plugin.so, but it failed, as I detailed in another post, "Working Build Process?". Can you help me find the correct procedure for working on the current source base? Thanks.

boris

Where can I find  bluetooth sources referenced in /PlutoDHCP/PlutoDHCP.ccp -> /BD/PhoneDevice.h see error below.

I followed all steps outlined at http://wiki.linuxmce.org/index.php/Building_From_Source. And was able to build UpdateMedia.  But I also see "/!\ WARNING: at the moment the sources are moving, so there are some bugs related to sources versions. you may not be able to compile" at http://wiki.linuxmce.org/index.php/Setting_Up_A_Development_Environment.
Is this warning the reason I am not able to locate bluetooth sources?

/src/PlutoDHCP$ make
g++ -I. -I.. -I.. -I../DCE -I/usr/include/mysql -W -Wall -pipe -ggdb3  -c -o PlutoDHCP.o PlutoDHCP.cpp
In file included from PlutoDHCP.cpp:53:
../BD/PhoneDevice.h:24:33: error: bluetooth/bluetooth.h: No such file or directory
../BD/PhoneDevice.h:25:30: error: bluetooth/rfcomm.h: No such file or directory
../BD/PhoneDevice.h:26:27: error: bluetooth/hci.h: No such file or directory
../BD/PhoneDevice.h:27:31: error: bluetooth/hci_lib.h: No such file or directory
../pluto_main/Table_Device.h:262: warning: unused parameter 'iSC_Version'
../pluto_main/Table_Device_DeviceData.h:164: warning: unused parameter 'iSC_Version'
../pluto_main/Table_DeviceData.h:169: warning: unused parameter 'iSC_Version'
../pluto_main/Table_DeviceCategory.h:184: warning: unused parameter 'iSC_Version'
../pluto_main/Table_DeviceTemplate.h:315: warning: unused parameter 'iSC_Version'
../pluto_main/Table_Installation.h:255: warning: unused parameter 'iSC_Version'
../BD/PhoneDevice.h:53: error: 'bdaddr_t' does not name a type
../BD/PhoneDevice.h: In copy constructor 'PhoneDevice::PhoneDevice(const PhoneDevice&)':
../BD/PhoneDevice.h:120: error: 'm_bdaddrDongle' was not declared in this scope
../BD/PhoneDevice.h:120: error: 'const class PhoneDevice' has no member named 'm_bdaddrDongle'
PlutoDHCP.cpp: In member function 'std::string PlutoDHCP::GetDHCPConfig()':
PlutoDHCP.cpp:298: warning: comparison between signed and unsigned integer expressions
PlutoDHCP.cpp:308: warning: comparison between signed and unsigned integer expressions
PlutoDHCP.cpp:244: warning: unused variable 'iMoonNumber'
make: *** [PlutoDHCP.o] Error 1

hari

rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

boris

Quote from: hari on March 23, 2009, 11:27:40 PM
you want bluez-devel

Thanks, that did the trick.

ok where do these instructions need to go?  Sorry this is first time I am doing this, so if I make any mistakes I am sorry.
Run this to install libs

sudo apt-get install libbluetooth-dev


hari

please no worries!! Mistakes are human. I don't know if we have a wiki page that lists all build dependencies..

We try our best to make this forum a more friendly place for the future.

best regards,
Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation