[LAD] Input/output error alsa api

Krause, Mathias Mathias.Krause at xse.de
Wed Apr 2 09:19:38 UTC 2014


Hi Thiago,

> Do you know if there is some rule to compiling using  librtaudio?
> Because, there is an error..and i don't know what's wrong. I'm using g++ 4.7.2 and i'm compiling using:
>
> $ g++<programname.cpp> -o <programname>
>
> The error is: undefined reference to 'RtAudio::RtAudio(RtAudio::Api)'
> i'm including the lib in the program, normally!

you need to add the library to the linker with the -l option.

Regards,
Mathias







More information about the Linux-audio-dev mailing list