SoX を CAF サポート付きでコンパイルする方法がよくわかりません。libsndfile をコンパイルし、gcc が検索するライブラリ フォルダーに入れました。libsndfile を次のようにコンパイルしました。
./configure --build=x86_64 --disable-shared --enable-static
ファイルが生成されcaf.lo
ますが、SoX をコンパイルしようとすると、次のように失敗します。
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
configure: error: in `/cygdrive/c/sox/sox-14.4.1':
configure: error: cannot find coreaudio
See `config.log' for more details
これは私がコンパイルしている mac ではないので、使いやすさは「いいえ」になると思いますが、CAF 用のライブラリが見つかるはずですよね?
C:\cygwin64\usr\local\lib
フォルダーにはlibsndfile.la
&が含まれていますlibsndfile.a