Thanks all, I actually have Ubuntu 14.04, so there is not libboost 1.60 in its repository. What should I do?
Best, Mostafa *********************************************************** Tehran IRAN Tel: +98 (919) 158-7730 Emails: m.alizade...@gmail.com, m.alizade...@aut.ac.ir Homepage: Linkedin <https://ir.linkedin.com/in/mostafa-alizadeh-50a70169> *********************************************************** On Wed, Mar 30, 2016 at 10:16 PM, Stefan Wunsch < stefan.wun...@student.kit.edu> wrote: > Hi, > > Sebastian is right, it's most likely a dependency problem. I've tested > the source from git and it compiles fine with following dependencies: > > - gnuradio 3.7.9.1 > - uhd 3.9.2 > - boost 1.60.0 > > First check boost, old versions don't have the strerror function. If > boost is the problem, I should really fix the cmake so that it checks > the boost version. > > Greetings > Stefan > > On 03/30/2016 09:57 AM, Mostafa Alizadeh wrote: > > Hi all, > > > > I tried to build gr-radar <https://github.com/kit-cel/gr-radar> master > > branch but I got the error: > > > > > > /home/mostafa/RADAR/gr-radar-master/lib/usrp_echotimer_cc_impl.cc: In > > member function ‘void gr::radar::usrp_echotimer_cc_impl::receive()’: > > > /home/mostafa/RADAR/gr-radar-master/lib/usrp_echotimer_cc_impl.cc:232:16: > error: > > ‘class uhd::rx_streamer’ has no member named ‘issue_stream_cmd’ > > d_rx_stream->issue_stream_cmd(stream_cmd); > > ^ > > > /home/mostafa/RADAR/gr-radar-master/lib/usrp_echotimer_cc_impl.cc:245:84: > error: > > ‘struct uhd::rx_metadata_t’ has no member named ‘strerror’ > > throw std::runtime_error(str(boost::format("Receiver error %s") % > > d_metadata_rx.strerror())); > > > > ^ > > > */home/mostafa/RADAR/gr-radar-master/lib/usrp_echotimer_cc_impl.cc:245:94: > > error: ‘str’ was not declared in this scope* > > throw std::runtime_error(str(boost::format("Receiver error %s") % > > d_metadata_rx.strerror())); > > > > ^ > > > /home/mostafa/RADAR/gr-radar-master/lib/usrp_echotimer_cc_impl.cc:245:94: > note: > > suggested alternatives: > > In file included from /usr/include/boost/format.hpp:53:0, > > from /usr/local/include/gnuradio/logger.h:55, > > from /usr/local/include/gnuradio/block.h:29, > > from > /usr/local/include/gnuradio/tagged_stream_block.h:27, > > from > > /home/mostafa/RADAR/gr-radar-master/include/radar/usrp_echotimer_cc.h:25, > > from > > /home/mostafa/RADAR/gr-radar-master/lib/usrp_echotimer_cc_impl.h:24, > > from > > /home/mostafa/RADAR/gr-radar-master/lib/usrp_echotimer_cc_impl.cc:26: > > /usr/include/boost/format/free_funcs.hpp:22:38: note: ‘boost::str’ > > std::basic_string<Ch, Tr, Alloc> str(const basic_format<Ch, Tr, > > Alloc>& f) { > > ^ > > /usr/include/boost/format/free_funcs.hpp:22:38: note: *‘boost::str’* > > make[2]: *** > > [lib/CMakeFiles/gnuradio-radar.dir/usrp_echotimer_cc_impl.cc.o] Error 1 > > make[1]: *** [lib/CMakeFiles/gnuradio-radar.dir/all] Error 2 > > make: *** [all] Error 2 > > > > > > *This is due to "boost::str" which is not declared! * > > > > What could I do? > > > > Best, > > Mostafa > > > > > > > > *********************************************************** > > Tehran > > IRAN > > Tel: +98 (919) 158-7730 > > Emails: m.alizade...@gmail.com <mailto:m.alizade...@gmail.com>, > > m.alizade...@aut.ac.ir <mailto:m.alizade...@aut.ac.ir> > > Homepage: Linkedin <https://ir.linkedin.com/in/mostafa-alizadeh-50a70169 > > > > > > *********************************************************** > > > > > > _______________________________________________ > > Discuss-gnuradio mailing list > > Discuss-gnuradio@gnu.org > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio