On 05/12/2020 11:57, Mehdi Est via Boost-users wrote:
Hi Everyone,

I am trying to print stack-trace using boost HEADER-ONLY. I am using descriptions under Configuration and Build to compile a simple code using QT MinGW32 I also use the below macros to tune boost:

-DBOOST_STACKTRACE_USE_WINDBG -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_STACKTRACE_ADDR2LINE_LOCATION

I have no clue why the function names and line numbers are not showing up.

Any comment is appreciated.
Mike

Hi Mike,

this page: https://www.boost.org/doc/libs/develop/doc/html/stacktrace/configuration_and_build.html says that the dbgeng library can only extract symbolic information from 64-bit MinGW executables. It looks like you need to use the 3rd-party libbacktrace library with 32-bit MinGW executables to capture that information.

Regards
Bill Somerville.