discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Are there firls and kaiser filter methods for C++ OOT?


From: Marcin Puchlik
Subject: Re: Are there firls and kaiser filter methods for C++ OOT?
Date: Tue, 22 Feb 2022 14:55:59 +0100

That's strange, in this order it doesn't work for me.
Thank you anyways :) 
Marcin

wt., 22 lut 2022 o 14:47 Vasil Velichkov <vvvelichkov@gmail.com> napisał(a):
On 22/02/2022 15.39, Marcin Puchlik wrote:
> So while running: *g++ -gnuradio-filter main.cpp*   I get:

You are missing an l between - and gnuradio

> */bin/ld: /tmp/ccChkcfC.o: in function `main':main.cpp:(.text+0x8d):
> undefined reference to `gr::filter::firdes::low_pass(double, double,
> double, double, gr::fft::window::win_type, double)'collect2: error: ld
> returned 1 exit status*

Works on my machine :)

$ g++ -lgnuradio-filter main.cpp 
$ ll
total 32
-rwxrwxr-x. 1 vasko vasko 27112 Feb 22 15:41 a.out
-rw-rw-r--. 1 vasko vasko   325 Feb 22 15:40 main.cpp

$ ./a.out
!!!Hello World!!!

$ ldd a.out | grep filter
        libgnuradio-filter.so.3.8.2 => /lib64/libgnuradio-filter.so.3.8.2 (0x00007fbf4984d000)

$ objdump -TC a.out  | grep filter
0000000000000000      DF *UND*  0000000000000000              gr::filter::firdes::low_pass(double, double, double, double, gr::filter::firdes::win_type, double)

 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]