X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=doc%2Fhtml%2Fcompiling.html;h=39cde7ba1c442d61aa9f6cea9fe2a629dcd4addf;hb=be2eb99b37cd017fcab00c1704f794cb1bc85ee1;hp=c055362e4bbea302eb6b67fc029adfa0b9b7d86c;hpb=464790a82e90cfea0cb47a7f716117b63bb6dd5f;p=rtaudio.git diff --git a/doc/html/compiling.html b/doc/html/compiling.html index c055362..39cde7b 100644 --- a/doc/html/compiling.html +++ b/doc/html/compiling.html @@ -8,14 +8,17 @@
Home   Class/Enum List   File List   Compound Members  

- +
-

Debugging & Compiling

+ + +

Debugging & Compiling

Debugging

-If you are having problems getting RtAudio to run on your system, make sure to pass a value of true to the RtAudio::showWarnings() function (this is the default setting). A variety of warning messages will be displayed which may help in determining the problem. Also, try using the programs included in the tests directory. The program audioprobe displays the queried capabilities of all hardware devices found for all APIs compiled. When using the ALSA and JACK APIs, further information can be displayed by defining the preprocessor definition __RTAUDIO_DEBUG__.

+

If you are having problems getting RtAudio to run on your system, make sure to pass a value of true to the RtAudio::showWarnings() function (this is the default setting). A variety of warning messages will be displayed which may help in determining the problem. Also, try using the programs included in the tests directory. The program audioprobe displays the queried capabilities of all hardware devices found for all APIs compiled. When using the ALSA and JACK APIs, further information can be displayed by defining the preprocessor definition __RTAUDIO_DEBUG__.

+

Compiling

-In order to compile RtAudio for a specific OS and audio API, it is necessary to supply the appropriate preprocessor definition and library within the compiler statement:

- +

In order to compile RtAudio for a specific OS and audio API, it is necessary to supply the appropriate preprocessor definition and library within the compiler statement:

+
@@ -23,7 +26,8 @@ In order to compile g++ -Wall -D__UNIX_JACK__ -o audioprobe audioprobe.cpp RtAudio.cpp `pkg-config --cflags --libs jack` -lpthread

+

@@ -32,12 +36,12 @@ In order to compile RtAudio.h, RtError.h, and RtAudio.cpp all exist in the same directory. +

The example compiler statements above could be used to compile the audioprobe.cpp example file, assuming that audioprobe.cpp, RtAudio.h, RtError.h, and RtAudio.cpp all exist in the same directory.

+
OS: Audio API: C++ Class: Preprocessor Definition: Library or Framework: Example Compiler Statement:
Macintosh OS-X CoreAudio RtApiCore __MACOSX_CORE__ pthread, CoreAudio g++ -Wall -D__MACOSX_CORE__ -o audioprobe audioprobe.cpp RtAudio.cpp -framework CoreAudio -lpthread
- +
©2001-2009 Gary P. Scavone, McGill University. All Rights Reserved.
Maintained by Gary P. Scavone.
©2001-2010 Gary P. Scavone, McGill University. All Rights Reserved.
Maintained by Gary P. Scavone.