我输入了"make“输出
[chuck build]: please use one of the following configurations:
make linux-alsa, make linux-jack, make linux-pulse,
make osx, make osx-ub, make cygwin, or make win32第一,如何在其中作出选择?
我试过了,这是错误
使linux-alsa
g++ -I. -Ilo -O3 -D__LINUX_ALSA__ -D__PLATFORM_LINUX__ -O3 -fno-strict-aliasing -D__CK_SNDFILE_NATIVE__ -c RtAudio/RtAudio.cpp -o RtAudio/RtAudio.o
RtAudio/RtAudio.cpp:5267:28: fatal error: alsa/asoundlib.h: No such file or directory
#include <alsa/asoundlib.h>
^
compilation terminated.
makefile:153: recipe for target 'RtAudio/RtAudio.o' failed
make: *** [RtAudio/RtAudio.o] Error 1使linux-脉冲
g++ -I. -Ilo -O3 -D__LINUX_PULSE__ -D__PLATFORM_LINUX__ -O3 -fno-strict-aliasing -D__CK_SNDFILE_NATIVE__ -c RtAudio/RtAudio.cpp -o RtAudio/RtAudio.o
RtAudio/RtAudio.cpp:6540:25: fatal error: pulse/error.h: No such file or directory
#include <pulse/error.h>
^
compilation terminated.
makefile:153: recipe for target 'RtAudio/RtAudio.o' failed
make: *** [RtAudio/RtAudio.o] Error 1使linux-jack
RtAudio/RtAudio.cpp:1910:23: fatal error: jack/jack.h: No such file or directory
#include <jack/jack.h>
^
compilation terminated.
makefile:153: recipe for target 'RtAudio/RtAudio.o' failed
make: *** [RtAudio/RtAudio.o] Error 1如何解决这个问题?有什么问题吗?
发布于 2017-01-26 16:18:15
问题可能是您的计算机上没有安装相关的开发库。
您需要查阅软件的构建文档(例如软件存档根目录中的README或INSTALL文件),以获得依赖关系的列表,或者自己解决它。对于后者,apt-file实用程序非常有用。
$ apt-file search 'alsa/asoundlib.h'
libasound2-dev: /usr/include/alsa/asoundlib.h
libdssialsacompat-dev: /usr/include/dssi/alsa/asoundlib.h例如,建议您需要安装libasound2-dev包。
apt-file包应该可以从universe存储库中获得。
https://askubuntu.com/questions/876477
复制相似问题