jtothebell / fake-08

A Pico-8 player/emulator for console homebrew
Other
563 stars 49 forks source link

Trying to build on Odroid C4 fails #161

Closed vanfanel closed 1 year ago

vanfanel commented 1 year ago

Hi,

I run Debian 11 on this board, and I see this when trying to do an SDL2 build:

In file included from /home/manuel/src/fake-08/platform/SDL2Desktop/../../source/cart.h:5,
                 from /home/manuel/src/fake-08/platform/SDL2Desktop/../../source/cart.cpp:12:
/home/manuel/src/fake-08/platform/SDL2Desktop/../../source/graphics.h:7:10: fatal error: fix32.h: No such file or directory
    7 | #include <fix32.h>
      |          ^~~~~~~~~

Same happens on x86_64. Any idea on what's going on?? Thanks!

jtothebell commented 1 year ago

That looks like you didn't clone the submodules along with the base repo: https://stackoverflow.com/a/4438292

vanfanel commented 1 year ago

@jtothebell Ah! That was it!

BTW, have you considered a libretro port? These games look gorgeous with CRT-like shaders!

jtothebell commented 1 year ago

Yes, I've been slowly working on one and the basics working. Primarily I want it to work on Android, possibly on platforms like opendingux and the miyoo mini, and I don't plan on publishing desktop versions of the core. Not sure when it will be finished, but the branch is published here: https://github.com/jtothebell/fake-08/tree/libretro-core

vanfanel commented 1 year ago

That's fantastic, @jtothebell I will try it ASAP! I have several licenses of Pico8 (they are given for free with the Picade, of which my gf and I have several at home), but having shaders totally makes them redundant with this :D

vanfanel commented 1 year ago

Hm, tried the libretro port, seems to fail linking on the C4...

/usr/bin/ld: cannot open linker script file ../../link.T: No such file or directory
collect2: error: ld returned 1 exit status