Re: Linking problem with compression functions

Posted by matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Linking-problem-with-compression-functions-tp1809p1816.html

You can look if ZLIB_LIBRARIES is correctly set, like adding MESSAGE(STATUS "ZLIB_LIBRARIES=${ZLIB_LIBRARIES}") in this CMake file.

You error messages say:
- unresolved external symbol _compress
- unresolved external symbol _compressBound
- unresolved external symbol _uncompress

which are functions from zlib that the compiler cannot find. It is most likely (as you are using the same version than in build instructions) that zlib libraries are not correctly added to rtabmap core lib.