bombela/backward-cpp

cmake requires minimum version 3.10, and stack information does not show function names

yongxiangzheng opened this issue · 1 comments

image
Hello, I am in my project requiring cmake minimum version 3.10 and appear stack does not show the function name. Then backward project only modified cmake to require the minimum version of 3.10, which is the same problem, may I ask what causes this?

You appear to be targeting Linux x86_64, you might have forgotten to install the stack walking and stack resolver libraries. Read the doc to find out which library you can use and what they do. And use whatever package manager of your Linux distribution to install it.

backward-cpp is a simple header only library. It is configured via the preprocessor. And you have to link to the libraries you want to use for walking the stack and resolving traces.

The CMake support is supposed to make it convenient to find and add the #define and link to the libraries. But it can only find what is installed of course.