On Wed, Aug 19, 2015 at 2:17 PM, Richard Bell <richard.be...@gmail.com> wrote:
> I'm having some trouble getting my code to compile. I get the following > error: > > error: ‘kernel’ does not name a type > kernel::fir_filter_ccf *d_shape_filter; > > To my *_impl.h file I added the following: > #include <gnuradio/filter/fir_filter.h> > > private: > kernel::fir_filter_ccf *d_shape_filter; > > To my CMakeLists.txt file I added FILTER to the dependency list: > set(GR_REQUIRED_COMPONENTS RUNTIME FILTER) > > I'm not sure where to go from here. What else needs to happen to call > kernel::fir_filter_ccf? > > Thanks, > Rich > Probably a namespace issue. You've included the fir_filter.h, I'm assuming. Now, instead of referencing it as "kernel::fir_filter_ccf" use the full namespace "gr::filter::kernel::fir_filter_ccf". Tom > On Wed, Aug 19, 2015 at 9:39 AM, Richard Bell <richard.be...@gmail.com> > wrote: > >> Thank you Jeff. Those are perfect. >> >> Rich >> >> On Tue, Aug 18, 2015 at 3:34 PM, Jeff Long <willco...@gmail.com> wrote: >> >>> Rich, >>> >>> hilbert_fc.cc and filter_delay_fc both use kernel::fir_filter in a >>> relatively easy to understand way. >>> >>> Jeff >>> >>> >>> On 08/18/2015 04:26 PM, Richard Bell wrote: >>> >>>> Hi all, >>>> >>>> Would someone please recommend a good starting point in C++ source code >>>> that demonstrates how one uses the kernel::fir_filter. I started >>>> following the pfb_clock_sync method of implementing it, but then >>>> realized this had been customized a bit for the polyphase approach. >>>> >>>> I'm not doing anything fancy, I'm building a modulator and need to pass >>>> symbols through a shaping filter. The shaping filter is what I need the >>>> FIR filter for. >>>> >>>> Appreciated, >>>> Rich >>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >> >> > > _______________________________________________ > 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