[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Undefined reference to `gr::blocks::vector_source
From: |
mohamedx |
Subject: |
Re: [Discuss-gnuradio] Undefined reference to `gr::blocks::vector_source_b::make()' |
Date: |
Wed, 22 Apr 2015 06:19:34 -0700 (MST) |
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.