-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARM support #22
Comments
Enemy Territory can be downloaded from https://www.etlegacy.com/download. They say that ET:Legacy is bundled with Omni-Bot. |
Guess that tutorial for rpi says it can work. |
I'm trying to creat ET server with bots on RHEL 9.1 running on ARM.
Thank you for your help |
The master branch is broken. You have to get the source code from the stable branch. |
thx a lot for a quick response, I've realized that a few moments before your answer. och and the same thing will be with boost - I should use boost_1_44_0 and not boost_1_81_0 right? |
You can use any version of boost. |
Thank you @plastovicka for your help and support. Build of boost_1_81_0 when fine - no issues, no errors and no warnings.
But I'm still fighting with Omnibot build Honestly I'm not sure if BOOST_BUILD_PATH=$BOOST/tools/build is correct. In this path I have:
Log from my buil: omnibot_build.log |
I fixed the error in WaypointSerializer today. Update it and then try it again. |
I successfully cross-built omni-bot on aarch64 for ET using these steps. Run the set -e
export BOOST_ROOT=/code/boost
cd /code
apt-get update
apt-get install -y git curl
# compile boost
cat <<EOF > ~/user-config.jam
using gcc : arm : aarch64-linux-gnu-g++ ;
EOF
curl -L -O https://github.com/boostorg/boost/releases/download/boost-1.84.0/boost-1.84.0.tar.gz
tar -xf boost-1.84.0.tar.gz
cd boost-1.84.0
./bootstrap.sh --with-libraries=system,filesystem,regex,date_time
./b2 toolset=gcc-arm cxxflags="-fPIC" link=static --prefix="${BOOST_ROOT}" install
# compile omni-bot
git clone https://github.com/jswigart/omni-bot.git -b stable --depth 1 --recursive /code/omni-bot
cd /code/omni-bot/0.83/Omnibot
sed -i -E 's@^(build-project RTCW.*)@#\1@' Jamfile
sed -i -E 's@(std=c\+\+11)@\1 <cflags>-fPIC@' Common/Jamfile
/code/boost-1.84.0/b2 -d+2 toolset=gcc-arm cxxflags="-I${BOOST_ROOT}/include -fPIC" linkflags="-L${BOOST_ROOT}/lib" -a -q release
ls -l /code/omni-bot/0.83/Omnibot/build/ET/gcc-arm/release/omnibot_et.so What is troubling is that I had to edit The result (gzipped): omnibot_et.aarch64.so.gz I put it on my (etbloat) server and it seems to work normally. I'll try to edit the CMake configuration and GitHub actions so that next releases can have aarch64 support officially. My goal is for ET Legacy to ship omni-bot for this architecture. |
Could ARM architecture be officially supported to be able to install omnibot on RPI?
The text was updated successfully, but these errors were encountered: