tiberiusbrown / Ardens

A simulator for the Arduboy FX that can be used for profiling and debugging.
https://tiberiusbrown.github.io/Ardens/
MIT License
44 stars 7 forks source link

Compiling with preinstalled SDL2 #46

Open przem360 opened 8 months ago

przem360 commented 8 months ago

Hi, I was hoping I could run Ardens or at least ArdensPlayer on Linux system without GUI, without X. To be specific - I would like to use Ardens on Raspberry Pi OS Lite. I have custom compiled SDL2, so other SDL2 based projects are running fine directly on framebuffer.

I don't think that it is possible to use framebuffer in SDL3. So, the question is, is it possible to compile Ardens so that it will use my installed SDL2 instead of SDL3? If it is, how can I do it?

tiberiusbrown commented 8 months ago

Hi! Sorry for the late response, I'm bad at noticing GH notifications.

Can you try configuring with -DARDENS_SDL=0? Then it will use the sokol backend. If this doesn't work, I will look into supporting SDL2.