HKUST-Aerial-Robotics / FIESTA

Fast Incremental Euclidean Distance Fields for Online Motion Planning of Aerial Robots
MIT License
632 stars 129 forks source link

Compilation Linking Issues #7

Closed majorpr13 closed 5 years ago

majorpr13 commented 5 years ago

Hello, When compiling via catkin_make there is an error in the underlying linking between libpcl_kdtree and LZ4. Are there any thoughts as to what could cause this and how to correct? System is 18.04 running melodic. /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libpcl_kdtree.so: undefined reference toLZ4_resetStreamHC' /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libpcl_kdtree.so: undefined reference to LZ4_setStreamDecode' /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libpcl_kdtree.so: undefined reference toLZ4_decompress_safe' /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libpcl_kdtree.so: undefined reference to LZ4_decompress_safe_continue' /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libpcl_kdtree.so: undefined reference toLZ4_compress_HC_continue' `

majorpr13 commented 5 years ago

It appears adding pcl_conversions and pcl_ros as apart of the find_package of CMakeLists.txt corrects this issue.