LinuxMCE Forums
May 18, 2013, 02:33:11 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: Developer FAQ  (Read 14977 times)
MediaEngineer
Douchebag
Newbie
*
Posts: 14


View Profile
« Reply #30 on: September 03, 2008, 04:34:16 pm »


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.
Logged
boris
Newbie
*
Posts: 13


View Profile
« Reply #31 on: March 23, 2009, 09:32:31 pm »

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?

Code:
/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
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2412



View Profile WWW
« Reply #32 on: March 23, 2009, 11:27:40 pm »

you want bluez-devel
Logged

rock your home - http://www.agocontrol.com home automation
boris
Newbie
*
Posts: 13


View Profile
« Reply #33 on: March 24, 2009, 12:32:57 am »

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
Code:
sudo apt-get install libbluetooth-dev
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2412



View Profile WWW
« Reply #34 on: March 24, 2009, 01:12:55 am »

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
Logged

rock your home - http://www.agocontrol.com home automation
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!