0 votes

I'm trying to build Godot with msys2, but I get the following 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
X11 not found.. x11 disabled.
No valid target platform selected.
The following were detected:

Please run scons again with argument: platform=<string>
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.

I have no idea how to solve this problem. I would like to use msys2 because I have everything installed (python2.7, scons). I'm using this command to build:

scons platform=windows tools=no target=release bits=64
in Engine by (25 points)

It looks like the build expects "X11" (i.e. the X Windowing System) instead of Windows. In the configurations for msys2, it may think that it's in a Unix environment (like GNU/Linux). Maybe play around with environment variables?

Please log in or register to answer this question.

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.