0 votes

I'm following this tutorial: https://docs.godotengine.org/en/3.4/development/compiling/compiling_for_x11.html

I've installed all the dependencies and cloned the repo. When I run the scon command I get this error:

scons: Reading SConscript files ...
Package x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable 
No package 'x11' found
Error: X11 libraries not found. Aborting.
Automatically detected platform: x11
Invalid target platform "x11".

How can I solve this issue?

Godot version 3.4
in Engine by (21 points)

1 Answer

–1 vote

If you're compiling master (aka Godot 4), the platform has been renamed to linuxbsd:

scons -j$(nproc) platform=linuxbsd
by (1,305 points)

I'm compiling version 3.4

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.