[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] How to link gnuradio library with applications ou
Re: [Discuss-gnuradio] How to link gnuradio library with applications outside of gnuradio/usrp?
Wed, 17 Aug 2011 13:03:33 +0200
On Wed, Aug 17, 2011 at 5:08 AM, Marcus M <address@hidden> wrote:
> Actually I wanted to profile some classes that I wrote for my gnuradio
> application. In these classes I use gr_complex and the gri_fftw class. As I
> do not know how to use gprof in a gnuradio application I thought I will use
> the classes outside of gnuradio to run the profile tests. So that's why I
> want to link the gr_complex and gri_fftw in the test application.
Both are in the gnuradio-core package and you can use pkg-config to
get the appropriate flags:
pkg-config --libs gnuradio-core
You can use the above directly in the linker command by surrounding it
`pkg-config --libs gnuradio-core`