-
Notifications
You must be signed in to change notification settings - Fork 2
Installing
FloweyTheFlower420 edited this page Aug 5, 2021
·
5 revisions
Make sure that you have the supported compilers:
- MSVC
- g++
- clang
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
Make sure you have cmake
and make
installed, then run
mkdir build
cd build
cmake .. [FLAGS]
sudo make install
To use this after you installed it, add
find_package(stacktrace CONFIG REQUIRED)
target_link_libraries(yourapp stacktrace)
to your cmake file to be able to use #include <stacktrace.h>