sudo make -j4 -C tools/depends/target/binary-addons PREFIX=/usr/local ADDONS="game.*"
The .so files are under /usr/local/lib/kodi/addons/..., which is where make install put them. Where is Kodi looking for these files?
Plase have a look at this thread Compilation of binary addons in Linux.
Note that if you use Ubuntu Xenial or Ubuntu Bionic you will have problems compiling the addons due(I think) to an old version of cmake, as documented in Cannot compile binary libretro addons on Ubuntu Xenial. In Debian Unstable with the most up-to-date cmake version the compilation scripts work like a charm.
You mean this script https://github.com/Wintermute0110/Kodi-I...-no-pvr.sh? It's not doing anything different from the official instructions, as far as I can tell.
The only difference to what I did is that I only compiled the "game.*" addons and nothing else. And I'm using a different install prefix - /usr/local.
(2019-02-09, 11:33)paol Wrote: You mean this script https://github.com/Wintermute0110/Kodi-I...-no-pvr.sh? It's not doing anything different from the official instructions, as far as I can tell.
The binary addons and the binary games addons (the cores) are in different repositories. My scripts change the repository in the Kodi source before compilation, hence the reason why there are different scripts to compile the binary addons and the cores.
If you are using Kodi installed from the PPA I think the installation directory you have to set is /usr/ and not /usr/local/. I'm not 100% sure about this.
In any case, you can compile Kodi, the binary addons and the cores and install them in your user account. I have tested them in both Debian and Ubuntu and work (expect the problems with some binary addons in Ubuntu because of errors in the build system).
Quote: The binary addons and the binary games addons (the cores) are in different repositories. My scripts change the repository in the Kodi source before compilation, hence the reason why there are different scripts to compile the binary addons and the cores.
Quote: If you are using Kodi installed from the PPA I think the installation directory you have to set is /usr/ and not /usr/local/. I'm not 100% sure about this.
No, as I said in the first post I'm compiling from source. The instructions call attention that the same prefix should be used for the main Kodi compilation and the binary addon compilation, which I'm doing.
I just need someone to tell me where Kodi *actually* looks for the addon library files, so that I can fix my build and then make a pull request to fix the official instructions.
I used Wintermute0110 scripts to compile and had to put the addon folders with .so files in /usr/lib/x86_64-linux-gnu/kodi/addons in order to get them load.