-
-
Notifications
You must be signed in to change notification settings - Fork 21.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Godot Cutom Web Template Compilation Not Working At Least on Godot 3.5, have seen a forum complaining the same about 4.1.2 #84332
Comments
Having similar issues. Download source: Copy contents of SCons-4.5.2.zip into the"godot dir In godot dir:
The following platforms are available:
Prints:
|
|
Thanks for the report! |
Thank you Mr. Akien, I followed the other thread's workaround and it works! |
@yohanneskassa40 please tell me how it worked for you. |
You have to go to cc_semver = tuple(get_compiler_version(env)) to # (3, 1, 49) is your emsdk version. You should be able to get that by running emcc -v
hardcodedcc_semver = (3, 1, 49) |
Godot version
3.5.3 stable win 64
System information
Windows 10 3.5.3 stable win 64
Issue description
I wanted to make a smaller export template for web since I wanted faster load times for clients (my country's internet speed is subpar compared to others).
Was unable to do that since scons spits out the same message again and again:
C:\Godot\Source\godot-3.5>scons platform=javascript tools=no target=release scons: Reading SConscript files ... Auto-detected 16 CPU cores available for build parallelism. Using 15 cores by default. You can override it with the -j argument. use_lto is: True Couldn't parse CXX environment variable to infer compiler version. TypeError: 'NoneType' object is not iterable: File "C:\Godot\Source\godot-3.5\SConstruct", line 449: detect.configure(env) File "C:\Godot\Source\godot-3.5\platform/javascript\detect.py", line 189: cc_semver = tuple(get_compiler_version(env))
Yes, I have msvc, yes I have emscripten set in PATH, tried installing mingw if something changed, failed on all.
Wanted to note that windows custom build works perfectly and without errors.
Steps to reproduce
Download the source, install all necessary tools as per the doc to compile godot web templates, run:
scons platform=javascript tools=no target=release
and see if there are any errors
Minimal reproduction project
No need, since this involves compiling godot
The text was updated successfully, but these errors were encountered: