Godot version:
major = 4
minor = 0
patch = 0
status = "dev"
module_config = ""
year = 2020
OS/device including version:
Ubuntu 18.04.4
Issue description:
Scons does not detect X11
Steps to reproduce:
cd godotscons3 -j4 platform=x11 (scons3="/usr/bin/env python3 $(which scons)")Output:
scons: Reading SConscript files ...
Invalid target platform "x11".
The following platforms were detected:
haiku
linuxbsd
server
Please run SCons again and select a valid platform: platform=<string>
But I have X11 installed. Here the output of my dpkg -l | grep xserver-xorg-core
ii xserver-xorg-core-hwe-18.04 2:1.20.5+git20191008-0ubuntu1~18.04.1 amd64 Xorg X server - core server
This commit seems to imply that x11 was renamed to linuxbsd.
But if that's the case, then the documentation has to be changed.
I wonder if we should alias x11 to linuxbsd to prevent errors like this (and print a message telling the user x11 is now an alias for linuxbsd). Many third-party documentation websites will never be updated :slightly_frowning_face:
@Ev1lbl0w That is how I got it to work. Ran it with platform=linuxbsd and everything went off fine.
This should make it rather obvious:
The following platforms were detected:
haiku
linuxbsd
server
Still, I somehow missed that and ended up finding this issue instead :man_facepalming:
Most helpful comment
I wonder if we should alias
x11tolinuxbsdto prevent errors like this (and print a message telling the userx11is now an alias forlinuxbsd). Many third-party documentation websites will never be updated :slightly_frowning_face: