Compile OpenTTD 1.9.2 on Ubuntu 19.04
Moderator: OpenTTD Developers
Compile OpenTTD 1.9.2 on Ubuntu 19.04
Hi!
Trying to compile the OpenTTD 1.9.2 from source, but I'm stuck on make.
I'm reciving: OpenTTD-1.9.2/src/language.h:17:10: fatal error: unicode/coll.h: No such file or directory
I'm almost certain I have the correct libraries, but I guess not.
Anyone know what I'm missing?
Trying to compile the OpenTTD 1.9.2 from source, but I'm stuck on make.
I'm reciving: OpenTTD-1.9.2/src/language.h:17:10: fatal error: unicode/coll.h: No such file or directory
I'm almost certain I have the correct libraries, but I guess not.
Anyone know what I'm missing?
Re: Compile OpenTTD 1.9.2 on Ubuntu 19.04
The unicode/ includes are from ICU, so check if you have the right -dev packages for the right version of ICU installed.
Re: Compile OpenTTD 1.9.2 on Ubuntu 19.04
I have libicu-dev/disco,now 63.1-6 amd64 installed.
Couldnt find any information on version anywhere
Couldnt find any information on version anywhere
Re: Compile OpenTTD 1.9.2 on Ubuntu 19.04
What do you think does "63.1" mean?
Packages normally have a version number embedded in their name.
Packages normally have a version number embedded in their name.
Being a retired OpenTTD developer does not mean I know what I am doing.
-
- Route Supervisor
- Posts: 466
- Joined: 15 Jun 2007 09:27
- Skype: madchimiste
- Location: Berlin, Deutschland
Re: Compile OpenTTD 1.9.2 on Ubuntu 19.04
I don't know what does not work for you, but here are the steps I followed on Ubuntu 18.04:
0. Add source code to sources.list
App "Software&Updates", Tab "Ubuntu Software": check box "Source Code"
1. Download build dependencies for openttd
2. Install "git" (if you don't have it yet)
3. Install MIDI enabler (if you want to play music)
4. Download Source Code
5. Configure and compile
6. Launch the executable
0. Add source code to sources.list
App "Software&Updates", Tab "Ubuntu Software": check box "Source Code"
1. Download build dependencies for openttd
Code: Select all
$ sudo apt-get build-dep openttd
Code: Select all
$ sudo apt-get install git
Code: Select all
$ sudo apt-get install timidity freepats
Code: Select all
$ git clone https://github.com/OpenTTD/OpenTTD.git
Code: Select all
$ ./configure
$ make
Code: Select all
$ ./bin/openttd
-
- Engineer
- Posts: 1
- Joined: 12 Aug 2019 21:51
Re: Compile OpenTTD 1.9.2 on Ubuntu 19.04
Thanks a lot for updating!
I tried this but unfortunately I get this message when downloading dependencies:
***
Reading package lists... Done
E: Unable to find a source package for openttd
***
I haven't played it in 4 years and I just wish I can come back
I tried this but unfortunately I get this message when downloading dependencies:
***
Reading package lists... Done
E: Unable to find a source package for openttd
***
I haven't played it in 4 years and I just wish I can come back
-
- Route Supervisor
- Posts: 466
- Joined: 15 Jun 2007 09:27
- Skype: madchimiste
- Location: Berlin, Deutschland
Re: Compile OpenTTD 1.9.2 on Ubuntu 19.04
It looks like you forgot the step 0: check the "source code" to the list of things downloadable from the internet.
This is how I did with Ubuntu 18.04:
Once you've achieved this, there should be no problem downloading the dependencies for OpenTTD (Step 1 in my previous post).
This is how I did with Ubuntu 18.04:
- Open "Software & Updates"
- Tab "Ubuntu Software"
- Tick the "Source code" check box (you'll probably have to type a password)
Once you've achieved this, there should be no problem downloading the dependencies for OpenTTD (Step 1 in my previous post).
Who is online
Users browsing this forum: No registered users and 1 guest