Add note about -lzstd to docs

This commit is contained in:
Jeremy 2024-02-11 22:35:41 -06:00
parent 22b326ba7e
commit ddf155b122
No known key found for this signature in database
GPG Key ID: BE03111EB7ED6E2E

View File

@ -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 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: typical dependencies for cpptrace are:
| Compiler | Platform | Dependencies | | Compiler | Platform | Dependencies |
| ----------------------- | ---------------- | ---------------------------------- | | ----------------------- | ---------------- | ----------------------------------------- |
| gcc, clang, intel, etc. | Linux/macos/unix | `-lcpptrace -ldwarf -lz -ldl` | | gcc, clang, intel, etc. | Linux/macos/unix | `-lcpptrace -ldwarf -lz -lzstd -ldl` |
| gcc | Windows | `-lcpptrace -ldbghelp -ldwarf -lz` | | gcc | Windows | `-lcpptrace -ldbghelp -ldwarf -lz -lzstd` |
| msvc | Windows | `cpptrace.lib dbghelp.lib` | | msvc | Windows | `cpptrace.lib dbghelp.lib` |
| clang | Windows | `-lcpptrace -ldbghelp` | | clang | Windows | `-lcpptrace -ldbghelp` |
Note: Newer libdwarf requires `-lzstd`, older libdwarf does not.
Dependencies may differ if different back-ends are manually selected. Dependencies may differ if different back-ends are manually selected.