From ddf155b122950ac82ab6d4ef5fd096fa51a8e877 Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Sun, 11 Feb 2024 22:35:41 -0600 Subject: [PATCH] Add note about -lzstd to docs --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 892480a..ac3b057 100644 --- a/README.md +++ b/README.md @@ -635,12 +635,14 @@ or [Package Managers](#package-managers). In addition to any include or library paths you'll need to specify to tell the compiler where cpptrace was installed the typical dependencies for cpptrace are: -| Compiler | Platform | Dependencies | -| ----------------------- | ---------------- | ---------------------------------- | -| gcc, clang, intel, etc. | Linux/macos/unix | `-lcpptrace -ldwarf -lz -ldl` | -| gcc | Windows | `-lcpptrace -ldbghelp -ldwarf -lz` | -| msvc | Windows | `cpptrace.lib dbghelp.lib` | -| clang | Windows | `-lcpptrace -ldbghelp` | +| Compiler | Platform | Dependencies | +| ----------------------- | ---------------- | ----------------------------------------- | +| gcc, clang, intel, etc. | Linux/macos/unix | `-lcpptrace -ldwarf -lz -lzstd -ldl` | +| gcc | Windows | `-lcpptrace -ldbghelp -ldwarf -lz -lzstd` | +| msvc | Windows | `cpptrace.lib dbghelp.lib` | +| clang | Windows | `-lcpptrace -ldbghelp` | + +Note: Newer libdwarf requires `-lzstd`, older libdwarf does not. Dependencies may differ if different back-ends are manually selected.