問題原因:
ROS 和 Anoconda 同時安裝導致的
解決辦法:
step1
在~/.bashrc中注釋掉所有和Anoconda有關的內容
step2
確認在~/.bashrc內有export PATH="/home/username/anaconda3/bin:$PATH"
step3
conda remove libpng
此時已經可以使用catkin_make了
step4
sudo apt-get install libpng16-16