Author Topic: Developer FAQ  (Read 35684 times)

MediaEngineer

  • Douchebag
  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Developer FAQ
« Reply #30 on: September 03, 2008, 05:34:16 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

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Developer FAQ
« 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: [Select]
/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

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Developer FAQ
« Reply #32 on: March 23, 2009, 11:27:40 pm »
you want bluez-devel
rock your home - http://www.agocontrol.com home automation

boris

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Developer FAQ
« 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: [Select]
sudo apt-get install libbluetooth-dev

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Developer FAQ
« 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
rock your home - http://www.agocontrol.com home automation