2017-10-07 89 views
0

我找到了轻量级DSP c库 - Soundpipe
我想使用它的一些过滤器。我真的不需要二进制文件,但问题是存储库没有其主头文件 - soundpipe.h。据我所知,这是因为图书馆使用从CsoundFAUST语言移植的特定模块。版本库的自述文件中也没有Windows安装指南。它说:无法在Windows上构建Soundpipe DSP库

默认情况下,Soundpipe需要libsndfile和标准版本 环境。使用其他外部库需要 其他模块通过修改config.mk明确编译(注:但Makefile文件的文件夹不包含config.mk,只有config.def.mk

编译:

make

sudo make install

好吧,我已经下载并安装libsndfile
后来我曾尝试使用MSVC的nmake - 它不工作:

makefile(7) : fatal error U1036: syntax error : too many names to left of '=' 
Stop. 

这里是生成文件的开头:

> .PHONY: all clean install docs bootstrap 
> 
> default: all 
> 
> VERSION = 1.5.0 
> 
> INTERMEDIATES_PREFIX ?= . PREFIX ?= /usr/local 
> ... 

之后,我已经下载了MinGW的,mingw32-make结果:

config.mk: No such file or directory 
mingw32-make: *** No rule to make target 'config.def.mk', needed by 'config.mk'. Stop. 

好吧,当我尝试运行configure命令,它不会对我的工作的Win7×64(sh: ./configure: No such file or directory,等...)

我在机器翻译系统的路径path变量:
How Do I Run ./configure with MinGW?
Getting mingw-get to install correctly - mingw/msys path missing plus more!

的MinGW的configure不:我读过

C:\MinGW\bin;C:\MinGW\msys\1.0\bin 

链接在重新安装Git for Windows和GCC_TDM后工作(不知道如何运行配置)。

任何想法如何建立图书馆或至少找到缺少的源文件(或通过CSound,Faust,...)?

回答

2

Soundpipe构建系统旨在与POSIX环境一起使用,其中有几种可以在Windows上进行选择。

我已经能够在Windows 10上使用MSYS2和Windows Bash构建Soundpipe。