Re: [Discuss-gnuradio] Issue while installing GR 3.7
I'm on CentOS 6.5 and just hit this same issue -- the default version of boost for this rev of the OS is 1.41.0-18.el6 -- it does appear to be there, but I get the same error as the original poster did (I used the sbrac.org build-gnuradio script). From the header (/usr/include/boost/random/mersenne_twister.hpp): /typedef random::mersenne_twister mt19937;/ In file included from /usr/local/src/gnuradio/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:27: /usr/local/src/gnuradio/gnuradio/gr-blocks/lib/message_strobe_random_impl.h:48: error: ‘mt19937’ in namespace ‘boost::random’ does not name a type -- View this message in context: http://gnuradio.4.n7.nabble.com/Issue-while-installing-GR-3-7-tp46435p47304.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Issue while installing GR 3.7
Thanks Marcus, Actually the boost version I have is 1.54.0. Is this ok ? -- View this message in context: http://gnuradio.4.n7.nabble.com/Issue-while-installing-GR-3-7-tp46435p46451.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Issue while installing GR 3.7
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 mt19937 refers to the standard mersenne twister random number generator used in boost; so this is your compiler complaining about boost::random not having that. Which version of boost does your centos machine have? Greetings Marcus On 20.02.2014 22:59, Ruecan wrote: > Hello GR, > > While building GR 3.7 (clone it from > https://github.com/gnuradio/gnuradio) on a Centos machine I got > this error. > > In file included from > /raid/nae/gnuradio-3.7/gr-blocks/lib/message_strobe_random_impl.cc:27: > > /raid/nae/gnuradio-3.7/gr-blocks/lib/message_strobe_random_impl.h:48: error: > ‘mt19937’ in namespace ‘boost::random’ does not name a type > /raid/nae/gnuradio-3.7/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)’: > /raid/nae/gnuradio-3.7/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’ > /raid/nae/gnuradio-3.7/gr-blocks/lib/message_strobe_random_impl.cc: > In member function ‘void > gr::blocks::message_strobe_random_impl::update_dist()’: > /raid/nae/gnuradio-3.7/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 make: *** [all] Error 2 > > I did not figured out how to solve this issue . Any hints will be > appreciated. > > Regards, > > > > -- View this message in context: > http://gnuradio.4.n7.nabble.com/Issue-while-installing-GR-3-7-tp46435.html > > Sent from the GnuRadio mailing list archive at Nabble.com. > > ___ Discuss-gnuradio > mailing list Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTBoF2AAoJEAFxB7BbsDrLph4IAIZNzm1pWVh71uGVbZOmebbB xPEApwWsQCDyCUOaPGkUagximKQ2YJ3Ygacz1LxnXgUnlGUaA386OO8x0pYtpT20 me92586ElkQpQsAZUtkGivv3WDBb7bADXFWETXbztcB756Qomdv3ozPSS67eJ17z 9DfGg1Gto2d40AYOKEm2ddRCyKMmxV35nms8sD0peSRm3soQF6xmhmba7+uwv4oY VaRikxOMeHYo5k/jJv8FexKZeEIicOUFuxthynn3BR77Kady9YO3NcNRjPEdmb8Z nG6+UlwbUMXv05C++tsiJbW+OxdOZQkO52ywk8jFLrXiAGhvvyGYbUx+G1tncGY= =eQjh -END PGP SIGNATURE- ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Issue while installing GR 3.7
Hello GR, While building GR 3.7 (clone it from https://github.com/gnuradio/gnuradio) on a Centos machine I got this error. In file included from /raid/nae/gnuradio-3.7/gr-blocks/lib/message_strobe_random_impl.cc:27: /raid/nae/gnuradio-3.7/gr-blocks/lib/message_strobe_random_impl.h:48: error: ‘mt19937’ in namespace ‘boost::random’ does not name a type /raid/nae/gnuradio-3.7/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)’: /raid/nae/gnuradio-3.7/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’ /raid/nae/gnuradio-3.7/gr-blocks/lib/message_strobe_random_impl.cc: In member function ‘void gr::blocks::message_strobe_random_impl::update_dist()’: /raid/nae/gnuradio-3.7/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 make: *** [all] Error 2 I did not figured out how to solve this issue . Any hints will be appreciated. Regards, -- View this message in context: http://gnuradio.4.n7.nabble.com/Issue-while-installing-GR-3-7-tp46435.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio