[SOLVED] Compiling 1.7.1 to ARM-based SBC
Moderator: OpenTTD Developers
[SOLVED] Compiling 1.7.1 to ARM-based SBC
Just... how?
I have ASUS Tinker Board running TinkerOS which is based on Debian and all of it is based on a 32-bit ARM quad-core CPU.
I tried following the Debian compile guide on wiki, but I am stuck at the part with "sudo apt-get build-dep openttd", it returns "you must put some 'source' URLs in your sources.list", which makes me completely confused as this is my first ever experience with Linux stuff.
I guess there's not a precompiled version anywhere, so my only hope is compiling it myself. Any advice? By the way Tinker Board is pretty much the same as Raspberry Pi, except 32-bit.
I have ASUS Tinker Board running TinkerOS which is based on Debian and all of it is based on a 32-bit ARM quad-core CPU.
I tried following the Debian compile guide on wiki, but I am stuck at the part with "sudo apt-get build-dep openttd", it returns "you must put some 'source' URLs in your sources.list", which makes me completely confused as this is my first ever experience with Linux stuff.
I guess there's not a precompiled version anywhere, so my only hope is compiling it myself. Any advice? By the way Tinker Board is pretty much the same as Raspberry Pi, except 32-bit.
Last edited by DerekCZ on 29 Aug 2017 20:57, edited 1 time in total.
Re: Compiling 1.7.1 to ARM-based SBC
They might have stripped out the build dependency information for openttd.
What happens if you take the manual path?
If all of those packages are available to tinkeros and are installed, then you should be able to build openttd.
What happens if you take the manual path?
Code: Select all
sudo apt-get install build-essential pkg-config libsdl1.2-dev subversion patch zlib1g-dev liblzo2-dev liblzma-dev libfontconfig-dev libicu-dev
Re: Compiling 1.7.1 to ARM-based SBC
This:
The main problem here is that the comunity of Tinker Board is pretty much nothing, so I can't really ask anywhere :/
EDIT: okay, just to make it clear, the TinkerOS is a distro of Linaro which is a distro of Debian. It's pretty much just Linaro with drivers for wifi, bluetooth and GPIO
Code: Select all
linaro@linaro-alip:~$ sudo apt-get install build-essential pkg-config libsdl1.2-dev subversion patch zlib1g-dev liblzo2-dev liblzma-dev libfontconfig-dev libicu-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libsdl1.2-dev
E: Couldn't find any package by glob 'libsdl1.2-dev'
E: Couldn't find any package by regex 'libsdl1.2-dev'
E: Unable to locate package subversion
E: Unable to locate package zlib1g-dev
E: Unable to locate package liblzo2-dev
E: Unable to locate package liblzma-dev
E: Unable to locate package libfontconfig-dev
E: Unable to locate package libicu-dev
linaro@linaro-alip:~$
EDIT: okay, just to make it clear, the TinkerOS is a distro of Linaro which is a distro of Debian. It's pretty much just Linaro with drivers for wifi, bluetooth and GPIO
Re: Compiling 1.7.1 to ARM-based SBC
EDIT: I would LOVE to share the compiled game, but I don't really know which files I should upload since it made files all over my SD card...
Nevermind, thanks to mr. Tobias I managed to compile it
Just instead of this:
I used this to compile the game itself:
Nevermind, thanks to mr. Tobias I managed to compile it
Just instead of this:
Code: Select all
cd openttd-1.6.1/
./configure --enable-dedicated
make --jobs=4
Code: Select all
cd openttd-1.6.1/
./configure
make --jobs=4
Re: [SOLVED] Compiling 1.7.1 to ARM-based SBC
So were you just missing apt-get update part?
Anyway. If you want to make a version you can share with others, you can use "make bundle", which will create a single package file (gzip or xz or some kind of archive file), which you can post somewhere.
Anyway. If you want to make a version you can share with others, you can use "make bundle", which will create a single package file (gzip or xz or some kind of archive file), which you can post somewhere.
Re: [SOLVED] Compiling 1.7.1 to ARM-based SBC
It was propably something with permissions. I had to reinstall the entire OS (just a matter of minutes thanks to high speed sd card ) and now it works fine.
Also, thanks for the sharing advice, hopefully I will post it as soon as possible
Also, thanks for the sharing advice, hopefully I will post it as soon as possible
Who is online
Users browsing this forum: No registered users and 18 guests