–5 votes

PS C:\godot> scons platform=windows usemingw=yes target=releasedebug

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=releasedebug, 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 ?

Godot version Godot v4.x directement depuis github
in Engine by (11 points)

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

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 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 webmaster@godotengine.org with your username.