Package fuse was not found in the pkg-config search path.
Perhaps you should add the directory containing `fuse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fuse' found
#include <fuse.h>
^~~~~~~~
compilation terminated.
跑別人代碼的時候發現這樣一個報錯,但是發現fuse其實已經安裝了
sudo apt-get install fuse
其實是因爲缺少另一個庫,叫libfuse-dev
運行如下代碼安裝即可
sudo apt-get install libfuse-dev