Closed pytomtoto closed 11 months ago
And I try to upgrade the mingw64 version to mingw64_13.2.0_posix_seh_msvcrt enable verbose
E:\tmp\godot-3.5.3-stable>scons --clean
scons: Reading SConscript files ...
系统找不到指定的文件。
Automatically detected platform: windows
Auto-detected 12 CPU cores available for build parallelism. Using 11 cores by default. You can override it with the -j argument.
Configuring for Windows: target=debug, bits=default
Found MSVC version 14.3, arch amd64, bits=64
Note: Building a debug binary (which will run slowly). Use `target=release_debug` to build an optimized release binary.
Checking for C header file mntent.h... no
scons: done reading SConscript files.
scons: Cleaning targets ...
Removed core\method_bind.gen.inc
Removed core\method_bind_ext.gen.inc
Removed core\method_bind_free_func.gen.inc
Removed drivers\gles3\shaders\ssao.glsl.gen.h
Removed drivers\gles3\shaders\screen_space_reflection.glsl.gen.h
Removed drivers\gles3\shaders\resolve.glsl.gen.h
Removed drivers\gles3\shaders\scene.glsl.gen.h
Removed drivers\gles2\shaders\scene.glsl.gen.h
Removed drivers\gles3\shaders\ssao_minify.glsl.gen.h
Removed drivers\gles3\shaders\ssao_blur.glsl.gen.h
Removed drivers\gles3\shaders\exposure.glsl.gen.h
Removed drivers\gles2\shaders\effect_blur.glsl.gen.h
Removed drivers\gles2\shaders\cubemap_filter.glsl.gen.h
Removed drivers\gles2\shaders\tonemap.glsl.gen.h
Removed drivers\gles3\shaders\cube_to_dp.glsl.gen.h
Removed drivers\gles3\shaders\tonemap.glsl.gen.h
Removed drivers\gles3\shaders\blend_shape.glsl.gen.h
Removed drivers\gles3\shaders\canvas.glsl.gen.h
Removed drivers\gles2\shaders\cube_to_dp.glsl.gen.h
Removed drivers\gles3\shaders\subsurf_scattering.glsl.gen.h
Removed drivers\gles2\shaders\copy.glsl.gen.h
Removed drivers\gles3\shaders\effect_blur.glsl.gen.h
scons: done cleaning targets.
[Time elapsed: 00:00:11.439]
E:\tmp\godot-3.5.3-stable>scons platform=windows target=release_debug use_lto=yes use_mingw=yes verbose=yes
scons: Reading SConscript files ...
系统找不到指定的文件。
Auto-detected 12 CPU cores available for build parallelism. Using 11 cores by default. You can override it with the -j argument.
Configuring for Windows: target=release_debug, bits=default
Using MinGW
Couldn't parse CXX environment variable to infer compiler version.
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[Initial build] g++ -o platform\windows\godot_windows.windows.opt.tools.64.o -c -std=gnu++14 -g2 -O2 -O2 -flto -mwindows -Wall -Wno-misleading-indentation -DDEBUG_ENABLED -DNO_EDITOR_SPLASH -DWINDOWS_ENABLED -DOPENGL_ENABLED -DWASAPI_ENABLED -DWINMIDI_ENABLED -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DMINGW_ENABLED -DMINGW_HAS_SECURE_API=1 -DPTRCALL_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DGLAD_ENABLED -DGLES_OVER_GL -Ithirdparty\freetype\include -Ithirdparty\libpng -Ithirdparty\glad -Ithirdparty\zstd -Ithirdparty\zlib -Iplatform\windows -I. platform\windows\godot_windows.cpp
[Initial build] g++ -o platform\windows\context_gl_windows.windows.opt.tools.64.o -c -std=gnu++14 -g2 -O2 -O2 -flto -mwindows -Wall -Wno-misleading-indentation -DDEBUG_ENABLED -DNO_EDITOR_SPLASH -DWINDOWS_ENABLED -DOPENGL_ENABLED -DWASAPI_ENABLED -DWINMIDI_ENABLED -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DMINGW_ENABLED -DMINGW_HAS_SECURE_API=1 -DPTRCALL_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DGLAD_ENABLED -DGLES_OVER_GL -Ithirdparty\freetype\include -Ithirdparty\libpng -Ithirdparty\glad -Ithirdparty\zstd -Ithirdparty\zlib -Iplatform\windows -I. platform\windows\context_gl_windows.cpp
[Initial build] g++ -o platform\windows\crash_handler_windows.windows.opt.tools.64.o -c -std=gnu++14 -g2 -O2 -O2 -flto -mwindows -Wall -Wno-misleading-indentation -DDEBUG_ENABLED -DNO_EDITOR_SPLASH -DWINDOWS_ENABLED -DOPENGL_ENABLED -DWASAPI_ENABLED -DWINMIDI_ENABLED -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DMINGW_ENABLED -DMINGW_HAS_SECURE_API=1 -DPTRCALL_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DGLAD_ENABLED -DGLES_OVER_GL -Ithirdparty\freetype\include -Ithirdparty\libpng -Ithirdparty\glad -Ithirdparty\zstd -Ithirdparty\zlib -Iplatform\windows -I. platform\windows\crash_handler_windows.cpp
[Initial build] g++ -o platform\windows\os_windows.windows.opt.tools.64.o -c -std=gnu++14 -g2 -O2 -O2 -flto -mwindows -Wall -Wno-misleading-indentation -DDEBUG_ENABLED -DNO_EDITOR_SPLASH -DWINDOWS_ENABLED -DOPENGL_ENABLED -DWASAPI_ENABLED -DWINMIDI_ENABLED -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DMINGW_ENABLED -DMINGW_HAS_SECURE_API=1 -DPTRCALL_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DGLAD_ENABLED -DGLES_OVER_GL -Ithirdparty\freetype\include -Ithirdparty\libpng -Ithirdparty\glad -Ithirdparty\zstd -Ithirdparty\zlib -Iplatform\windows -I. platform\windows\os_windows.cpp
[Initial build] g++ -o platform\windows\key_mapping_windows.windows.opt.tools.64.o -c -std=gnu++14 -g2 -O2 -O2 -flto -mwindows -Wall -Wno-misleading-indentation -DDEBUG_ENABLED -DNO_EDITOR_SPLASH -DWINDOWS_ENABLED -DOPENGL_ENABLED -DWASAPI_ENABLED -DWINMIDI_ENABLED -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DMINGW_ENABLED -DMINGW_HAS_SECURE_API=1 -DPTRCALL_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DGLAD_ENABLED -DGLES_OVER_GL -Ithirdparty\freetype\include -Ithirdparty\libpng -Ithirdparty\glad -Ithirdparty\zstd -Ithirdparty\zlib -Iplatform\windows -I. platform\windows\key_mapping_windows.cpp
[Initial build] g++ -o platform\windows\joypad_windows.windows.opt.tools.64.o -c -std=gnu++14 -g2 -O2 -O2 -flto -mwindows -Wall -Wno-misleading-indentation -DDEBUG_ENABLED -DNO_EDITOR_SPLASH -DWINDOWS_ENABLED -DOPENGL_ENABLED -DWASAPI_ENABLED -DWINMIDI_ENABLED -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DMINGW_ENABLED -DMINGW_HAS_SECURE_API=1 -DPTRCALL_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DGLAD_ENABLED -DGLES_OVER_GL -Ithirdparty\freetype\include -Ithirdparty\libpng -Ithirdparty\glad -Ithirdparty\zstd -Ithirdparty\zlib -Iplatform\windows -I. platform\windows\joypad_windows.cpp
[Initial build] g++ -o platform\windows\power_windows.windows.opt.tools.64.o -c -std=gnu++14 -g2 -O2 -O2 -flto -mwindows -Wall -Wno-misleading-indentation -DDEBUG_ENABLED -DNO_EDITOR_SPLASH -DWINDOWS_ENABLED -DOPENGL_ENABLED -DWASAPI_ENABLED -DWINMIDI_ENABLED -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DMINGW_ENABLED -DMINGW_HAS_SECURE_API=1 -DPTRCALL_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DGLAD_ENABLED -DGLES_OVER_GL -Ithirdparty\freetype\include -Ithirdparty\libpng -Ithirdparty\glad -Ithirdparty\zstd -Ithirdparty\zlib -Iplatform\windows -I. platform\windows\power_windows.cpp
[Initial build] g++ -o platform\windows\windows_terminal_logger.windows.opt.tools.64.o -c -std=gnu++14 -g2 -O2 -O2 -flto -mwindows -Wall -Wno-misleading-indentation -DDEBUG_ENABLED -DNO_EDITOR_SPLASH -DWINDOWS_ENABLED -DOPENGL_ENABLED -DWASAPI_ENABLED -DWINMIDI_ENABLED -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DMINGW_ENABLED -DMINGW_HAS_SECURE_API=1 -DPTRCALL_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DGLAD_ENABLED -DGLES_OVER_GL -Ithirdparty\freetype\include -Ithirdparty\libpng -Ithirdparty\glad -Ithirdparty\zstd -Ithirdparty\zlib -Iplatform\windows -I. platform\windows\windows_terminal_logger.cpp
[Initial build] build_res_file(["platform\windows\godot_res.windows.opt.tools.64.o"], ["platform\windows\godot_res.rc"])
[Initial build] g++ -o main\input_default.windows.opt.tools.64.o -c -std=gnu++14 -g2 -O2 -O2 -flto -mwindows -Wall -Wno-misleading-indentation -DDEBUG_ENABLED -DNO_EDITOR_SPLASH -DWINDOWS_ENABLED -DOPENGL_ENABLED -DWASAPI_ENABLED -DWINMIDI_ENABLED -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DMINGW_ENABLED -DMINGW_HAS_SECURE_API=1 -DPTRCALL_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DGLAD_ENABLED -DGLES_OVER_GL -Ithirdparty\freetype\include -Ithirdparty\libpng -Ithirdparty\glad -Ithirdparty\zstd -Ithirdparty\zlib -Iplatform\windows -I. main\input_default.cpp
[Initial build] scons: *** [platform\windows\godot_windows.windows.opt.tools.64.o] 系统找不到指定的文件。
make_splash(["main\splash.gen.h"], ["main\splash.png"])
scons: *** [platform\windows\context_gl_windows.windows.opt.tools.64.o] 系统找不到指定的文件。
scons: *** [platform\windows\crash_handler_windows.windows.opt.tools.64.o] 系统找不到指定的文件。
scons: *** [platform\windows\os_windows.windows.opt.tools.64.o] 系统找不到指定的文件。
scons: *** [platform\windows\key_mapping_windows.windows.opt.tools.64.o] 系统找不到指定的文件。
Executing builder function in subprocess: module_path='E:\\tmp\\godot-3.5.3-stable\\main\\main_builders.py', parameter_file='C:\\Users\\riddle\\AppData\\Local\\Temp\\a00558e18c324ff0b2e7e3616e62a49a.json', parameter_file_size=13625, target=['E:\\tmp\\godot-3.5.3-stable\\main\\splash.gen.h'], source=['E:\\tmp\\godot-3.5.3-stable\\main\\splash.png']
scons: *** [platform\windows\joypad_windows.windows.opt.tools.64.o] 系统找不到指定的文件。
scons: *** [platform\windows\power_windows.windows.opt.tools.64.o] 系统找不到指定的文件。
scons: *** [platform\windows\godot_res.windows.opt.tools.64.o] Error 1
scons: *** [platform\windows\windows_terminal_logger.windows.opt.tools.64.o] 系统找不到指定的文件。
scons: *** [main\input_default.windows.opt.tools.64.o] 系统找不到指定的文件。
scons: building terminated because of errors.
[Time elapsed: 00:00:04.846]
ok, it's mingw64 env path wrong. I use a .lnk type to add the mingw64 bin filepath to make this problem. I fixed it . add real filepath of mingw64's bin. now compile works on mingw64 8.1.0
you can also use visual studio for this, MinGw is hard to configure but visual studio is automatic, you only have to install it.
Godot version
godot-3.5.3-stable
System information
windows 10 godot-3.5.3-stable
Issue description
I download this source code from release page. godot-3.5.3-stable
and I use mingw64_8.1.0 [x86_64-posix-seh](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/seh/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z) to compile godot. and I exec this command
my python version : 3.9 scons version: 4.5.2
the compile error log show could't find some file. 系统找不到指定的文件
Steps to reproduce
get the src code version of 3.5.3 and compile it use mingw64
Minimal reproduction project
nothing.