如何使用mingw和msys构建Port Audio?

我在Windows机器上构建Port Audio时遇到问题。 我正在关注本教程: http : //portaudio.com/docs/v19-doxydocs/compile_windows_mingw.html

./configure运行构建过程后运行make ,最后输出此消息,这就是构建过程停止的地方。

 /bin/sh ./libtool --mode=link gcc -shared -rpath /usr/local/lib -no-undefined - export-symbols-regex "(Pa|PaMacCore|PaJack|PaAlsa|PaAsio|PaOSS)_.*" -version-inf o 2:0:0 -o lib/libportaudio.la src/common/pa_allocation.lo src/common/pa_convert ers.lo src/common/pa_cpuload.lo src/common/pa_dither.lo src/common/pa_debugprint .lo src/common/pa_front.lo src/common/pa_process.lo src/common/pa_stream.lo src/ common/pa_trace.lo src/hostapi/skeleton/pa_hostapi_skeleton.lo src/hostapi/wmme/ pa_win_wmme.lo src/os/win/pa_win_hostapis.lo src/os/win/pa_win_util.lo src/os/wi n/pa_win_waveformat.lo -lwinmm *** Warning: linker path does not have real file for library -lwinmm. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libwinmm but no candidates were found. (...for file magic test) *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. *** Since this library must not contain undefined symbols, *** because either the platform does not support them or *** it was explicitly requested with -no-undefined, *** libtool will only create a static version of it. libtool: link: lib -OUT:lib/.libs/libportaudio.lib src/common/pa_allocation.os rc/common/pa_converters.o src/common/pa_cpuload.o src/common/pa_dither.o src/com mon/pa_debugprint.o src/common/pa_front.o src/common/pa_process.o src/common/pa_ stream.o src/common/pa_trace.o src/hostapi/skeleton/pa_hostapi_skeleton.o src/ho stapi/wmme/pa_win_wmme.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.os rc/os/win/pa_win_waveformat.o ./libtool: line 1115: lib: command not found make: *** [lib/libportaudio.la] Error 127 

我是建立图书馆的新手,所以我不明白这里有什么问题。 任何帮助表示赞赏。

    Interesting Posts