Add additional notes about CPPTRACE_STATIC_DEFINE
This commit is contained in:
parent
14d25fd89a
commit
beb5506233
@ -621,6 +621,9 @@ g++ main.cpp -o main -g -Wall -lcpptrace
|
|||||||
./main
|
./main
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> If you aren't using cmake and are linking statically you must manually specify `-DCPPTRACE_STATIC_DEFINE`.
|
||||||
|
|
||||||
If you get an error along the lines of
|
If you get an error along the lines of
|
||||||
```
|
```
|
||||||
error while loading shared libraries: libcpptrace.so: cannot open shared object file: No such file or directory
|
error while loading shared libraries: libcpptrace.so: cannot open shared object file: No such file or directory
|
||||||
@ -671,6 +674,9 @@ Using manually:
|
|||||||
g++ main.cpp -o main -g -Wall -I$HOME/wherever/include -L$HOME/wherever/lib -lcpptrace
|
g++ main.cpp -o main -g -Wall -I$HOME/wherever/include -L$HOME/wherever/lib -lcpptrace
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> If you aren't using cmake and are linking statically you must manually specify `-DCPPTRACE_STATIC_DEFINE`.
|
||||||
|
|
||||||
## Use Without CMake
|
## Use Without CMake
|
||||||
|
|
||||||
To use the library without cmake first follow the installation instructions at
|
To use the library without cmake first follow the installation instructions at
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user