I am trying to set up build system in Linux, Having problem when building the debug/release apk. It says x11 not found?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By yeeshu06
:warning: Old Version Published before Godot 3 was released.

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

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 :

‘libgodot.android.opt.debug.armv7.neon.so’

I want an apk. Thanks. Appreciated.

yeeshu06 | 2017-08-25 10:27

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.

avencherus | 2017-08-25 15:22