When compiling Simutrans Standard with scaling font support for my Arch package, it was unable to find freetype-config although I have Freetype2 installed. Searching for more info I found this bug report in Debian (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892451)
QuoteThe next release of libfreetype6-dev will *not* ship `freetype-config', as the script has now been deprecated in favour of `pkg-config'.
If this bug is not resolved prior to the release of FreeType 2.9.1, your package may FTBFS.
This is the case for me, since freetype2 is in version 2.10.1-1 in Arch Linux.
Great, why stick to something working, just because something newer is working too.
Just add to your config.default file the line
FREETYPE_CONFIG = pkg-config freetype2
This has been brought up earlier (https://forum.simutrans.com/index.php/topic,19011.msg180232.html).
Quote from: prissi on February 12, 2020, 03:38:03 AMJust add to your config.default file the line
FREETYPE_CONFIG = pkg-config freetype2
Thank you, this does the trick.
Quote from: Ters on February 12, 2020, 05:57:54 PMThis has been brought up earlier.
A warning in the readme or a comment in the default config files provided would has been greatly appreciated.
Quote from: prissi on February 12, 2020, 03:38:03 AMFREETYPE_CONFIG = pkg-config freetype2
Since Extended is also dependent on Freetype, do you think this is helpful advice for people compiling Extended on Linux too?
Quote from: Matthew on February 12, 2020, 10:27:10 PMSince Extended is also dependent on Freetype, do you think this is helpful advice for people compiling Extended on Linux too?
Are you sure it is? config file for Extended doesn't contain any references to Freetype, so I don't think Extended have (yet) merged those changes.
Quote from: Roboron on February 12, 2020, 10:31:32 PM
Are you sure it is? config file for Extended doesn't contain any references to Freetype, so I don't think Extended have (yet) merged those changes.
You are probably right; I only checked that Freetype was in the dependencies.