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