Answer the question
In order to leave comments, you need to log in
How do I fix the undefined symbol reference error?
Good day!
I know that this error means that you need to include a library, but which one? And where?
Here is my "symbol":
"[email protected]@CXXABI_1.3"
I am using cmake. I used to add -lz to the compilation, but I don’t know where to add it now (in cmake - noob).
Thank you!
Answer the question
In order to leave comments, you need to log in
CMake has the ability to use the automatic zlib search (if this symbol is really from there) https://cmake.org/cmake/help/v3.10/module/FindZLIB.html .
Or add your flag to the linker flags.
I don’t give detailed instructions, otherwise you’ll forget how to google. Noob no noob - that's no excuse.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question