msys2/mingw's gdb.exe failed to start under Windows 7 for missing api-ms-win-core-path-l1-1-0.dll and the solution #4120
asmwarrior
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, some of my PC are still using Windows 7 64bit, I know msys2 is dropping Windows 7 support, we have some discussion in our issues.
When I run the
pacman -Syu
, I found that the gcc and g++ compiler still works nicely under Windows 7, but I can't start gdb.exe, it said I don't haveapi-ms-win-core-path-l1-1-0.dll
. I just searched on the internet, and found that maybe gdb need python, and recent python need this modern dll. But Windows 7 don't have such dll.But this issue can be solved, I just found a github site: nalexandru/api-ms-win-core-path-HACK: Implementation of api-ms-win-core-path-l1-1-0.dll for Windows 7 based on Wine code
This site supplies such dll, and I just download the dll and put it to the msys2/mingw64/bin folder, and now I can start gdb.exe to debug the program now. That's great.
I'd like to share this, hope it can help others.
Beta Was this translation helpful? Give feedback.
All reactions