1. 程式人生 > >ros-semantic-mapper編譯問題記錄

ros-semantic-mapper編譯問題記錄

make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so', needed by '/home/zl/semantic_ws/devel/lib/semantic_mapper/semantic_mapper_node'.  Stop. 排查:進入/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/檔案目錄,發現libhdf5.so存在,但是編譯器無法找到,可能是這個檔案損壞

解決辦法:sudo cp /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so  --remove-destination