Skip to content
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

Template couldn't be built using MSYS2 CLANG64 #41

Open
PerikiyoXD opened this issue Sep 3, 2024 · 4 comments
Open

Template couldn't be built using MSYS2 CLANG64 #41

PerikiyoXD opened this issue Sep 3, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@PerikiyoXD
Copy link

Godot version

v4.3.stable.mono.official [77dcf97d8]

godot-cpp version

fbbf9ec4efd8f1055d00edb8d926eef8ba4c2cce

System information

Windows 10

Issue description

pxd@machine /c/WorkDir/gre3 
$ scons use_mingw=yes compiledb=true
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.
Building for architecture x86_64 on platform windows
scons: done reading SConscript files.
scons: Building targets ...
Compiling godot-cpp/src/godot.cpp ...
Compiling godot-cpp/src/classes/editor_plugin_registration.cpp ...
Compiling godot-cpp/src/classes/low_level.cpp ...
scons: *** [godot-cpp/src/godot.windows.template_debug.x86_64.o] El sistema no puede encontrar el archivo especificado
scons: *** [godot-cpp/src/classes/editor_plugin_registration.windows.template_debug.x86_64.o] El sistema no puede encontrar el archivo especificado
scons: *** [godot-cpp/src/classes/low_level.windows.template_debug.x86_64.o] El sistema no puede encontrar el archivo especificado
scons: building terminated because of errors.
@PerikiyoXD
Copy link
Author

Godot builds fine tho

@paddy-exe
Copy link
Collaborator

This seems to be an issue for godot-cpp and not for this template. Please create a new issue there and link to this issue here.

@paddy-exe paddy-exe added the bug Something isn't working label Sep 25, 2024
@dsnopek
Copy link
Contributor

dsnopek commented Oct 5, 2024

I usually use MSYS2 with mingw on Windows, and don't personally have issues building godot-cpp. So, I think the godot-cpp issue will need some more details than provided here.

@enetheru
Copy link

I think I remember this problem. From recollection it's because the clang64 environment is for compiling with llvm so it does not provide an x86_64-w64-mingw32-ar and fails without a nice error message. Checking my own install I have x86_64-w64-mingw32-llvm-ar. Adding use_llvm=yes solves the issue for me when building godot-cpp, but it appears that does not carry over when using the same command here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants