Hi Dustin,
Without knowing all of the details, I guess the FILTER component could be missing from CMakeLists.txt:
set(GR_REQUIRED_COMPONENTS RUNTIME FILTER)
More details in [1].
Cheers,
Ernest
On Mon, Dec 2, 2019 at 6:40 PM Dustin Widmann <dw2zq@virginia.edu> wrote:
Hi all,I get a linker error when trying to use rational_resampler_base. Am I doing something incorrectly?the relevant snippet of code:#include <gnuradio/filter/rational_resampler_base.h>/* ... */unsigned int interp,decim;std::vector<float> taps;/* ... */gr::block_sptr resampler = gr::filter::rational_resampler_base_fff::make(interp,decim,taps);gives me the following error when I try to build my project:undefined reference to gr::filter::rational_resampler_base<float,float,float>::make(unsigned int, unsigned int, std::vector<float, std::allocator<float> > const&)
collect2: error: ld returned 1 exit statusI'm using gnuradio 3.8.0.0 from the Arch Linux community repository.Thanks,Dustin Widmann
No comments:
Post a Comment