libretro / libretro-chailove

:heart: 2D Game Framework with ChaiScript
https://raw.githack.com/libretro/libretro-chailove/docs/index.html
MIT License
70 stars 22 forks source link

Port: SNES Mini #184

Open advokaten opened 6 years ago

advokaten commented 6 years ago

Tried to compile this for my SNES Mini and I can't get it to work.

I believe the SNES Mini is missing a bunch of libraries. I think they need to be in the core when compiling, for it to work...

RetroArch keeps saying "No core loaded", trying to load it.

Thank you.

RobLoach commented 6 years ago

Thanks! How did you try to build it? We could try to update the Makefile to the latest libretro ones.

advokaten commented 6 years ago

On a RPi3 running Raspbian, I cd'd into chailove and did make...

RobLoach commented 6 years ago

On the SNES Mini you did this? What error did you get?

advokaten commented 6 years ago

Trying to load the compiled .so file in RetroArch, it just won't load.

I think the SNES Mini is missing libraries (or something) to run the ChaiLove core.

We tried adding the Freetype library to the makefile, but Retroarch still says "No core loaded" when trying to load the core.

RobLoach commented 6 years ago

We likely need to update the latest Makefile setup in fceum: https://github.com/libretro/libretro-fceumm

advokaten commented 6 years ago

I'm sorry, I don't see how that would solve the issue... Could you elaborate a bit more, please...? Thanks

RobLoach commented 6 years ago

There's likely a few things missing from this Makefile that prevent it from being properly ported to SNES Mini. Unsure what exactly. Could you provide the logs you get when you attempt a compile?

RobLoach commented 6 years ago

To run it on retroarch-clover, he mentioned he needed....

#!/bin/sh
LD_LIBRARY_PATH=$rootfs/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

exec retroarch-clover chailove "$@"
RobLoach commented 6 years ago

Make sure to update GCC to >=5.2.... Also, arm compiled is over at: https://buildbot.libretro.com/nightly/linux/armhf/latest/