Hi all,
On Wisler's advice we thought it might be a good idea I post my experience in successfully compiling the adsp addons in Ubuntu. Much of the code was provided to me by Wisler and I only had to do a couple of minor tweaks to get it all working - so many thanks to Wisler's efforts.
The method below is quite simple and does not require passing a whole stream of parameters to cmake, but this requires you to manually copy a couple of files and folders across to your intended destination for your addons, which was in my case very simple.
Path to my xbmc dev folder where I clone builds/addons and compile from:
/home/xbmc/Builds
-- PREP --
Code:
$ sudo apt-get -y -q install software-properties-common
$ sudo add-apt-repository --yes ppa:team-xbmc/ppa
$ sudo apt-get update
$ sudo apt-get install kodi libkodiplatform-dev kodi-addon-dev
-- KODI --
Code:
$ cd /home/xbmc/Builds
$ git clone https://github.com/xbmc/xbmc kodi
$ cd kodi
$ ./bootstrap
$ ./configure --prefix=/usr --libdir=/usr/lib64
$ make
$ sudo make install
-- PLATFORM --
Code:
Code:
$ git clone https://github.com/Pulse-Eight/platform
$ cd platform
$ cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib64
$ make && sudo make install
-- KODI-PLATFORM --
Code:
Code:
$ git clone https://github.com/xbmc/kodi-platform
$ cd kodi-platform
$ cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib64
$ make && sudo make install
-- ASPLIB --
Code:
$ git clone https://github.com/xbmc/asplib
$ cd asplib && mkdir build && cd build
$ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/home/xbmc/Builds/asplib/build /home/xbmc/Builds/asplib
$ make && sudo make install
-- ADDONS --
Code:
$ git clone https://github.com/kodi-adsp/adsp.basic
$ mkdir ./adsp.basic/build
$ cd ./adsp.basic/build
$ git checkout v0.2.0
$ cmake .. -DOVERRIDE_PATHS=1
$ make
$
$ git clone https://github.com/kodi-adsp/adsp.freesurround
$ mkdir ./adsp.freesurround/build
$ cd ./adsp.freesurround/build
$ git checkout v0.2.1
$ cmake .. -DOVERRIDE_PATHS=1
$ make
--- These will create your [addon name] in /home/xbmc/Builds/[addon name]/ (e.g. /home/xbmc/Builds/adsp.basic/adsp.basic)
--- Need to copy the *.so libs from [addon name]/build to the addon folder (i.e. in /home/xbmc/Builds/adsp.basic/adsp.basic and in /home/xbmc/Builds/adsp.freesurroound/adsp.freesurround)
--- Copy the addon folder (e.g.: /home/xbmc/Builds/adsp.basic/adsp.basic) to your /userdata folder to test. Run Kodi, enable adsp manager and the [addon name] you wish to use (+ Config addon)
--- To compile adsp.biquad.filters you need the asplib libraries but the package does not seem to currently compile correctly although it compiles successfully (some file paths may be incorrect).
Hope this helps?
Cheers to all and thanks a bunch to you guys, the developers, for your excellent efforts!!!
EDIT: added asplib above