Closed shaoyifei96 closed 6 months ago
Hi,
This seems to be related to the libraries that are being shipped with Ubuntu 20.04. You need a newer version of libzstd.
The following steps should work:
make
the lib.add_library(libzstd STATIC IMPORTED)
set_target_properties(libzstd PROPERTIES IMPORTED_LOCATION /path/to/zstd/lib/libzstd.a)
set_target_properties(libzstd PROPERTIES INTERFACE_INCLUDE_DIRECTORIES /usr/include)
Add both zstd
and lz4
to your target_link_libraries
target_link_libraries(${TARGET} ${catkin_LIBRARIES} data_tamer lz4 libzstd)
You may also need to specify c++17 in your CMakeLists.txt
Hello,
I built the library following Compiling with Conan instruction. Then I want to install so I did
sudo cmake --install build/Release
(Is this the correct way to install?)Then in the CMakeList of the ros1 package I did
find_package(data_tamer REQUIRED)
andtarget_link_libraries(${TARGET} data_tamer ${catkin_LIBRARIES} )
and added the example code.Then after calling catkin_make, I get the following error, would you please give some instruction on using this with ROS1? Should this be built as shared library?