discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gr-radar make problem


From: Stefan Wunsch
Subject: Re: [Discuss-gnuradio] gr-radar make problem
Date: Wed, 30 Mar 2016 19:46:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1

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: address@hidden <mailto:address@hidden>,
> address@hidden <mailto:address@hidden>
> Homepage: Linkedin <https://ir.linkedin.com/in/mostafa-alizadeh-50a70169>
> 
> ***********************************************************
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]