The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

0 votes

Following the documentation:
https://docs.godotengine.org/en/latest/development/compiling/compiling_for_windows.html

Error when trying to compile godot in windows 10, after the line:
[Initial build] Linking Program ==> bin\godot.windows.tools.64.exe
ends with this error:

b"modules\\libmodule_visual_script.windows.tools.64.a(visual_script.windows.tools.64.o):visual_script.cpp:(.text$_ZTWN6Thread9caller_idE[_ZTWN6Thread9caller_idE]+0x15): relocation truncated to fit: IMAGE_REL_AMD64_REL32 against undefined symbol `TLS init function for Thread::caller_id'\r\ncollect2.exe: error: ld returned 1 exit status\n"

scons: *** [bin\godot.windows.tools.64.exe] Error 1
scons: building terminated because of errors.

c:\godot>

The command that I use to compile:
c:\godot>scons -j4 platform=windows

The compiler:
Win64 GCC 10.2.0 + LLVM/Clang/LLD/LLDB 11.0.0 + MinGW-w64 8.0.0 - release 8 (LATEST)
http://winlibs.com/

I tried another compiler earlier but it was bugging the vulcan libraries. With this error I don't know what to do. I would like to compile it without using visual studio.

Godot version master
in Engine by (2,260 points)

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.