retropie_setup doesn't support setup mupen64plus with BITS=32 option
-
Hi I could not build mupen64plus from retropie_setup script. I get this message,
Could not successfully build mupen64plus - N64 emulator MUPEN64Plus (mupen64plus-core/projects/unix/libmupen64plus.so.2.0.0 not found).
This is probably because my system is a 32 bit system.But if I download the repository manually and build it my self I could build it successfully, because from the source I can run make with option BITS=32. I think this is needed. So if I manually build and install mupen64plus, how do I later corporate with retropi..... what else do I need to do so that it sees mupen64plus is installed and use it when I run the roms?
-
@hungsterx
please fill out https://retropie.org.uk/forum/topic/3/read-this-first with all info on your system.mupen64plus for sure installs on 32-bit systems via the script (for example, for raspberry pis!), but to find out the build error you should provide the build log that's referenced in the 'Could not successfully build ...' error message. you can find it in
~/RetroPie-Setup/logs/
-
I have followed this guide. https://retropie.org.uk/docs/Debian/.
My device is a Linx vision tablet. It is basically a windows pc originally which I want to run linux on and that is working fine. The distro is a debian bullseye 32 bit.
Now I would like to install retropi on it too. So I cloned the RetroPie-Setup git and run the retro_setup script with sudo. Then I ran basic install on it.
Many things instaled correctly except mupen64plus emulator.Full log can be found here "https://pastebin.com/eiueQrZY". Here is the error from the log where it starts,
In file included from ../../src/device/r4300/x86_64/assemble.c:29:
../../src/device/r4300/x86_64/assemble_struct.h: At top level:
../../src/device/r4300/x86_64/assemble_struct.h:28:8: error: redefinition of ‘struct regcache_state’
28 | struct regcache_state {
| ^~~~~~~~~~~~~~
In file included from ../../src/device/r4300/recomp_types.h:31,
from ../../src/device/r4300/new_dynarec/new_dynarec.h:25,
from ../../src/device/r4300/cp0.h:30,
from ../../src/device/r4300/r4300_core.h:32,
from ../../src/device/device.h:39,
from ../../src/main/main.h:30,
from ../../src/device/r4300/x86_64/assemble.h:32,
from ../../src/device/r4300/x86_64/assemble.c:28:
../../src/device/r4300/x86/assemble_struct.h:27:8: note: originally defined here
27 | struct regcache_state {
| ^~~~~~~~~~~~~~
In file included from ../../src/device/r4300/x86_64/assemble.c:29:
../../src/device/r4300/x86_64/assemble_struct.h:37:8: error: redefinition of ‘struct reg_cache’
37 | struct reg_cache
| ^~~~~~~~~
In file included from ../../src/device/r4300/recomp_types.h:31,
from ../../src/device/r4300/new_dynarec/new_dynarec.h:25,
from ../../src/device/r4300/cp0.h:30,
from ../../src/device/r4300/r4300_core.h:32,
from ../../src/device/device.h:39,
from ../../src/main/main.h:30,
from ../../src/device/r4300/x86_64/assemble.h:32,
from ../../src/device/r4300/x86_64/assemble.c:28:
../../src/device/r4300/x86/assemble_struct.h:36:8: note: originally defined here
36 | struct reg_cache
| ^~~~~~~~~
In file included from ../../src/device/r4300/x86_64/assemble.c:29:
../../src/device/r4300/x86_64/assemble_struct.h:45:8: error: redefinition of ‘struct jump_table’
45 | struct jump_table
etc.... -
@hungsterx said in retropie_setup doesn't support setup mupen64plus with BITS=32 option:
The distro is a debian bullseye 32 bit.
The log file says otherwise:
RetroPie-Setup version: 4.8.2 (9e8f610) System: x86_64 (x86_64) - Debian GNU/Linux 11 (bullseye) - Linux wintablet 5.10.0-15-amd64 #1 SMP Debian 5.10.120-1 (2022-06-09) x86_64 GNU/Linux ...
Do you have a mixed 64bit kernel / 32bit userspace ?
-
@mitu sorry I forgot it is the latest raspbian, which is based on debian bullseye as I understood it.
-
I suggest you install upstream Debian or a lighter Ubuntu variant like Lubuntu/Xubuntu. The Debian Bullseye with Raspberry Pi Desktop looks to be indeed a 32bit OS, but your kernel is 64bit and I think this combo confuses the Mupen64plus build system, which thinks it's running on a 64bit system.
Alternatively, you can just ignore the error and use the libretro core for Mupen64plus as an N64 emulator, should be easier to use and it's based on the same emulation code. -
@mitu Ok i will try that and get back if I face the same problems. This is what I will do, I will install a debian 32 bit(somehow my tablet only support 32 bit uefi and can only detect 32 bit bootable linux distros). Then I just install retropi again through RetroPie-Setup.
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.