The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: Mariculous on October 15, 2021, 03:21:14 PM

Title: github CI windows builds are missing libraries
Post by: Mariculous on October 15, 2021, 03:21:14 PM
I cannot run simutrans builds compiled in the CI.
It seems like the build links dynamically to libraries that are not available on a standard installation of windows.

Namely, in case of msvc builds, SDL2.dll, SDL2_mixer.dll, zlib1.dll and bz2.dll cannot be found.
In case of mingw builds, libwinpthread-1.dll, libgcc_s_seh-1.dll, libstdc++-6.dll and libbz2-1.dll cannot be found.

If there is anyone more experienced with setting this up, I'd really appreciate it to be fixed.
Title: Re: github CI windows builds are missing libraries
Post by: prissi on October 16, 2021, 01:28:53 PM
You can look at the github from standard, which builds everything on github, using static libaries.
Title: Re: github CI windows builds are missing libraries
Post by: Mariculous on October 17, 2021, 01:36:11 PM
Thanks to simutrans standard and Roboron, this has now been fixed on simutrans/simutrans-extended by porting the CMake build system from standard to extended.
Title: Re: github CI windows builds are missing libraries
Post by: prissi on October 18, 2021, 01:29:24 AM
Well, you still need to test on the desync which happened in extended between different build systems (or has this found out)?
Title: Re: github CI windows builds are missing libraries
Post by: Mariculous on October 22, 2021, 05:18:17 PM
Surely this needs to be tested.
I am currently testing a self-compiled linux build using these changes to play on BB.
So far, desyncs don't seem to appear more frequently than usual...

If anyone is interessted, I might set up nightly builds including these changes based on James master branch (i.e. without the pier system)