Linux/Windows not compile server binary (non GUI)
error Linux
===> LD /home/runner/work/simutrans/simutrans/sim
build/default/gui/components/gui_speedbar.o: In function `gui_routebar_t::draw(scr_coord)':
gui_speedbar.cc:(.text+0x400): undefined reference to `display_right_triangle_rgb(short, short, short, unsigned short, bool)'
collect2: error: ld returned 1 exit status
make: *** [/home/runner/work/simutrans/simutrans/sim] Error 1
common.mk:28: recipe for target '/home/runner/work/simutrans/simutrans/sim' failed
Error: Process completed with exit code 2.
error Windows
"D:\a\simutrans\simutrans\Simutrans-Server.vcxproj" (default target) (1) ->
(Link target) ->
gui_speedbar.obj : error LNK2001: unresolved external symbol "void __cdecl display_right_triangle_rgb(short,short,short,unsigned short,bool)" (?display_right_triangle_rgb@@YAXFFFG_N@Z) [D:\a\simutrans\simutrans\Simutrans-Server.vcxproj]
D:\a\simutrans\simutrans\Simutrans_Server.exe : fatal error LNK1120: 1 unresolved externals [D:\a\simutrans\simutrans\Simutrans-Server.vcxproj]
19 Warning(s)
2 Error(s)
This patch should fix the error.
Thanks, fixed in r9259
works, thank you