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

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

Reply via email to