[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuradio-discuss
Subject:    Re: Problem with using gr-filter in my OOT module
From:       Ron Economos <w6rz () comcast ! net>
Date:       2022-06-27 22:08:07
Message-ID: e2433494-6ac0-6510-3771-f32a365414a8 () comcast ! net
[Download RAW message or body]

Niko,

You have to add a couple of things to some CMake files.

1) Add the component(s) to the top level CMakeLists.txt. For example

https://github.com/drmpeg/gr-atsc3/blob/master/CMakeLists.txt#L77

2) Add the libraries to the linker in lib/CMakeLists.txt. For example:

https://github.com/drmpeg/gr-atsc3/blob/master/lib/CMakeLists.txt#L39

Ron

On 6/27/22 11:46, Nikoloz Glonti wrote:
>
> Dear Gnuradio community,
>
> I'm having a problem with my OOT module which I like to use gr-filter.
>
> Error looks like that.
>
> File 
> "/usr/local/lib/python3.10/site-packages/gnuradio/spektrumcsi/__init__.py", 
> line 18, in <module>
>     from .spektrumcsi_python import *
> ImportError: /usr/local/lib/libgnuradio-spektrumcsi.so.1.0.0: 
> undefined symbol: 
> _ZN2gr6filter6kernel14fft_filter_cccC1EiRKSt6vectorISt7complexIfESaIS5_EEi
>
> How can i attach fft_filter_ccc to my project?
> In my ...impl.cc file exists:
>
> #include<gnuradio/filter/firdes.h>
> #include<gnuradio/filter/pfb_arb_resampler.h>
> #include<gnuradio/io_signature.h>
> #include<gnuradio/math.h>
> #include<volk/volk.h>
>
> and in impl.h i have
>
> #include<gnuradio/filter/fft_filter.h>
>
> Thank You in advance!
> Niko
>
[Attachment #3 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Niko,</p>
    <p>You have to add a couple of things to some CMake files.</p>
    <p>1) Add the component(s) to the top level CMakeLists.txt. For
      example</p>
    <p><a class="moz-txt-link-freetext" \
href="https://github.com/drmpeg/gr-atsc3/blob/master/CMakeLists.txt#L77">https://github.com/drmpeg/gr-atsc3/blob/master/CMakeLists.txt#L77</a></p>
  <p>2) Add the libraries to the linker in lib/CMakeLists.txt. For
      example:</p>
    <p><a class="moz-txt-link-freetext" \
href="https://github.com/drmpeg/gr-atsc3/blob/master/lib/CMakeLists.txt#L39">https://github.com/drmpeg/gr-atsc3/blob/master/lib/CMakeLists.txt#L39</a></p>
  <p>Ron<br>
    </p>
    <div class="moz-cite-prefix">On 6/27/22 11:46, Nikoloz Glonti wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:ec1bcb9c-b100-8645-2e07-d5196d51cc66@glonti.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p>Dear Gnuradio community,</p>
      <p>I'm having a problem with my OOT module which I like to use
        gr-filter.</p>
      <p>Error looks like that.</p>
      <p>File
"/usr/local/lib/python3.10/site-packages/gnuradio/spektrumcsi/__init__.py",
        line 18, in &lt;module&gt;<br>
               from .spektrumcsi_python import *<br>
        ImportError: /usr/local/lib/libgnuradio-spektrumcsi.so.1.0.0:
        undefined symbol:
_ZN2gr6filter6kernel14fft_filter_cccC1EiRKSt6vectorISt7complexIfESaIS5_EEi</p>
      <p>How can i attach fft_filter_ccc to my project?<br>
        In my ...impl.cc file exists:</p>
      <div style="color: #ffffff;background-color: #000000;font-family: 'Droid Sans \
Mono', 'monospace', monospace;font-weight: normal;font-size: 14px;line-height: \
19px;white-space: pre;"><div><span style="color: #c586c0;">#include</span><span \
style="color: #569cd6;"> </span><span style="color: \
#ce9178;">&lt;gnuradio/filter/firdes.h&gt;</span></div><div><span style="color: \
#c586c0;">#include</span><span style="color: #569cd6;"> </span><span style="color: \
#ce9178;">&lt;gnuradio/filter/pfb_arb_resampler.h&gt;</span></div><div><span \
style="color: #c586c0;">#include</span><span style="color: #569cd6;"> </span><span \
style="color: #ce9178;">&lt;gnuradio/io_signature.h&gt;</span></div><div><span \
style="color: #c586c0;">#include</span><span style="color: #569cd6;"> </span><span \
style="color: #ce9178;">&lt;gnuradio/math.h&gt;</span></div><div><span style="color: \
#c586c0;">#include</span><span style="color: #569cd6;"> </span><span style="color: \
#ce9178;">&lt;volk/volk.h&gt;</span></div></div>  <p>and in impl.h i have</p>
      <div style="color: #ffffff;background-color: #000000;font-family: 'Droid Sans \
Mono', 'monospace', monospace;font-weight: normal;font-size: 14px;line-height: \
19px;white-space: pre;"><div><span style="color: #c586c0;">#include</span><span \
style="color: #569cd6;"> </span><span style="color: \
#ce9178;">&lt;gnuradio/filter/fft_filter.h&gt;</span></div></div>  <p>Thank You in \
advance!<br>  Niko<br>
      </p>
    </blockquote>
  </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic