lz4μ—λŸ¬λ₯Ό ν•΄κ²°ν•΄λ³΄μž!

ν™˜κ²½ 및 원인

System: Ubuntu 18.04
ROS: melodic
Reason: /usr/include/lz4.h conflict with /usr/include/flann/ext/lz4.h

λ‹€μŒ ROS Release(noetic)μ—μ„œλŠ” 이런 λ¬Έμ œκ°€ ν•΄κ²°λœλ‹€κ³  ν•œλ‹€
μ•„λž˜μ™€ 같이 터미널에 μž…λ ₯ν•˜λ©΄ ν˜„μž¬ λ²„μ „μ—μ„œλŠ” ν•΄κ²° κ°€λŠ₯ν•˜λ‹€κ³  ν•œλ‹€

sudo mv /usr/include/flann/ext/lz4.h /usr/include/flann/ext/lz4.h.bak
sudo mv /usr/include/flann/ext/lz4hc.h /usr/include/flann/ext/lz4.h.bak

sudo ln -s /usr/include/lz4.h /usr/include/flann/ext/lz4.h
sudo ln -s /usr/include/lz4hc.h /usr/include/flann/ext/lz4hc.h

Reference

Leave a comment