[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] error while building 3.7.3 on RHEL6
From: |
Marcus Müller |
Subject: |
Re: [Discuss-gnuradio] error while building 3.7.3 on RHEL6 |
Date: |
Fri, 09 May 2014 12:02:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
Hi Nemanja,
that issue has been fixed in more recent GR versions (it was a
incompatibility with old Boost versions).
If you do not wish to update GNU Radio, just replace
boost::random::mt19937 by boost::mt19937 in message_strobe_random_impl.
Greetings,
Marcus
PS: Googling for "error: ‘mt19937’ in namespace ‘boost::random’ does not
name a type" turns up my previous posts about the issue. This is really
just a friendly reminder that you should make sure that your questions
have not yet been answered before posting to the list, since this is
more often than not even faster than asking :)
On 09.05.2014 11:12, Nemanja Savic wrote:
> Hi all guys,
>
> I have again prob;lem building new version of gnuradio on my RHEL6 machine.
> The error is following:
>
> [ 26%] Building CXX object
> gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/message_strobe_random_impl.cc.o
> In file included from
> /home/savi_ne/tools/gnuradio-3.7.3/gr-blocks/lib/message_strobe_random_impl.cc:27:
> /home/savi_ne/tools/gnuradio-3.7.3/gr-blocks/lib/message_strobe_random_impl.h:48:
> error: ‘mt19937’ in namespace ‘boost::random’ does not name a type
> /home/savi_ne/tools/gnuradio-3.7.3/gr-blocks/lib/message_strobe_random_impl.cc:
> In constructor
> ‘gr::blocks::message_strobe_random_impl::message_strobe_random_impl(pmt::pmt_t,
> gr::blocks::message_strobe_random_distribution_t, float, float)’:
> /home/savi_ne/tools/gnuradio-3.7.3/gr-blocks/lib/message_strobe_random_impl.cc:57:
> error: class ‘gr::blocks::message_strobe_random_impl’ does not have any
> field named ‘d_rng’
> /home/savi_ne/tools/gnuradio-3.7.3/gr-blocks/lib/message_strobe_random_impl.cc:
> In member function ‘void
> gr::blocks::message_strobe_random_impl::update_dist()’:
> /home/savi_ne/tools/gnuradio-3.7.3/gr-blocks/lib/message_strobe_random_impl.cc:89:
> error: ‘d_rng’ was not declared in this scope
> make[2]: ***
> [gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/message_strobe_random_impl.cc.o]
> Error 1
> make[1]: *** [gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/all] Error 2
>
> Has anybody had this error before?
>
> Best,
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
- [Discuss-gnuradio] error while building 3.7.3 on RHEL6, Nemanja Savic, 2014/05/09
- Re: [Discuss-gnuradio] error while building 3.7.3 on RHEL6,
Marcus Müller <=
- Re: [Discuss-gnuradio] error while building 3.7.3 on RHEL6, Nemanja Savic, 2014/05/09
- Re: [Discuss-gnuradio] error while building 3.7.3 on RHEL6, Nemanja Savic, 2014/05/09
- Re: [Discuss-gnuradio] error while building 3.7.3 on RHEL6, Tom Rondeau, 2014/05/09
- Re: [Discuss-gnuradio] error while building 3.7.3 on RHEL6, Nemanja Savic, 2014/05/09
- Re: [Discuss-gnuradio] error while building 3.7.3 on RHEL6, Tom Rondeau, 2014/05/09
- Re: [Discuss-gnuradio] error while building 3.7.3 on RHEL6, Nemanja Savic, 2014/05/09
- Re: [Discuss-gnuradio] error while building 3.7.3 on RHEL6, Tom Rondeau, 2014/05/09
- Re: [Discuss-gnuradio] error while building 3.7.3 on RHEL6, Nemanja Savic, 2014/05/09
- Re: [Discuss-gnuradio] error while building 3.7.3 on RHEL6, Tom Rondeau, 2014/05/09
- Re: [Discuss-gnuradio] error while building 3.7.3 on RHEL6, Nemanja Savic, 2014/05/09