SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Help

Reply
 
Thread Tools Search this Thread
Old 07-02-2019   #1
SKG3
 
SKG3's Avatar
Default Help - Compiling SRB2 for ARM

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!
__________________
Part of the SSG3 team since April 2019!
SKG3 is offline   Reply With Quote
Old 07-02-2019   #2
AlamGBC
WOO! GO ME! YAHOO!
Administrator
 
AlamGBC's Avatar
Default

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
__________________
"remember, hacking SRB2 is a good thing, cracking it's save games is not" - Alam and Logan Arias

3DS FC: 0473-7778-0919

Last edited by AlamGBC; 07-02-2019 at 07:19 PM.
AlamGBC is offline   Reply With Quote
Old 07-02-2019   #3
STG3
Part of the SSG3 team
 
STG3's Avatar
Default

Well that's useful information I got here
STG3 is offline   Reply With Quote
Old 6 Days Ago   #4
cringyguy
Default 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
cringyguy is offline   Reply With Quote
Old 5 Days Ago   #5
Silver Sonic
ジャヒー様
 
Silver Sonic's Avatar
Default

Quote:
Originally Posted by cringyguy View Post
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 by Silver Sonic; 5 Days Ago at 11:22 PM.
Silver Sonic is offline   Reply With Quote
Old 5 Days Ago   #6
FishandChips
Just some Fish and Chips!
 
FishandChips's Avatar
Default

Is this gonna be on the Microsoft Store? Then Windows 10 S users could play SRB2.
__________________
I like Sonic Forces! Do you?
FishandChips is offline   Reply With Quote
Old 2 Days Ago   #7
cringyguy
Default

Quote:
Originally Posted by Silver Sonic View Post
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!
cringyguy is offline   Reply With Quote
Old 1 Day Ago   #8
Silver Sonic
ジャヒー様
 
Silver Sonic's Avatar
Default

Quote:
Originally Posted by cringyguy View Post
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).
Silver Sonic is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:21 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.