Hi Balaji - Please "reply all" to keep the GR discussion list in the loop. Your OS / compiler can support C++11. Did you create the file "gr-baz-build-log.txt" and post it somewhere? That's the key! - MLD
On Thu, Apr 4, 2019, at 2:32 AM, Balaji Kolla wrote: > Hi Michael, > here is the output of commands. > [lekha@Lekha-01:build]$gnuradio-config-info -v --cflags --cc --cxx > v3.7.9.2-216-g681846ff > cc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 > Copyright (C) 2013 Free Software Foundation, Inc. > This is free software see the source for copying conditions. There is NO > warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > c++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 > Copyright (C) 2013 Free Software Foundation, Inc. > This is free software see the source for copying conditions. There is NO > warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > /usr/bin/cc:::-O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall > -Wno-uninitialized > /usr/bin/c++:::-O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall > -Wno-uninitialized > [lekha@Lekha-01:build]$ > > > > On Tue, Apr 2, 2019 at 4:56 PM Michael Dickens <[email protected]> > wrote: >> __ >> 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;* >> > > > -- > Thanks & Regards > Balaji Rao Kolla
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
