Compile modified mupen64core
-
Hallo,
i have to compile a modified mupen64core to RPI for our Modloader64 project.
Its a COOP launcher for games like Zelda oot and mm, banjo kazooie, dk64 and more.
Is all what I need this script? https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/emulators/mupen64plus.sh
And is it able to cross compile the core?
Can I just take the video, input and sound plugins from a installed retropie system?Greetings
TheCherry / Maybe -
I tried to compile the mupen64core. But I get every time the error
#error SDL is not build with OpenGL support. Try USE_GLES=1 ^ Makefile:784: recipe for target '_obj/api/vidext.o' failed
And I tried a lot of things with SDL now, the Version 1 and 2
Precompiled for RPI and self compiled the default version and a extra version for RPI.
I tried at last this configure:./configure --host=arm-raspberry-linux-gnueabihf --enable-video-opengl --disable-video-x11 --disable-pulseaudio --disable-esd --disable-video-mir --disable-video-wayland
-
@TheCherry said in Compile modified mupen64core:
USE_GLES=1
Have you tried putting this on the command line when you compile (i.e on the end of your "make" command).
The hint is right there.
-
@ledow sure ... but its give me the same result.
That was my last try:
make V=1 VC=1 USE_GLES=1 CROSS_COMPILE=/opt/toolchain/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- all /opt/toolchain/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc -O3 -flto -Wall -ffast-math -fno-strict-aliasing -fvisibility=hidden -I../../src -I../../src/asm_defines -DM64P_PARALLEL -fPIC -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/vmcs_host/linux -I/opt/vc/include/SDL2 -DNDEBUG -I../../subprojects/md5 -I../../subprojects/xxhash -DDYNAREC -MD -MP -c -o _obj/api/vidext.o ../../src/api/vidext.c
-
personally, if i was doing this i would make a fork in github with my changes, and then edit the retropie build script to point at it, then compile it through retropie - update via source.
eg https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/emulators/mupen64plus.sh#L32
if i made a change to the master branch of my fork of mupen64plus-core, i would this line to
'dankcushions core'
note that when you edit retropie scripts the script updater will complain when you come to update it.
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.