stacktrace icon indicating copy to clipboard operation
stacktrace copied to clipboard

cannot find -lDbgeng

Open dvirtz opened this issue 4 years ago • 1 comments

I'm building on Linux with mingw-w64 and the compiler fails to link to Dbgeng, presumably because the library name is in lower case

> find /opt/mingw-w64-build/ -name '*bgeng*'
/opt/mingw-w64-build/x86_64-w64-mingw32/x86_64-w64-mingw32/include/dbgeng.h
/opt/mingw-w64-build/x86_64-w64-mingw32/x86_64-w64-mingw32/lib/libdbgeng.a
/opt/mingw-w64-build/x86_64-w64-mingw32/x86_64-w64-mingw32/lib32/libdbgeng.a

from config.log:

/opt/mingw-w64-build/x86_64-w64-mingw32/lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lDbgeng
collect2: error: ld returned 1 exit status
...skipped <p/root/.conan/data/boost/1.76.0/_/_/build/24c72ffed451b48e203e1f76e0b9681825a52595/boost/bin.v2/libs/stacktrace/build/gcc-10.2./rls/trgt-os-wndws/thrd-mlt/vsblt-hdn>WinDbg.output for lack of <p/root/.conan/data/boost/1.76.0/_/_/build/24c72ffed451b48e203e1f76e0b9681825a52595/boost/bin.v2/libs/stacktrace/build/gcc-10.2./rls/trgt-os-wndws/thrd-mlt/vsblt-hdn>WinDbg_exe.exe...

dvirtz avatar Sep 01 '21 12:09 dvirtz

I have no access to that platform. Please try to lowercase the Dbgeng, check if that works for you. If that helps - send a PR with a fix and we'll see in the CI if the fix breaks some other platforms

apolukhin avatar Sep 12 '24 07:09 apolukhin