Hi Marcus M (cool name, actually),

gr_complex is an STL complex<float>, so you won't need the complete GR core to use it: gnuradio-core/src/lib/runtime/gr_complex.h:typedef std::complex<float> gr_complex;

gri_fft requires only gr_complex (see above) and gr_sys_paths, which is essentially replaceable by string literals. (and boost filesystem&threads and fftw of course, but those are not part of GR)

By the way: You'll be benchmarking FFTW (float implementation) complex2real fft, why would you want to use it wrapped in gri_fft? Using FFTW is -after all- three lines of code, using the benchmarking
functions one line more.

Hope this was helpful,

greetings
Marcus Müller


Am 17.08.2011 13:03, schrieb Alexandru Csete:
On Wed, Aug 17, 2011 at 5:08 AM, Marcus M<gnu.f...@gmail.com>  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.
Hi Marcus,

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
with back-quotes(?)

`pkg-config --libs gnuradio-core`

Alex

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to