J'essaie de compiler simplement avec use_mingw=yes et il ne trouve pas le fichier objet .o

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By slugcharm

PS C:\godot> scons platform=windows use_mingw=yes target=release_debug

scons: Reading SConscript files …
scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
File “C:\godot\SConstruct”, line 3, in
Configuring for Windows: target=release_debug, bits=default
Using MinGW
Couldn’t parse CXX environment variable to infer compiler version.
Couldn’t detect compiler version, skipping version checks. Build may fail if the compiler doesn’t support C++17 fully.
Checking for C header file mntent.h… (cached) no
scons: done reading SConscript files.
scons: Building targets …
[Initial build] ←[94mCompiling ←[95m==> ←[93mplatform\windows\godot_windows.cpp←[0m
scons: *** [platform\windows\godot_windows.windows.opt.tools.64.o] Le fichier spécifié est introuvable
scons: building terminated because of errors.
[Time elapsed: 00:00:01.031]
PS C:\godot>

Je n’ai pas envie d’utiliser Visual Studio et souhaite compiler directement depuis mingw mais celui-ci cherche directement le fichier godot_windows.windows.opt.tools.64.o alors que celui-ci ne peut-être construit en début de build. D’où vient l’erreur ?

This is an English-speaking platform. Feel free to use machine translation if needed, but questions and answers must be posted in English.

Calinou | 2021-11-14 21:03