godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.14k stars 21.17k forks source link

compile error on win10 with godot-3.5.3-stable #84825

Closed pytomtoto closed 11 months ago

pytomtoto commented 11 months ago

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

scons platform=windows  target=release_debug use_lto=yes use_mingw=yes

E:\tmp\godot-3.5.3-stable>scons platform=windows  target=release_debug use_lto=yes use_mingw=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... no
scons: done reading SConscript files.
scons: Building targets ...
[Initial build] run(["core\method_bind.gen.inc", "core\method_bind_ext.gen.inc", "core\method_bind_free_func.gen.inc"], ["core\make_binders.py"])
[Initial build] Executing builder function in subprocess: module_path='E:\\tmp\\godot-3.5.3-stable\\core\\make_binders.py', parameter_file='C:\\Users\\riddle\\AppData\\Local\\Temp\\0fa5be24f0ab47da8e24fa200a661a61.json', parameter_file_size=13774, target=['E:\\tmp\\godot-3.5.3-stable\\core\\method_bind.gen.inc', 'E:\\tmp\\godot-3.5.3-stable\\core\\method_bind_ext.gen.inc', 'E:\\tmp\\godot-3.5.3-stable\\core\\method_bind_free_func.gen.inc'], source=['E:\\tmp\\godot-3.5.3-stable\\core\\make_binders.py']
[Initial build] build_gles3_headers(["drivers\gles3\shaders\exposure.glsl.gen.h"], ["drivers\gles3\shaders\exposure.glsl"])
[Initial build] build_gles3_headers(["drivers\gles3\shaders\resolve.glsl.gen.h"], ["drivers\gles3\shaders\resolve.glsl"])
[Initial build] Executing builder function in subprocess: module_path='E:\\tmp\\godot-3.5.3-stable\\gles_builders.py', parameter_file='C:\\Users\\riddle\\AppData\\Local\\Temp\\a11a49034ade4efab1aebd9f4799a621.json', parameter_file_size=13682, target=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\exposure.glsl.gen.h'], source=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\exposure.glsl']
[Initial build] build_gles3_headers(["drivers\gles3\shaders\scene.glsl.gen.h"], ["drivers\gles3\shaders\scene.glsl"])
[Initial build] Executing builder function in subprocess: module_path='E:\\tmp\\godot-3.5.3-stable\\gles_builders.py', parameter_file='C:\\Users\\riddle\\AppData\\Local\\Temp\\0d56d5de5711467f93d172cb07382fac.json', parameter_file_size=13680, target=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\resolve.glsl.gen.h'], source=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\resolve.glsl']
[Initial build] build_gles3_headers(["drivers\gles3\shaders\screen_space_reflection.glsl.gen.h"], ["drivers\gles3\shaders\screen_space_reflection.glsl"])
[Initial build] Executing builder function in subprocess: module_path='E:\\tmp\\godot-3.5.3-stable\\gles_builders.py', parameter_file='C:\\Users\\riddle\\AppData\\Local\\Temp\\83c6fe3da7f4464382452b884b83811a.json', parameter_file_size=13676, target=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\scene.glsl.gen.h'], source=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\scene.glsl']
[Initial build] build_gles3_headers(["drivers\gles3\shaders\ssao.glsl.gen.h"], ["drivers\gles3\shaders\ssao.glsl"])
Executing builder function in subprocess: module_path='E:\\tmp\\godot-3.5.3-stable\\gles_builders.py', parameter_file='C:\\Users\\riddle\\AppData\\Local\\Temp\\4a975da1eaee4fa5be2829f56ccdf74e.json', parameter_file_size=13712, target=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\screen_space_reflection.glsl.gen.h'], source=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\screen_space_reflection.glsl']
[Initial build] Executing builder function in subprocess: module_path='E:\\tmp\\godot-3.5.3-stable\\gles_builders.py', parameter_file='C:\\Users\\riddle\\AppData\\Local\\Temp\\f61523d40bee491ea2ac9aa1cfb6a7c3.json', parameter_file_size=13674, target=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\ssao.glsl.gen.h'], source=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\ssao.glsl']
build_gles3_headers(["drivers\gles3\shaders\ssao_blur.glsl.gen.h"], ["drivers\gles3\shaders\ssao_blur.glsl"])
[Initial build] build_gles3_headers(["drivers\gles3\shaders\ssao_minify.glsl.gen.h"], ["drivers\gles3\shaders\ssao_minify.glsl"])
[Initial build] Executing builder function in subprocess: module_path='E:\\tmp\\godot-3.5.3-stable\\gles_builders.py', parameter_file='C:\\Users\\riddle\\AppData\\Local\\Temp\\ae4dd2d6dfa24409abd502171e1f84d2.json', parameter_file_size=13684, target=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\ssao_blur.glsl.gen.h'], source=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\ssao_blur.glsl']
[Initial build] build_gles3_headers(["drivers\gles3\shaders\subsurf_scattering.glsl.gen.h"], ["drivers\gles3\shaders\subsurf_scattering.glsl"])
[Initial build] Executing builder function in subprocess: module_path='E:\\tmp\\godot-3.5.3-stable\\gles_builders.py', parameter_file='C:\\Users\\riddle\\AppData\\Local\\Temp\\d6e1ce86d1594c1b80741bb971e0cf13.json', parameter_file_size=13688, target=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\ssao_minify.glsl.gen.h'], source=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\ssao_minify.glsl']
[Initial build] build_gles2_headers(["drivers\gles2\shaders\cube_to_dp.glsl.gen.h"], ["drivers\gles2\shaders\cube_to_dp.glsl"])
[Initial build] Executing builder function in subprocess: module_path='E:\\tmp\\godot-3.5.3-stable\\gles_builders.py', parameter_file='C:\\Users\\riddle\\AppData\\Local\\Temp\\1df299ceb80a460e8e668e1d3057f3ed.json', parameter_file_size=13702, target=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\subsurf_scattering.glsl.gen.h'], source=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles3\\shaders\\subsurf_scattering.glsl']
[Initial build] build_gles2_headers(["drivers\gles2\shaders\effect_blur.glsl.gen.h"], ["drivers\gles2\shaders\effect_blur.glsl"])
Executing builder function in subprocess: module_path='E:\\tmp\\godot-3.5.3-stable\\gles_builders.py', parameter_file='C:\\Users\\riddle\\AppData\\Local\\Temp\\1b3a4add34ed45d586e114b4f2ca94b8.json', parameter_file_size=13686, target=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles2\\shaders\\cube_to_dp.glsl.gen.h'], source=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles2\\shaders\\cube_to_dp.glsl']
Executing builder function in subprocess: module_path='E:\\tmp\\godot-3.5.3-stable\\gles_builders.py', parameter_file='C:\\Users\\riddle\\AppData\\Local\\Temp\\3248561ca5d741eebd4b77cc31887ddf.json', parameter_file_size=13688, target=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles2\\shaders\\effect_blur.glsl.gen.h'], source=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles2\\shaders\\effect_blur.glsl']
[Initial build] Compiling ==> platform\windows\context_gl_windows.cpp
[Initial build] Compiling ==> platform\windows\godot_windows.cpp
[Initial build] Compiling ==> platform\windows\crash_handler_windows.cpp
[Initial build] build_gles2_headers(["drivers\gles2\shaders\scene.glsl.gen.h"], ["drivers\gles2\shaders\scene.glsl"])
scons: *** [platform\windows\context_gl_windows.windows.opt.tools.64.o] 系统找不到指定的文件。
Executing builder function in subprocess: module_path='E:\\tmp\\godot-3.5.3-stable\\gles_builders.py', parameter_file='C:\\Users\\riddle\\AppData\\Local\\Temp\\f67912831cb1484bafc4633fee8172f9.json', parameter_file_size=13676, target=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles2\\shaders\\scene.glsl.gen.h'], source=['E:\\tmp\\godot-3.5.3-stable\\drivers\\gles2\\shaders\\scene.glsl']
scons: *** [platform\windows\godot_windows.windows.opt.tools.64.o] 系统找不到指定的文件。
scons: *** [platform\windows\crash_handler_windows.windows.opt.tools.64.o] 系统找不到指定的文件。
scons: building terminated because of errors.
[Time elapsed: 00:00:05.099]

E:\tmp\godot-3.5.3-stable>

E:\tmp\godot-3.5.3-stable>pip list
Package    Version
---------- -------
pip        22.0.4
SCons      4.5.2
setuptools 58.1.0
WARNING: You are using pip version 22.0.4; however, version 23.3.1 is available.
You should consider upgrading via the 'E:\Program Files\Python39\python.exe -m pip install --upgrade pip' command.

E:\tmp\godot-3.5.3-stable>

my python version : 3.9 scons version: 4.5.2

the compile error log show could't find some file. 系统找不到指定的文件 image

Steps to reproduce

get the src code version of 3.5.3 and compile it use mingw64

Minimal reproduction project

nothing.

pytomtoto commented 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]
pytomtoto commented 11 months ago

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

surendra019 commented 10 months ago

you can also use visual studio for this, MinGw is hard to configure but visual studio is automatic, you only have to install it.