I've been trying to compile godot 3.3.4-stable following this tutorial: ttps://docs.godotengine.org/en/stable/development/compiling/compiling_for_x11.html
I've downloaded the source code for 3.3.4-stable and installed all the dependencies listed.
I'm using Ubuntu 20.04.03 LTS 64 bits with X11.
When I run the scons command the error "Package x11 was not found in the pkg-config search path." shows up.
I've googled this problem to no avail, and made sure I had all the dependencies installed.
I'm not sure where the missing file x11.pc should be or where it is.
The full error is:
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
Automatically detected platform: x11
Invalid target platform "x11".