2017-10-07 60 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。