git-svn-id: https://svn.code.sf.net/p/freetel/code@477 01035d8c-6547-0410-b346-abe4f9...
authorwittend99 <wittend99@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 18 May 2012 02:08:19 +0000 (02:08 +0000)
committerwittend99 <wittend99@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 18 May 2012 02:08:19 +0000 (02:08 +0000)
fdmdv2/notes/FDMDV_build_notes.txt [new file with mode: 0644]
fdmdv2/notes/portaudio_notes.txt [new file with mode: 0644]

diff --git a/fdmdv2/notes/FDMDV_build_notes.txt b/fdmdv2/notes/FDMDV_build_notes.txt
new file mode 100644 (file)
index 0000000..1c936f6
--- /dev/null
@@ -0,0 +1,90 @@
+# ===========================================================\r
+# Build notes for portaudio\r
+# ===========================================================\r
+\r
+For building FDMDV2:\r
+using PortAudio November 21, 2011, SVN rev 1788 \r
+On Windows\r
+Built with MinGW/MSYS.\r
+\r
+Ignore this bit for now:  \r
+# ===========================================================\r
+# Config commandline:\r
+# ./configure --enable-cxx --with-winapi=directx  --with-dxdir="/p/Radio/fdmdv2/extern"\r
+# \r
+# I configured my "C:/Users/wittend/Projects/dx7sdk" to appear as /p in the MSys \r
+# environment.  This required editing the MSys /etc/fstab file (actually in my \r
+# C:\bin\MinGW\msys\1.0\etc folder) to contain: \r
+# \r
+# C:/bin/MinGW/   /mingw\r
+# C:/Users/wittend/Projects    /p\r
+# \r
+# Also, MSys does not seem to like paths like:\r
+# "C:\Program Files\Microsoft DirectX SDK (August 2010)\" \r
+# so I had to move it to my "C:/Users/wittend/Projects/dx7sdk".\r
+# ===========================================================\r
+\r
+Finally gave up on Dsound for now. Used this instead:\r
+\r
+./configure --enable-cxx\r
+\r
+configure output:\r
+\r
+Configuration summary:\r
+\r
+  Target ...................... i686-pc-mingw32\r
+  C++ bindings ................ yes\r
+  Debug output ................ no\r
+\r
+  WMME ........................ yes\r
+  DSound ...................... no\r
+  ASIO ........................ no\r
+  WASAPI ...................... no\r
+  WDMKS ....................... no\r
+\r
+#---------------------------------------------------------------------------------------------------------  \r
+Here is some info from the portaudio Wiki about building with Microsoft compilers that may be helpful:\r
+# -----------------------------------------------------------\r
+6) Select "all configurations" in the "Configurations" combo box above. Select "All Platforms" in the "Platforms" combo box.\r
+7) Now set a few options:\r
+\r
+C/C++ -> Optimization -> Omit frame pointers = Yes\r
+C/C++ -> Code Generation -> Runtime library = /MT\r
+Optional: C/C++ -> Code Generation -> Floating point model = fast\r
+\r
+NOTE: For most users it is not necessary to explicitly set the structure member alignment; the default should work fine. \r
+However some languages require, for example, 4-byte alignment. If you are having problems with portaudio.h structure \r
+members not being properly read or written to, it may be necessary to explicitly set this value by going to \r
+C/C++ -> Code Generation -> Struct member alignment and setting it to an appropriate value (four is a common value). \r
+If your compiler is configurable, you should ensure that it is set to use the same structure member alignment value \r
+as used for the PortAudio build.\r
+\r
+Preprocessor Definitions:\r
+# -----------------------------------------------------------\r
+Since the preprocessor definitions are different for each configuration and platform, you'll need to edit these \r
+individually for each configuration/platform combination that you want to modify using the "Configurations" and \r
+"Platforms" combo boxes.\r
+\r
+8) To suppress PortAudio runtime debug console output, go to Project -> Properties -> Configuration Properties\r
+ -> C/C++ -> Preprocessor. In the field 'Preprocessor Definitions', find PA_ENABLE_DEBUG_OUTPUT and remove it. \r
+The console will not output debug messages.\r
+9) Also in the preprocessor definitions you need to explicitly define the audio APIs you wish to use. For \r
+Windows the available API definitions are:\r
+\r
+PA_USE_ASIO[[BR]] PA_USE_DS (DirectSound)[[BR]] PA_USE_WMME (MME)[[BR]] PA_USE_WASAPI[[BR]] PA_USE_WDMKS[[BR]] PA_USE_SKELETON\r
+For each of these, the value of 0 indicates that support for this API should not be included. The value 1 indicates \r
+that support for this API should be included.\r
+\r
+Building:\r
+# -----------------------------------------------------------\r
+As when setting Preprocessor definitions, building is a per-configuration per-platform process. Follow these \r
+instructions for each configuration/platform combination that you're interested in.\r
+10) From the Build menu click Build -> Build solution. For 32-bit compilations, the dll file created by this \r
+process (portaudio_x86.dll) can be found in the directory build\msvc\Win32\Release. For 64-bit compilations, \r
+the dll file is called portaudio_x64.dll, and is found in the directory build\msvc\x64\Release.\r
+11) Now, any project which requires portaudio can be linked with portaudio_x86.lib (or _x64) and include the\r
+relevant headers (portaudio.h, and/or pa_asio.h , pa_x86_plain_converters.h) You may want to add/remove some \r
+DLL entry points. Right now those 6 entries are not from portaudio.h:\r
+(from portaudio.def) \r
+#---------------------------------------------------------------------------------------------------------  \r
+\r
diff --git a/fdmdv2/notes/portaudio_notes.txt b/fdmdv2/notes/portaudio_notes.txt
new file mode 100644 (file)
index 0000000..f5b795a
--- /dev/null
@@ -0,0 +1,355 @@
+\r
+build:\r
+make clean\r
+./configure ...\r
+make\r
+make install\r
+\r
+\r
+ ./configure --with-winapi=wmme --with-winapi=directx --with-winapi=asio --with-winapi=wasapi --with-asiodir=/p/Radio/ASIOSDK2 --with-dxdir=/p/Radio/dx7sdk --enable-cxx=yes --enable-shared=yes\r
+\r
+!!! didn't work !!! (Only configured wmme)!\r
+===========================================\r
+\r
+Trying:\r
+\r
+ ./configure --with-winapi=directx --with-dxdir=/p/Radio/dx7sdk --enable-cxx=yes --enable-shared=yes  --with-host_os=mingw\r
+\r
+ !!! didn't work !!! (build failed) \r
+===========================================\r
+\r
+Try ASIO:\r
\r
+./configure --with-winapi=asio  --with-asiodir=/p/Radio/ASIOSDK2  --enable-cxx=yes --enable-shared=yes --with-host_os=mingw\r
+\r
+Configuration summary:\r
+\r
+  Target ...................... i686-pc-mingw32\r
+  C++ bindings ................ yes\r
+  Debug output ................ no\r
+\r
+  WMME ........................ no\r
+  DSound ...................... no\r
+  ASIO ........................ yes (/p/Radio/ASIOSDK2)\r
+  WASAPI ...................... no\r
+  WDMKS ....................... no\r
+\r
+\r
+ !!! didn't work !!! (build failed libtool errors, It wants a uuid file, and it wants to find a copy of libportaudio.dll.la in /usr/lib !!???)\r
+===========================================\r
+Final lines of the build:\r
+\r
+/bin/sh ./libtool --mode=compile --tag=CXX g++ -c -g -O2 -DPA_LITTLE_ENDIAN -I./include -I./src/common -I./src/os/win -DPA_USE_WMME=\r
+0 -DPA_USE_ASIO=0 -DPA_USE_WDMKS=0 -DPA_USE_DS=0 -DPA_USE_WASAPI=0 -ffast-math -fomit-frame-pointer -I./src/hostapi/asio -I/p/Radio/\r
+ASIOSDK2/host/pc -I/p/Radio/ASIOSDK2/common -I/p/Radio/ASIOSDK2/host -UPA_USE_ASIO -DPA_USE_ASIO=1 -DWINDOWS -D_WIN32_WINNT=0x0501 -\r
+DWINVER=0x0501 /p/Radio/ASIOSDK2/host/pc/asiolist.cpp -o /p/Radio/ASIOSDK2/host/pc/asiolist.lo\r
+libtool: compile:  g++ -c -g -O2 -DPA_LITTLE_ENDIAN -I./include -I./src/common -I./src/os/win -DPA_USE_WMME=0 -DPA_USE_ASIO=0 -DPA_U\r
+SE_WDMKS=0 -DPA_USE_DS=0 -DPA_USE_WASAPI=0 -ffast-math -fomit-frame-pointer -I./src/hostapi/asio -I/p/Radio/ASIOSDK2/host/pc -I/p/Ra\r
+dio/ASIOSDK2/common -I/p/Radio/ASIOSDK2/host -UPA_USE_ASIO -DPA_USE_ASIO=1 -DWINDOWS -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 /p/Radio/\r
+ASIOSDK2/host/pc/asiolist.cpp  -DDLL_EXPORT -DPIC -o /p/Radio/ASIOSDK2/host/pc/.libs/asiolist.o\r
+libtool: compile:  g++ -c -g -O2 -DPA_LITTLE_ENDIAN -I./include -I./src/common -I./src/os/win -DPA_USE_WMME=0 -DPA_USE_ASIO=0 -DPA_U\r
+SE_WDMKS=0 -DPA_USE_DS=0 -DPA_USE_WASAPI=0 -ffast-math -fomit-frame-pointer -I./src/hostapi/asio -I/p/Radio/ASIOSDK2/host/pc -I/p/Ra\r
+dio/ASIOSDK2/common -I/p/Radio/ASIOSDK2/host -UPA_USE_ASIO -DPA_USE_ASIO=1 -DWINDOWS -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 /p/Radio/\r
+ASIOSDK2/host/pc/asiolist.cpp -o /p/Radio/ASIOSDK2/host/pc/asiolist.o >/dev/null 2>&1\r
+/bin/sh ./libtool --mode=link --tag=CXX g++  -shared -rpath /usr/local/lib -no-undefined -export-symbols-regex "(Pa|PaMacCore|PaJack\r
+|PaAlsa|PaAsio|PaOSS)_.*" -version-info 2:0:0 -o lib/libportaudio.la src/common/pa_allocation.lo src/common/pa_converters.lo src/com\r
+mon/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_\r
+stream.lo src/common/pa_trace.lo src/hostapi/skeleton/pa_hostapi_skeleton.lo src/hostapi/asio/pa_asio.lo src/common/pa_ringbuffer.lo\r
+ src/os/win/pa_win_hostapis.lo src/os/win/pa_win_util.lo src/os/win/pa_win_coinitialize.lo src/hostapi/asio/iasiothiscallresolver.lo\r
+ /p/Radio/ASIOSDK2/common/asio.lo /p/Radio/ASIOSDK2/host/asiodrivers.lo /p/Radio/ASIOSDK2/host/pc/asiolist.lo -lwinmm -lm -lole32 -l\r
+uuid\r
+\r
+*** Warning: linker path does not have real file for library -luuid.\r
+*** I have the capability to make that library automatically link in when\r
+*** you link to this library.  But I can only do this if you have a\r
+*** shared version of the library, which you do not appear to have\r
+*** because I did check the linker path looking for a file starting\r
+*** with libuuid and none of the candidates passed a file format test\r
+*** using a file magic. Last file checked: /mingw/lib/libuuid.a\r
+*** The inter-library dependencies that have been dropped here will be\r
+*** automatically added whenever a program is linked with this library\r
+*** or is declared to -dlopen it.\r
+\r
+*** Since this library must not contain undefined symbols,\r
+*** because either the platform does not support them or\r
+*** it was explicitly requested with -no-undefined,\r
+*** libtool will only create a static version of it.\r
+libtool: link: /mingw/bin/ar cru lib/.libs/libportaudio.a src/common/.libs/pa_allocation.o src/common/.libs/pa_converters.o src/comm\r
+on/.libs/pa_cpuload.o src/common/.libs/pa_dither.o src/common/.libs/pa_debugprint.o src/common/.libs/pa_front.o src/common/.libs/pa_\r
+process.o src/common/.libs/pa_stream.o src/common/.libs/pa_trace.o src/hostapi/skeleton/.libs/pa_hostapi_skeleton.o src/hostapi/asio\r
+/.libs/pa_asio.o src/common/.libs/pa_ringbuffer.o src/os/win/.libs/pa_win_hostapis.o src/os/win/.libs/pa_win_util.o src/os/win/.libs\r
+/pa_win_coinitialize.o src/hostapi/asio/.libs/iasiothiscallresolver.o /p/Radio/ASIOSDK2/common/.libs/asio.o /p/Radio/ASIOSDK2/host/.\r
+libs/asiodrivers.o /p/Radio/ASIOSDK2/host/pc/.libs/asiolist.o\r
+libtool: link: ranlib lib/.libs/libportaudio.a\r
+libtool: link: ( cd "lib/.libs" && rm -f "libportaudio.la" && cp -p "../libportaudio.la" "libportaudio.la" )\r
+if test -n " bindings/cpp" ; then for dir in " bindings/cpp"; do make -C $dir all; done ; fi\r
+make[1]: Entering directory `/p/Radio/portaudio/bindings/cpp'\r
+Making all in lib\r
+make[2]: Entering directory `/p/Radio/portaudio/bindings/cpp/lib'\r
+/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -Wall -ansi -pedantic -version-info 0:12:0 -no-undefined  -o libportaudiocpp.\r
+la -rpath /usr/local/lib BlockingStream.lo CallbackInterface.lo CallbackStream.lo CFunCallbackStream.lo CppFunCallbackStream.lo Devi\r
+ce.lo DirectionSpecificStreamParameters.lo Exception.lo HostApi.lo InterfaceCallbackStream.lo MemFunCallbackStream.lo Stream.lo Stre\r
+amParameters.lo System.lo SystemDeviceIterator.lo SystemHostApiIterator.lo ../../../lib/libportaudio.la\r
+\r
+*** Warning: This system can not link to static lib archive ../../../lib/libportaudio.la.\r
+*** I have the capability to make that library automatically link in when\r
+*** you link to this library.  But I can only do this if you have a\r
+*** shared version of the library, which you do not appear to have.\r
+libtool: link: rm -fr  .libs/libportaudiocpp.dll.a\r
+libtool: link: g++ -shared -nostdlib c:/bin/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../dllcrt2.o c:/bin/mingw/bin/../lib/gcc/mingw3\r
+2/4.6.2/crtbegin.o  .libs/BlockingStream.o .libs/CallbackInterface.o .libs/CallbackStream.o .libs/CFunCallbackStream.o .libs/CppFunC\r
+allbackStream.o .libs/Device.o .libs/DirectionSpecificStreamParameters.o .libs/Exception.o .libs/HostApi.o .libs/InterfaceCallbackSt\r
+ream.o .libs/MemFunCallbackStream.o .libs/Stream.o .libs/StreamParameters.o .libs/System.o .libs/SystemDeviceIterator.o .libs/System\r
+HostApiIterator.o   -Lc:/bin/mingw/bin/../lib/gcc/mingw32/4.6.2 -Lc:/bin/mingw/bin/../lib/gcc -Lc:/bin/mingw/bin/../lib/gcc/mingw32/\r
+4.6.2/../../../../mingw32/lib -Lc:/bin/mingw/bin/../lib/gcc/mingw32/4.6.2/../../.. -lstdc++ -lmingw32 -lgcc_s -lgcc -lmoldname -lmin\r
+gwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt c:/bin/mingw/bin/../lib\r
+/gcc/mingw32/4.6.2/crtend.o  -O2   -o .libs/libportaudiocpp-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/\r
+libportaudiocpp.dll.a\r
+Creating library file: .libs/libportaudiocpp.dll.a\r
+.libs/BlockingStream.o: In function `ZN9portaudio14BlockingStream4openERKNS_16StreamParametersE':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/BlockingStream.cxx:39: undefined reference to `Pa_\r
+OpenStream'\r
+.libs/BlockingStream.o: In function `ZN9portaudio14BlockingStream4readEPvm':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/BlockingStream.cxx:51: undefined reference to `Pa_\r
+ReadStream'\r
+.libs/BlockingStream.o: In function `ZN9portaudio14BlockingStream5writeEPKvm':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/BlockingStream.cxx:61: undefined reference to `Pa_\r
+WriteStream'\r
+.libs/BlockingStream.o: In function `ZNK9portaudio14BlockingStream17availableReadSizeEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/BlockingStream.cxx:73: undefined reference to `Pa_\r
+GetStreamReadAvailable'\r
+.libs/BlockingStream.o: In function `ZNK9portaudio14BlockingStream18availableWriteSizeEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/BlockingStream.cxx:85: undefined reference to `Pa_\r
+GetStreamWriteAvailable'\r
+.libs/CallbackStream.o: In function `ZNK9portaudio14CallbackStream7cpuLoadEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/CallbackStream.cxx:17: undefined reference to `Pa_\r
+GetStreamCpuLoad'\r
+.libs/CFunCallbackStream.o: In function `ZN9portaudio18CFunCallbackStream4openERKNS_16StreamParametersEPFiPKvPvmPK24PaStreamCallback\r
+TimeInfomS6_ES6_':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/CFunCallbackStream.cxx:34: undefined reference to\r
+`Pa_OpenStream'\r
+.libs/CppFunCallbackStream.o: In function `ZN9portaudio17FunCallbackStream4openERKNS_16StreamParametersE':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/CppFunCallbackStream.cxx:72: undefined reference t\r
+o `Pa_OpenStream'\r
+.libs/Device.o: In function `Device':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Device.cxx:19: undefined reference to `Pa_GetDevic\r
+eInfo'\r
+.libs/Exception.o: In function `ZNK9portaudio11PaException11paErrorTextEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Exception.cxx:41: undefined reference to `Pa_GetEr\r
+rorText'\r
+.libs/Exception.o: In function `ZNK9portaudio11PaException16lastHostApiErrorEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Exception.cxx:58: undefined reference to `Pa_GetLa\r
+stHostErrorInfo'\r
+.libs/Exception.o: In function `ZNK9portaudio11PaException20lastHostApiErrorTextEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Exception.cxx:68: undefined reference to `Pa_GetLa\r
+stHostErrorInfo'\r
+.libs/Exception.o: In function `ZNK9portaudio11PaException11paErrorTextEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Exception.cxx:41: undefined reference to `Pa_GetEr\r
+rorText'\r
+.libs/HostApi.o: In function `HostApi':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/HostApi.cxx:17: undefined reference to `Pa_GetHost\r
+ApiInfo'\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/HostApi.cxx:26: undefined reference to `Pa_HostApi\r
+DeviceIndexToDeviceIndex'\r
+.libs/HostApi.o: In function `ZNK9portaudio7HostApi5indexEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/HostApi.cxx:61: undefined reference to `Pa_HostApi\r
+TypeIdToHostApiIndex'\r
+.libs/InterfaceCallbackStream.o: In function `ZN9portaudio23InterfaceCallbackStream4openERKNS_16StreamParametersERNS_17CallbackInter\r
+faceE':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/InterfaceCallbackStream.cxx:38: undefined referenc\r
+e to `Pa_OpenStream'\r
+.libs/Stream.o: In function `ZN9portaudio6Stream5closeEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Stream.cxx:33: undefined reference to `Pa_CloseStr\r
+eam'\r
+.libs/Stream.o: In function `ZN9portaudio6Stream25setStreamFinishedCallbackEPFvPvE':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Stream.cxx:53: undefined reference to `Pa_SetStrea\r
+mFinishedCallback'\r
+.libs/Stream.o: In function `ZN9portaudio6Stream5startEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Stream.cxx:63: undefined reference to `Pa_StartStr\r
+eam'\r
+.libs/Stream.o: In function `ZN9portaudio6Stream4stopEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Stream.cxx:71: undefined reference to `Pa_StopStre\r
+am'\r
+.libs/Stream.o: In function `ZN9portaudio6Stream5abortEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Stream.cxx:79: undefined reference to `Pa_AbortStr\r
+eam'\r
+.libs/Stream.o: In function `ZNK9portaudio6Stream9isStoppedEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Stream.cxx:87: undefined reference to `Pa_IsStream\r
+Stopped'\r
+.libs/Stream.o: In function `ZNK9portaudio6Stream8isActiveEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Stream.cxx:97: undefined reference to `Pa_IsStream\r
+Active'\r
+.libs/Stream.o: In function `ZNK9portaudio6Stream12inputLatencyEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Stream.cxx:115: undefined reference to `Pa_GetStre\r
+amInfo'\r
+.libs/Stream.o: In function `ZNK9portaudio6Stream13outputLatencyEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Stream.cxx:133: undefined reference to `Pa_GetStre\r
+amInfo'\r
+.libs/Stream.o: In function `ZNK9portaudio6Stream10sampleRateEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Stream.cxx:152: undefined reference to `Pa_GetStre\r
+amInfo'\r
+.libs/Stream.o: In function `ZNK9portaudio6Stream4timeEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/Stream.cxx:166: undefined reference to `Pa_GetStre\r
+amTime'\r
+.libs/StreamParameters.o: In function `ZNK9portaudio16StreamParameters11isSupportedEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/StreamParameters.cxx:103: undefined reference to `\r
+Pa_IsFormatSupported'\r
+.libs/System.o: In function `ZN9portaudio6System14defaultHostApiEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/System.cxx:165: undefined reference to `Pa_GetDefa\r
+ultHostApi'\r
+.libs/System.o: In function `ZN9portaudio6System15hostApiByTypeIdE15PaHostApiTypeId':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/System.cxx:175: undefined reference to `Pa_HostApi\r
+TypeIdToHostApiIndex'\r
+.libs/System.o: In function `ZN9portaudio6System12hostApiCountEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/System.cxx:193: undefined reference to `Pa_GetHost\r
+ApiCount'\r
+.libs/System.o: In function `ZN9portaudio6System11deviceCountEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/System.cxx:261: undefined reference to `Pa_GetDevi\r
+ceCount'\r
+.libs/System.o: In function `ZN9portaudio6System19defaultOutputDeviceEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/System.cxx:237: undefined reference to `Pa_GetDefa\r
+ultOutputDevice'\r
+.libs/System.o: In function `ZN9portaudio6System18defaultInputDeviceEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/System.cxx:227: undefined reference to `Pa_GetDefa\r
+ultInputDevice'\r
+.libs/System.o: In function `ZN9portaudio6System10initializeEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/System.cxx:48: undefined reference to `Pa_Initiali\r
+ze'\r
+.libs/System.o: In function `ZN9portaudio6System9terminateEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/System.cxx:118: undefined reference to `Pa_Termina\r
+te'\r
+.libs/System.o: In function `ZN9portaudio6System12sizeOfSampleEm':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/System.cxx:283: undefined reference to `Pa_GetSamp\r
+leSize'\r
+.libs/System.o: In function `ZN9portaudio6System7versionEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/System.cxx:28: undefined reference to `Pa_GetVersi\r
+on'\r
+.libs/System.o: In function `ZN9portaudio6System11versionTextEv':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/System.cxx:33: undefined reference to `Pa_GetVersi\r
+onText'\r
+.libs/System.o: In function `ZN9portaudio6System5sleepEl':\r
+C:\Users\wittend\Projects\Radio\portaudio\bindings\cpp\lib/../source/portaudiocpp/System.cxx:278: undefined reference to `Pa_Sleep'\r
+collect2: ld returned 1 exit status\r
+make[2]: *** [libportaudiocpp.la] Error 1\r
+make[2]: Leaving directory `/p/Radio/portaudio/bindings/cpp/lib'\r
+make[1]: *** [all-recursive] Error 1\r
+make[1]: Leaving directory `/p/Radio/portaudio/bindings/cpp'\r
+make: *** [all-recursive] Error 2\r
\r
+\r
+Try a static build & DSound:\r
+===========================================\r
+ ./configure  --with-winapi=directx  --with-dxdir=/p/Radio/dx7sdk --enable-cxx=yes --enable-shared=no  --with-host_os=mingw\r
+\r
+As usual with DSound, configure goes Ok, but the last build messages I get are:\r
+/bin/sh ./libtool --mode=compile gcc -c -g -O2 -DPA_LITTLE_ENDIAN -I./include -I./src/common -I./src/os/win -DPA_USE_WMME=0 -DPA_USE\r
+_ASIO=0 -DPA_USE_WDMKS=0 -DPA_USE_DS=0 -DPA_USE_WASAPI=0 -I/p/Radio/dx7sdk/include -UPA_USE_DS -DPA_USE_DS=1 -mthreads -DPACKAGE_NAM\r
+E=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADER\r
+S=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPE\r
+S_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 src/hostapi/dsound/\r
+pa_win_ds.c -o src/hostapi/dsound/pa_win_ds.lo\r
+libtool: compile:  gcc -c -g -O2 -DPA_LITTLE_ENDIAN -I./include -I./src/common -I./src/os/win -DPA_USE_WMME=0 -DPA_USE_ASIO=0 -DPA_U\r
+SE_WDMKS=0 -DPA_USE_DS=0 -DPA_USE_WASAPI=0 -I/p/Radio/dx7sdk/include -UPA_USE_DS -DPA_USE_DS=1 -mthreads -DPACKAGE_NAME=\"\" -DPACKA\r
+GE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS\r
+_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_S\r
+TDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 src/hostapi/dsound/pa_win_ds.c -o\r
+ src/hostapi/dsound/pa_win_ds.o\r
+src/hostapi/dsound/pa_win_ds.c:68:20: fatal error: dsound.h: No such file or directory\r
+compilation terminated.\r
+make: *** [src/hostapi/dsound/pa_win_ds.lo] Error 1\r
+\r
\r
+Try a static build& ASIO:\r
+===========================================\r
+\r
+./configure --with-winapi=asio  --with-asiodir=/p/Radio/ASIOSDK2  --enable-cxx=yes --enable-shared=no --with-host_os=mingw\r
+\r
+\r
+Configuration summary:\r
+\r
+  Target ...................... i686-pc-mingw32\r
+  C++ bindings ................ yes\r
+  Debug output ................ no\r
+\r
+  WMME ........................ no\r
+  DSound ...................... no\r
+  ASIO ........................ yes (/p/Radio/ASIOSDK2)\r
+  WASAPI ...................... no\r
+  WDMKS ....................... no\r
+\r
+This one Worked!\r
+====================\r
+====================\r
+\r
+next:\r
+\r
+$ make install\r
+/bin/install -c -d /usr/local/lib\r
+/bin/sh ./libtool --mode=install /bin/install -c lib/libportaudio.la /usr/local/lib\r
+libtool: install: /bin/install -c lib/.libs/libportaudio.lai /usr/local/lib/libportaudio.la\r
+libtool: install: /bin/install -c lib/.libs/libportaudio.a /usr/local/lib/libportaudio.a\r
+libtool: install: chmod 644 /usr/local/lib/libportaudio.a\r
+libtool: install: ranlib /usr/local/lib/libportaudio.a\r
+/bin/install -c -d /usr/local/include\r
+for include in portaudio.h; do \\r
+                /bin/install -c -m 644 -m 644 ./include/$include /usr/local/include/$include; \\r
+        done\r
+/bin/install -c -d /usr/local/lib/pkgconfig\r
+/bin/install -c -m 644 portaudio-2.0.pc /usr/local/lib/pkgconfig/portaudio-2.0.pc\r
+\r
+------------------------------------------------------------\r
+PortAudio was successfully installed.\r
+\r
+On some systems (e.g. Linux) you should run 'ldconfig' now\r
+to make the shared object available.  You may also need to\r
+modify your LD_LIBRARY_PATH environment variable to include\r
+the directory /usr/local/lib\r
+------------------------------------------------------------\r
+\r
+make install-recursive\r
+make[1]: Entering directory `/p/Radio/portaudio'\r
+if test -n " bindings/cpp" ; then for dir in " bindings/cpp"; do make -C $dir install; done ; fi\r
+make[2]: Entering directory `/p/Radio/portaudio/bindings/cpp'\r
+Making install in lib\r
+make[3]: Entering directory `/p/Radio/portaudio/bindings/cpp/lib'\r
+make[4]: Entering directory `/p/Radio/portaudio/bindings/cpp/lib'\r
+test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"\r
+ /bin/sh ../libtool   --mode=install /bin/install -c   libportaudiocpp.la '/usr/local/lib'\r
+libtool: install: /bin/install -c .libs/libportaudiocpp.lai /usr/local/lib/libportaudiocpp.la\r
+libtool: install: /bin/install -c .libs/libportaudiocpp.a /usr/local/lib/libportaudiocpp.a\r
+libtool: install: chmod 644 /usr/local/lib/libportaudiocpp.a\r
+libtool: install: ranlib /usr/local/lib/libportaudiocpp.a\r
+make[4]: Nothing to be done for `install-data-am'.\r
+make[4]: Leaving directory `/p/Radio/portaudio/bindings/cpp/lib'\r
+make[3]: Leaving directory `/p/Radio/portaudio/bindings/cpp/lib'\r
+Making install in include\r
+make[3]: Entering directory `/p/Radio/portaudio/bindings/cpp/include'\r
+make[4]: Entering directory `/p/Radio/portaudio/bindings/cpp/include'\r
+make[4]: Nothing to be done for `install-exec-am'.\r
+test -z "/usr/local/include/portaudiocpp" || /bin/mkdir -p "/usr/local/include/portaudiocpp"\r
+ /bin/install -c -m 644 portaudiocpp/AutoSystem.hxx portaudiocpp/BlockingStream.hxx portaudiocpp/CallbackInterface.hxx portaudiocpp/\r
+CallbackStream.hxx portaudiocpp/CFunCallbackStream.hxx portaudiocpp/CppFunCallbackStream.hxx portaudiocpp/Device.hxx portaudiocpp/Di\r
+rectionSpecificStreamParameters.hxx portaudiocpp/Exception.hxx portaudiocpp/HostApi.hxx portaudiocpp/InterfaceCallbackStream.hxx por\r
+taudiocpp/MemFunCallbackStream.hxx portaudiocpp/PortAudioCpp.hxx portaudiocpp/SampleDataFormat.hxx portaudiocpp/Stream.hxx portaudio\r
+cpp/StreamParameters.hxx portaudiocpp/SystemDeviceIterator.hxx portaudiocpp/SystemHostApiIterator.hxx portaudiocpp/System.hxx '/usr/\r
+local/include/portaudiocpp'\r
+make[4]: Leaving directory `/p/Radio/portaudio/bindings/cpp/include'\r
+make[3]: Leaving directory `/p/Radio/portaudio/bindings/cpp/include'\r
+Making install in bin\r
+make[3]: Entering directory `/p/Radio/portaudio/bindings/cpp/bin'\r
+make[4]: Entering directory `/p/Radio/portaudio/bindings/cpp/bin'\r
+make[4]: Nothing to be done for `install-exec-am'.\r
+make[4]: Nothing to be done for `install-data-am'.\r
+make[4]: Leaving directory `/p/Radio/portaudio/bindings/cpp/bin'\r
+make[3]: Leaving directory `/p/Radio/portaudio/bindings/cpp/bin'\r
+make[3]: Entering directory `/p/Radio/portaudio/bindings/cpp'\r
+make[4]: Entering directory `/p/Radio/portaudio/bindings/cpp'\r
+make[4]: Nothing to be done for `install-exec-am'.\r
+test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"\r
+ /bin/install -c -m 644 portaudiocpp.pc '/usr/local/lib/pkgconfig'\r
+make[4]: Leaving directory `/p/Radio/portaudio/bindings/cpp'\r
+make[3]: Leaving directory `/p/Radio/portaudio/bindings/cpp'\r
+make[2]: Leaving directory `/p/Radio/portaudio/bindings/cpp'\r
+make[1]: Leaving directory `/p/Radio/portaudio'\r
+  \r
+\r