Re: [LAD] Input/output error alsa api

From: Krause, Mathias <Mathias.Krause@email-addr-hidden>
Date: Wed Apr 02 2014 - 12:19:38 EEST

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

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Wed Apr 2 16:15:01 2014

This archive was generated by hypermail 2.1.8 : Wed Apr 02 2014 - 16:15:01 EEST