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:
> HI Michael,
> Thank you for your response. 
> 
> *I am using the following OS and a version*
> [*lekha@Lekha-01:~]$cat /etc/os-release 
> NAME="Ubuntu"
> VERSION="14.04.4 LTS, Trusty Tahr"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 14.04.4 LTS"
> VERSION_ID="14.04"
> HOME_URL="http://www.ubuntu.com/";
> SUPPORT_URL="http://help.ubuntu.com/";
> BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";
*
> *Here is the output of cmake and make
> 
> [lekha@Lekha-01: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
> [lekha@Lekha-01: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;*
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to