Help - Compiling SRB2 for ARM

Kaylie

she/her
I'm having a LOT of issues concerning compiling SRB2 for ARM. I've been asking on the Discord about it, and Golden helped me a lot (thanks by the way) but we still couldn't figure it out. It has to be ARM architecture. If an automated .sh script is out there, could you get me it? Thanks!
 
Nope, it is not easy for us and it will not be easy for you


for the most part, following who the CircleCI bot is setup to compile x86 version of SRB2 on an AMD64 system

I am guessing you are building on the ARM device itself, because doing a cross-compile HARD to setup

Let download the packages we need so we can compile
Code:
sudo apt-get -qq -y --no-install-recommends install git build-essential libpng-dev libsdl2-mixer-dev libgme-dev gettext ccache wget gcc upx openssh-client

Download the source code
Code:
git clone https://github.com/STJr/SRB2.git

And try to compile the silly thing
Code:
LIBGME_CFLAGS=-I/usr/include LIBGME_LDFLAGS=-lgme make -C SRB2/src LINUX=1 WARNINGMODE=1 CCACHE=1 NONX86=1 -k -j4
 
Last edited:
Whatto do

So i just download the bot from git hub and run the code in terminal?

---------- Post added at 05:17 PM ---------- Previous post was at 04:11 PM ----------

the first 2 commands worked but the last one returns fatal errors
 
So i just download the bot from git hub and run the code in terminal?

---------- Post added at 05:17 PM ---------- Previous post was at 04:11 PM ----------

the first 2 commands worked but the last one returns fatal errors
Wow, what have you unearthed?


But to be honest I am kinda interested in build instructions for Srb2 as well. Like how would I go on compiling Srb2 for a Linux distribution packages aren't provided for? I don't have that much knowledge regarding C++ compilation.


Tbh I haven't attempted it yet: http://wiki.srb2.org/wiki/Source_code_compiling/Makefiles
 
Last edited:
Wow, what have you unearthed?


But to be honest I am kinda interested in build instructions for Srb2 as well. Like how would I go on compiling Srb2 for a Linux distribution packages aren't provided for? I don't have that much knowledge regarding C++ compilation.


Tbh I haven't attempted it yet: http://wiki.srb2.org/wiki/Source_code_compiling/Makefiles
i was just trying to download it on my rpi. I don't actually know how to build or what we are looking for but hw could help if you point me to some building resources i would love to help!
 
i was just trying to download it on my rpi. I don't actually know how to build or what we are looking for but hw could help if you point me to some building resources i would love to help!


https://github.com/heyjoeway/SRB2/releases/tag/v2.2.0
heyjoeway probably knows how to make it run with an ARM processor as maintainer of the Nintendo Switch port.


As for me I was curious if I could compile Srb2 for OpenSUSE x86_64 as I will probably use it for work, so I figured I might as well tinker around with it.

In the past I often ran into depency hell when attempting to compile specific binaries on Linux (mostly RHEL derivatives).
 
you might
Whatto do

So i just download the bot from git hub and run the code in terminal?

---------- Post added at 05:17 PM ---------- Previous post was at 04:11 PM ----------

the first 2 commands worked but the last one returns fatal errors
you might need to run sudo apt install -y libcurl4-openssl-dev
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top