Help- Error 127

58 views
Skip to first unread message

Sumbigboi

unread,
Jun 22, 2021, 9:13:08 PM6/22/21
to mupen64plus
Hello,
After trying to compile Mupen64Plus by following the "compiling Mupen64Plus from source code under Linux" on "https://mupen64plus.org/wiki/index.php?title=CompilingFromGit", I get "/bin/sh: 1: nasm: not found
Makefile:789: recipe for target '_obj/device/r4300/x86_64/dyna_start.o' failed
make: *** [_obj/device/r4300/x86_64/dyna_start.o] Error 127
make: Leaving directory '/home/gorbi/source/mupen64plus-core/projects/unix' after running the "./m64p_get.sh && ./m64p_build.sh && ./m64p_test.sh" command from "Checking out, building, and updating the source code".
I would appriciate help on how to fix this,

Thank you,

Richard Goedeken

unread,
Jun 22, 2021, 9:20:26 PM6/22/21
to mupen...@googlegroups.com
Hello,

You need to install the assembler tool called "nasm". It mentions this in the
Build Environment line in the Requirements sections but probably this isn't
explicit enough and we ought to make a list of all of the required tools.

There is also an "apt" command given for Debian-derived linux distros which
includes the "nasm" package. If you have a different linux distro the nasm
assembler may have a different package name.

Richard
> --
> You received this message because you are subscribed to the Google Groups
> "mupen64plus" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mupen64plus...@googlegroups.com
> <mailto:mupen64plus...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mupen64plus/4c6e8d2c-59a6-483d-86d1-d64c1ecea626n%40googlegroups.com
> <https://groups.google.com/d/msgid/mupen64plus/4c6e8d2c-59a6-483d-86d1-d64c1ecea626n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Sumbigboi

unread,
Jun 22, 2021, 10:27:12 PM6/22/21
to mupen64plus
After installing Nasm, I received "fatal error: boost/filesystem.hpp: No such file or directory
 #include <boost/filesystem.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:512: recipe for target '_obj/GlideHQ/TxFilterExport.o' failed
make: *** [_obj/GlideHQ/TxFilterExport.o] Error 1
make: Leaving directory"
while The scripts were entering in  ./mupen64plus-video-glide64mk2/projects/unix'

Anyway to fix this also?

Sumbigboi

Richard Goedeken

unread,
Jun 23, 2021, 12:32:19 AM6/23/21
to mupen...@googlegroups.com
Yeah, to install all of the dependencies, if you're on a Debian-derived Linux
distro, just run this command:

sudo apt install build-essential libz-dev libpng-dev libsdl2-dev
libfreetype-dev nasm libboost-dev libboost-filesystem-dev

I wish we didn't have the Boost dependency but unfortunately Glide64mk2 uses
it. If you can't get Boost installed (the development packages) you can also
just remove this video plugin from the list of packages to build in
m64p_build.sh. You can still build and use the other video plugins.

Richard

Sumbigboi

unread,
Jun 23, 2021, 12:51:18 AM6/23/21
to mupen64plus
Yes, I was having trouble with that command earlier, I had to manually install Freetype 2, and another program before I was able to get to the Error first mentioned. I will just try removing this package in m64_build.sh.

Sumbigboi

unread,
Jun 23, 2021, 1:11:17 AM6/23/21
to mupen64plus
I was actually able to get  Boost dependcies installed, however i get the error that "UI-Console Error: dlopen('/usr/local/lib/libmupen64plus.so.2') failed: /usr/local/lib/libmupen64plus.so.2: cannot open shared object file: No such file or directory
UI-Console Error: AttachCoreLib() Error: Emulator core '(null)' incompatible; Config API version 2.3.0 doesn't match application: 2.3.1"
when running /dir/whatever/mupen64plus.
I looked up this error in the conversation history, and this seems to be a problem on Unix-like systems. Anyway to fix this? I tried running "sudo apt install mupen64plus" however, I have not noticed anything different.

Sumbigboi

unread,
Jun 23, 2021, 1:14:38 AM6/23/21
to mupen64plus
Trying to run a .z64 rom with the command "/dir/mupen64plus samedir/game.z64" gives me the same mentioned error, but an additional error of "UI-Console Error: AttachCoreLib() Error: Emulator core '(null)' incompatible; Config API version 2.3.0 doesn't match application: 2.3.1
"
I apologize for this much support, but is there a solution to this as well?

Thank you so much for all of your help.

On Tuesday, June 22, 2021 at 11:51:18 PM UTC-5 Sumbigboi wrote:

Sumbigboi

unread,
Jun 23, 2021, 7:56:14 PM6/23/21
to mupen64plus
Sorry for the spam.

I have been able to get mupen64plus running, as well as installing mupen64plus-qt to help me here and there. I was also able to set-up a gamecube adapter I own, so I may email the configuration to somebody to submit it for the offical release, as the final section of https://mupen64plus.org/wiki/index.php/ControllerSetup suggests.

Thank you for the help.
Reply all
Reply to author
Forward
0 new messages