You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using msys2, updating to the latest gcc-mingw(x64), stacktrace doesn't seem to build anymore, the UUIDs of IDebugClient, etc. seem to be already defined in dbgeng.h
Not only I get this error, but also I get another error when I try to use default stack traces (boost_stacktrace_basic) the memory addresses are undecodable. If you try to use addr2line you get ?? all the time. Making printing stack traces an impossible task for MinGW.
My solution was downgrading to MinGW 7.5.
If the fix does not help, please create a PR with a nee fix (I have no ready-to-use environments with the required version of MinGW, so it's quite complocated to find the right fix)
Activity
yh-sb commentedon May 20, 2023
Bump from me.
Same build issue with MinGW-w64 GCC 13.1
gcc.exe (MinGW-W64 x86_64-ucrt-mcf-seh, built by Brecht Sanders) 13.1.0from here: https://winlibs.com/petrutlucian94 commentedon Aug 18, 2023
Those definitions were recently added to the mingw
dbgeng.hheader, causing the redefinition error: mirror/mingw-w64@ce5a9f6yh-sb commentedon Aug 21, 2023
Pull request to fix this issue: #140
Fix build with MinGW-w64 12+. (#140)
win32_deps_build.sh: avoid duplicate boost definitions
valydumitru01 commentedon Oct 11, 2023
Not only I get this error, but also I get another error when I try to use default stack traces (boost_stacktrace_basic) the memory addresses are undecodable. If you try to use addr2line you get ?? all the time. Making printing stack traces an impossible task for MinGW.
My solution was downgrading to MinGW 7.5.
valydumitru01 commentedon Oct 11, 2023
Also it did not work using backtrace either.
win32_deps_build.sh: avoid duplicate boost definitions
win32_deps_build.sh: avoid duplicate boost definitions
win32_deps_build.sh: avoid duplicate boost definitions
apolukhin commentedon Feb 19, 2024
Fixed in #140
If the fix does not help, please create a PR with a nee fix (I have no ready-to-use environments with the required version of MinGW, so it's quite complocated to find the right fix)