RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Problem installing MAME 2016 on Retropie 4.4

    Scheduled Pinned Locked Moved Help and Support
    retropie 4.4mame 2016
    2 Posts 2 Posters 884 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      raspy+
      last edited by raspy+

      Hello,

      I did a fresh install of Retropie 4.4 on a Rpi 3B+ board from CanaKit with a 128GB Samsung Evo microSD card and I tried to install MAME 2016 but it gave me the following error:

      "Could not successfully build lr-mame2016 - MAME emulator - MAME 0.174 port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/mamearcade2016_libretro.so not found"

      then it states...

      "Please see /home/pi/RetroPie-Setup9/logs/rps_2018-12-31_121448.log.gz for more in depth information regarding the errors."

      Anyone know how I can fix this error or is there any other way to install MAME 2016 on a Rpi 3B+ since I had no issues installing it from the "experimental" menu on a Rpi 3 board with Retropie 4.1.

      EDIT:
      I looked at the end of the log and I see this but I don't understand any of it...

      *** [bgfx] Error 2
      make[2]: *** Waiting for unfinished jobs....
      Archiving libsqlite3.a...
      ar -rcs ../../../../gmake/libretro/release/libsqlite3.a ../../../../gmake/libretro/obj/libretro/3rdparty/sqlite3/sqlite3.o
      make[2]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/build/projects/retro/mamearcade/gmake-linux'
      makefile:1213: recipe for target 'linux' failed
      make[1]: *** [linux] Error 2
      make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016'
      Makefile.libretro:195: recipe for target 'build' failed
      make: *** [build] Error 2
      Removing additional swap
      /home/pi/RetroPie-Setup
      Could not successfully build lr-mame2016 - MAME emulator - MAME 0.174 port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/mamearcade2016_libretro.so not found).

      Log ended at: Mon Dec 31 12:35:04 PST 2018
      Total running time: 0 hours, 20 mins, 16 secs

      EDIT #2:
      I tried changing the sources from another thread and it didn't work for me (see new error in log below).
      https://retropie.org.uk/forum/topic/19853/mame2016-compiled-with-updated-bgfx-and-bx/2

      Log started at: Mon Dec 31 20:31:21 PST 2018

      RetroPie-Setup version: 4.4.4 (72e2d2bd)
      System: Linux arcade1up 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
      /home/pi/RetroPie-Setup/tmp/build/lr-mame2016 /home/pi

      = = = = = = = = = = = = = = = = = = = = =
      Getting sources for 'lr-mame2016' : MAME emulator - MAME 0.174 port for libretro
      = = = = = = = = = = = = = = = = = = = = =

      git clone --recursive --depth 1 --branch bgfx_bx_update "https://github.com/libretro/mame2016-libretro.git" "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016"
      Cloning into '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016'...
      warning: Could not find remote branch bgfx_bx_update to clone.
      fatal: Remote branch bgfx_bx_update not found in upstream origin
      /home/pi
      Error running 'git clone --recursive --depth 1 --branch bgfx_bx_update https://github.com/libretro/mame2016-libretro.git /home/pi/RetroPie-Setup/tmp/build/lr-mame2016' - returned 128

      Log ended at: Mon Dec 31 20:31:22 PST 2018
      Total running time: 0 hours, 0 mins, 1 secs

      EDIT #3:
      Sorry my bad!

      I am suppose to replace the following in the script file "~/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2016.sh" from this:
      function sources_lr-mame2016() {
      gitPullOrClone "$md_build" https://github.com/libretro/mame2016-libretro.git
      }

      With this:
      function sources_lr-mame2016() {
      gitPullOrClone "$md_build" https://github.com/Menion2k/mame2016-libretro.git bgfx_bx_update
      }

      It's compiling now. Problem solved.

      1 Reply Last reply Reply Quote 0
      • T
        toto2000
        last edited by

        So, what are your results? Did you try running it with some games? Please report...

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.