+2 votes

Hi, so in terminal when i say, scons :

it spits this back : 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

Any idea on how to tackle this? I am new to Linux as well. I only want to build the debug/release apks so i can reuse them on windows in order to build properly and hence run admobs. Any help is appreciated. Thanks

in Engine by (74 points)

Also, if i do go through with platform=android target=debug/release etc,
it spits out this named file in bin folder and not an apk :


I want an apk. Thanks. Appreciated.

I have the most minimal experience with Linux as well, but I have seen a remark recently about Linux compilation issues. This may not be your problem, but according to the comment, compiling with some version of openSSL causes issues for some people. And that changing a compiler flag may fix it.

scons platform=x11 use_llvm=yes builtin_openssl=yes

Since this is outside my wheel house and can't help you beyond that, I leave this as a comment, in case it is helpful.

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.