Make sure that you have the supported compilers:
execinfo.h
No deps needed
You need either libbacktrace or libbfd. Depending on which you use, you'll need to add the flags -DUSE_LIBBDF_DECODE=ON or -DUSE_BACKTRACE_DECODE=ON
-DUSE_LIBBDF_DECODE=ON
-DUSE_BACKTRACE_DECODE=ON
Clone the project as a sub(directory|module), and add
add_subdirectory(stacktrace) target_include_directories(<project> PUBLIC "${PROJECT_SOURCE_DIR}/stacktrace/include") add_dependencies(<project> stacktrace) target_link_libraries(<project> PRIVATE stacktrace)
There was an error while loading. Please reload this page.