liberetro cmake fail in latest LE-master


  • kodi needs to be bumped

    all good after latest Kodi bump. Thnx
    [hr]


    kodi needs to be bumped

    Addons built but getting:

    00:08:51.884 T:1963672112 ERROR: AddOnLog: SNES / Super Famicom (Snes9x): Unable to load: /usr/share/kodi/addons/game.libretro.snes9x/game.libretro.snes9x.so: cannot open shared object file: No such file or directory
    00:08:51.884 T:1963672112 ERROR: AddOnLog: SNES / Super Famicom (Snes9x): Failed to load /usr/share/kodi/addons/game.libretro.snes9x/game.libretro.snes9x.so

    I had this issue in the last build when things compiled fine but had to add a cp command to copy the lib to the addons dir and not just the kodi-lib dir.

    Edited once, last by onanisland (February 8, 2017 at 12:13 AM).

  • Irusak,

    Can you elaborate? I have game.libretro, game.libretro.snes9x, and libretro-snes9x in my virutal/mediacenter/package.mk right below peripheral.joystick in the stock LE-master virtual/medicacenter/package.mk. All build properly. I can find game.libretro.snes9x.so in /usr/lib/kodi/addons/game.libretro.snes9x/game.libretro.snes9x.so. It appears the package.mk for the lot of the addons have:

    cp -L $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/$ADDONSO $ADDON_BUILD/$PKG_ADDON_ID/

    but wouldn't that resolve the error kodi is reporting? I thought the $ADDON_BUILD/$PKG_ADDON_ID var would be usr/share/kodi/addons/game.libretro.snes9x/ in this case. I apologize if I'm out of my league here. All I can say where is the donate beer icon on the site.


  • Irusak,

    Can you elaborate? I have game.libretro, game.libretro.snes9x, and libretro-snes9x in my virutal/mediacenter/package.mk right below peripheral.joystick in the stock LE-master virtual/medicacenter/package.mk. All build properly. I can find game.libretro.snes9x.so in /usr/lib/kodi/addons/game.libretro.snes9x/game.libretro.snes9x.so. It appears the package.mk for the lot of the addons have:

    cp -L $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/$ADDONSO $ADDON_BUILD/$PKG_ADDON_ID/

    but wouldn't that resolve the error kodi is reporting? I thought the $ADDON_BUILD/$PKG_ADDON_ID var would be usr/share/kodi/addons/game.libretro.snes9x/ in this case. I apologize if I'm out of my league here. All I can say where is the donate beer icon on the site.

    You don't need libretro-snes9x as it is a dependency of game.libretro.snes9x

    Code
    PROJECT=whatever ARCH=something ./scripts/create_addon game.libretro.snes9x


    Then a zip file will be in target/addons/9.0/$PROJECT/$ARCH/game.libretro.snes9x/

    They are not packaged to be installed into the system.