mupen64plus-core icon indicating copy to clipboard operation
mupen64plus-core copied to clipboard

raspbian support?

Open segalion opened this issue 5 years ago • 16 comments

Hello. I would like to know if mupen64plus can be compiled in raspbian (buster with powerfull rpi4). I have followed helper scripts from https://mupen64plus.org/wiki/index.php?title=CompilingFromGit but fails with:

/usr/include/arm-linux-gnueabihf/gnu/stubs.h:7:11: fatal error: gnu/stubs-soft.h: No existe el fichero o el directorio
 # include <gnu/stubs-soft.h>

Do you know if raspbian is supported. Are you planning to release binaries for raspbian, so with new rpi4 seems we have power enough for lots of games...

Thanks in advance.

segalion avatar Jul 17 '19 11:07 segalion

Hello.

Your error message indicates a problem with your compiler. Maybe you need to install a package named gnu stubs soft, or something like this.

Narann avatar Jul 17 '19 12:07 Narann

no package exist with similar names... maybe could be changing compilation options... but it is over my knowledge...

segalion avatar Jul 19 '19 10:07 segalion

From here, it seems to be related to -mfloat-abi. RPi4 seems to be Neon-compatible. From the makefile, it looks like you could try the NEON compilation flag. Other compilation options are available here.

Does this works for you ?

You will maybe need USE_GLES or VC.

Narann avatar Jul 19 '19 16:07 Narann

Hello. I have followed compilation instructions in https://github.com/RetroPie/RetroPie-Setup/wiki/Optimization-for-Nintendo-64

But when run from command-line it returns: "Could not initialize EGL"

Core: Setting video mode: 640x480
Core Error: SDL_SetVideoMode failed: Could not initialize EGL
(EE) Error setting videomode 640x480
&ConfigOpenSection is 0x8c2c0fe0
(II) Setting video mode 640x480...
Core: Setting video mode: 640x480
Core Error: SDL_SetVideoMode failed: Could not initialize EGL
(EE) Error setting videomode 640x480
Video Error: Error setting display mode

Some help? Maybe some /boot/config.txt trick? I would like to get mupen64plus running on rpi4. I am trying running it under standart Xorg desktop PIXEL.

Thanks

segalion avatar Nov 04 '19 15:11 segalion

any way i could get some support for this? ive got a raspberry pi 4 with raspbian and every time i try to "make all" i get this pi@raspberrypi:~/mupen64plus-core/projects/unix $ make all Makefile:124: Architecture "armv7l" not officially supported. CC _obj/api/callbacks.o In file included from /usr/include/features.h:448, from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../src/api/callbacks.c:27: /usr/include/arm-linux-gnueabihf/gnu/stubs.h:7:11: fatal error: gnu/stubs-soft.h: No such file or directory

include <gnu/stubs-soft.h>

       ^~~~~~~~~~~~~~~~~~

compilation terminated. make: *** [Makefile:783: _obj/api/callbacks.o] Error 1 pi@raspberrypi:~/mupen64plus-core/projects/unix $

i have searched to hell and back for this problem and tons of people have had it in tons of different ways mostly seeming to deal with a libc-dev dependency missing problem with that is that i do have that . please have a fix for me ive been working at this for the past 24 hours

steventylerseanherr avatar Jan 17 '20 16:01 steventylerseanherr

oh and ive already tried the neon=1 thing didnt help

steventylerseanherr avatar Jan 17 '20 16:01 steventylerseanherr

You are trying to use soft float with armhf, that won't work. use hardfp

m4xw avatar Jan 17 '20 16:01 m4xw

how? ps: i am completely new to linux based stuff

steventylerseanherr avatar Jan 17 '20 16:01 steventylerseanherr

VFP_HARD=1 gotcha

steventylerseanherr avatar Jan 17 '20 16:01 steventylerseanherr

Make sure u do a clean build

m4xw avatar Jan 17 '20 16:01 m4xw

so what delete then re clone?

steventylerseanherr avatar Jan 17 '20 16:01 steventylerseanherr

make clean

m4xw avatar Jan 17 '20 16:01 m4xw

well it went a lot farther then it was now its getting a bunch (too many to repost) of warnings after CC _obj/device/r4300/new_dynarec/new_dynarec.o

then it ends off with CC _obj/subprojects/md5/md5.o CC _obj/subprojects/xxhash/xxhash.o CC _obj/asm_defines/asm_defines.o CXX _obj/osd/oglft_c.o CXX _obj/subprojects/oglft/OGLFT.o strings "_obj/asm_defines/asm_defines.o" | tr -d '\r' | awk -v dest_dir="../../src/asm_defines" -f ../../tools/gen_asm_defines.awk CC _obj/device/r4300/new_dynarec/arm/linkage_arm.o ../../src/device/r4300/new_dynarec/arm/linkage_arm.S: Assembler messages: ../../src/device/r4300/new_dynarec/arm/linkage_arm.S:177: Error: selected processor does not support movw r3,#:lower16:fp_restore_candidate' in ARM mode ../../src/device/r4300/new_dynarec/arm/linkage_arm.S:178: Error: selected processor does not support movt r3,#:upper16:fp_restore_candidate' in ARM mode make: *** [Makefile:780: _obj/device/r4300/new_dynarec/arm/linkage_arm.o] Error 1 pi@raspberrypi:~/mupen64plus-core/projects/unix $

steventylerseanherr avatar Jan 17 '20 16:01 steventylerseanherr

the idiot that i am didnt think i could just post the console as a txt file

mupen.txt

steventylerseanherr avatar Jan 17 '20 23:01 steventylerseanherr

hey it build with "make VFP_HARD=1 all NO_ASM=1" but something tells me im gonna want that dynamic recompiler "make NEON=1 all NO_ASM=1" also works

steventylerseanherr avatar Jan 17 '20 23:01 steventylerseanherr

Did anything change in the current raspbian version? Compilation complains that SDL has been compiled neither with OpenGL nor GLES support It fails both with USE_GLES=0 and USE_GLES=1

fezie avatar Apr 23 '20 15:04 fezie