Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several build options produce non-working editors #74546

Closed
stefano-elysium opened this issue Mar 7, 2023 · 6 comments
Closed

Several build options produce non-working editors #74546

stefano-elysium opened this issue Mar 7, 2023 · 6 comments

Comments

@stefano-elysium
Copy link

Godot version

5dccc94

System information

Xubuntu

Issue description

Command: scons platform=linux

Compiling the editor with module_svg_enabled = "no", causes a crash on startup.

Compiling the editor with module_text_server_adv_enabled = "no" breaks the texts and it looks like this:
image
(Message in console: WARNING: Some locales are not properly supported by selected Text Server and are disabled. )

Compiling the editor with the module_text_server_adv_enabled, but with option module_freetype_enabled = "no" causes compilation failure, messages [ 46%] In file included from modules/text_server_adv/thorvg_svg_in_ot.cpp:58: modules/text_server_adv/thorvg_svg_in_ot.h:55:10: fatal error: freetype/freetype.h: No such file or directory 55 | #include <freetype/freetype.h> | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. [ 67%] In file included from modules/text_server_adv/text_server_adv.cpp:76: modules/text_server_adv/thorvg_svg_in_ot.h:55: fatal error: freetype/freetype.h: No such file or directory 55 | #include <freetype/freetype.h> | compilation terminated.

Steps to reproduce

As above.

Minimal reproduction project

N/A

@AThousandShips
Copy link
Member

The SVG crash will be fixed by #74551 it looks like

@AThousandShips
Copy link
Member

The SVG without freetype is a bug though, the module check isn't checking for freetype even though it is required for that to work, will look at a fix

@AThousandShips
Copy link
Member

See #74556

@YuriSizov YuriSizov added this to the 4.1 milestone Mar 15, 2023
@YuriSizov
Copy link
Contributor

The cases reported here are addressed by #74551 and #74556. Note that disabling those modules will never produce a completely working editor, because it is not building without those modules in mind. The best we can guarantee is that it doesn't crashes.

@stefano-elysium
Copy link
Author

@YuriSizov if it will never produce a working editor, why not prevent editor builds, like if advanced UI is disabled?

@YuriSizov
Copy link
Contributor

That's a good idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants