【環境安裝】fuse & libfuse-dev

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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章