[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Undefined reference to `gr::blocks::vector_source
From: |
Marcus Müller |
Subject: |
Re: [Discuss-gnuradio] Undefined reference to `gr::blocks::vector_source_b::make()' |
Date: |
Wed, 22 Apr 2015 15:57:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
do you use
set(GR_REQUIRED_COMPONENTS RUNTIME FFT BLOCKS)
(or any other permutation) in your main CMakeLists.txt?
Greetings,
Marcus
On 04/22/2015 03:19 PM, mohamedx wrote:
> Thanks Martin, you're right, it's about linking gnuradio-blocks libraries.
> To make it easy, I've regenerated my project (for Eclipse CDT4), and when I
> took the time to read what cmake outputs, I found that he actually didn't
> check for gnuradio-blocks, though he successfully found the others: runtime,
> filter and fft:
>
> Checking for GNU Radio Module: RUNTIME
> -- checking for module 'gnuradio-runtime'
> -- found gnuradio-runtime, version 3.7.5
> * INCLUDES=/usr/local/include
> *
> LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
> -- Found GNURADIO_RUNTIME:
> /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
> GNURADIO_RUNTIME_FOUND = TRUE
> Checking for GNU Radio Module: FFT
> -- checking for module 'gnuradio-fft'
> -- found gnuradio-fft, version 3.7.5
> * INCLUDES=/usr/local/include
> *
> LIBS=/usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
> -- Found GNURADIO_FFT:
> /usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
>
> GNURADIO_FFT_FOUND = TRUE
> Checking for GNU Radio Module: FILTER
> -- checking for module 'gnuradio-filter'
> -- found gnuradio-filter, version 3.7.5
> * INCLUDES=/usr/local/include
> *
> LIBS=/usr/local/lib/libgnuradio-filter.so;/usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
> -- Found GNURADIO_FILTER:
> /usr/local/lib/libgnuradio-filter.so;/usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
>
> GNURADIO_FILTER_FOUND = TRUE
> --
>
> I really don't know what I've missed ? I maybe need to review my cmake files
> once again.
>
> Mohamed
>
>
>
>
>
> --
> View this message in context:
> http://gnuradio.4.n7.nabble.com/Undefined-reference-to-gr-blocks-vector-source-b-make-tp53327p53418.html
> Sent from the GnuRadio mailing list archive at Nabble.com.
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio