我尝试构建 odvr (https://github.com/twilly/odvr)但我输入后得到了这个sudo make odvr
:
gcc -g -O2 -Wall `pkg-config gtk+-2.0 --cflags` -c -o olympusdvr.o olympusdvr.c
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
olympusdvr.c:24:21: fatal error: sndfile.h: File o directory non esistente
#include <sndfile.h>
^
compilation terminated.
<incorporato>: set di istruzioni per l'obiettivo "olympusdvr.o" non riuscito
make: *** [olympusdvr.o] Errore 1
我该怎么办?我需要它来上大学(然后我使用 Audacity 或其他软件将其转换为 MP3……)
答案1
看起来你需要几个支持库libsndfile
libusb
作为github 页面说
需要 Libusb 和 libsndfile 以及它们相关的开发头文件
尝试
sudo apt-get install libsndfile1-dev libusb-dev