To use PortAudio in your apps, you can simply install the .so files:\r
\r
@code\r
-make install\r
+sudo make install\r
@endcode\r
\r
Projects built this way will expect PortAudio to be installed on target systems in order to run. If you want to build a more self-contained binary, you may use the libportaudio.a file:\r
cp lib/.libs/libportaudio.a /YOUR/PROJECT/DIR\r
@endcode\r
\r
+On some systems you may need to use:\r
+\r
+@code\r
+cp /usr/local/lib/libportaudio.a /YOUR/PROJECT/DIR\r
+@endcode\r
+\r
You may also need to copy portaudio.h, located in the include/ directory of PortAudio into your project. Note that you will usually need to link with the approriate libraries that you used, such as ALSA and JACK, as well as with librt and libpthread. For example:\r
\r
@code\r
-gcc -lrt -lasound -ljack -lpthread -o YOUR_BINARY main.c libportaudio.a\r
+gcc main.c libportaudio.a -lrt -lm -lasound -ljack -pthread -o YOUR_BINARY\r
@endcode\r
\r
@section comp_linux4 Linux Extensions\r