stride3d / stride

Stride Game Engine (formerly Xenko)
https://stride3d.net
MIT License
6.32k stars 917 forks source link

Linux build does not include necessary library (freetype) #2305

Open YerkoAndrei opened 3 weeks ago

YerkoAndrei commented 3 weeks ago

Release Type: Official Release

Version: 4.2.0.2149

Platform(s): Linux

Describe the bug When publish a game for linux, it does not generate the freetype library, resulting in a unplayable build.

To Reproduce Steps to reproduce the behavior:

  1. Create project including linux platform
  2. Publish on linux

Expected behavior freetype.so should appear in publish folder so the linux executable can use it.

Log and callstacks LinuxTerminal.txt

Additional context freetype.dll is equally necessary on windows, if you remove and execute the game it gives th same error. Adding windows generated freetype.dll to the folder does nothing Modifying the publish profile (SelfContained or PublishSingleFile) does nothing.

Im new to linux so i may be wrong on the reason of why the build fails. I just came to this conclusion when i realised that the error in the terminal was the same when i deleted the same dll on a windows build to test if it was used (i dont really know what it does).

Jklawreszuk commented 3 weeks ago

see: https://github.com/stride3d/stride/pull/2303 You can't currently publish game on Linux