[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Error during compilation of GR-baz
From: |
Michael Dickens |
Subject: |
Re: [Discuss-gnuradio] Error during compilation of GR-baz |
Date: |
Tue, 02 Apr 2019 07:25:59 -0400 |
User-agent: |
Cyrus-JMAP/3.1.6-329-gf4aae99-fmstable-20190329v1 |
Hi Balaji - For this sort of debugging, please "reply to all" including the GR list: more eyes might find your issue faster than just mine along!
I see you're on "Ubuntu 14.04.4 LTS". I'm thinking that's a little dated by now ... any way you can use a more recent Ubuntu version?
What does the following return:
{{{
gnuradio-config-info -v --cflags --cc --cxx
}}}
Then, from the gr-baz "build" directory do:
{{{
rm -rf *
cmake ..
make VERBOSE=ON > gr-baz-build-log.txt 2>&1
}}}
and then post the file "gr-baz-build-log.txt" on < pastebin.com > or the equivalent & send us the link to it here.
I'm guessing the issue is that C++11 isn't being enabled during the build, maybe because the compiler doesn't support or because gr-baz doesn't explicitly tell CMake to do so. - MLD
On Tue, Apr 2, 2019, at 1:02 AM, Balaji Kolla wrote:
Thank you for your response.
I am using the following OS and a version
Here is the output of cmake and make
address@hidden:build]$cmake ..
-- Build type not specified: defaulting to release.
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- system
-- thread
Checking for GNU Radio Module: RUNTIME
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: BLOCKS
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_BLOCKS_FOUND = TRUE
Checking for GNU Radio Module: DIGITAL
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-digital.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_DIGITAL_FOUND = TRUE
Checking for GNU Radio Module: FILTER
* 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
GNURADIO_FILTER_FOUND = TRUE
Checking for GNU Radio Module: PMT
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_PMT_FOUND = TRUE
-- UHD found - compiling UHD-aware blocks
-- libusb found - compiling RTL2832U source block
-- Armadillo found - compiling MUSIC DOA estimator block
-- SDL found - compiling SDL sink block
-- Could NOT find SDL_ttf (missing: SDL_TTF_LIBRARIES SDL_TTF_INCLUDE_DIRS)
-- SDL TTF NOT found! SDL sink block will not have text
--
-- Checking for module SWIG
-- Found SWIG version 2.0.11.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lekha/sources/gr-baz/build
address@hidden:build]$make
[ 1%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_file_source.cc.o
/home/lekha/sources/gr-baz/lib/baz_file_source.cc:107:15: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
typedef std::shared_ptr<InputFile> sptr;