Re: [Discuss-gnuradio] Error building gr-burst in Ubuntu 16.04 and Volk 1.2.1

2017-04-29 Thread katutxakurra
Thanks Nathan. I upgraded to Volk 1.3 with apt and, as you said, the problem 
was solved.
 

El Viernes 28 de abril de 2017 17:59, "West, Nathan" 
 escribió:
 

 This was fixed a while ago. Use VOLK version 1.2.3 or 1.3.
On Fri, Apr 28, 2017 at 8:34 AM, katutxakurra  wrote:

Hi,I'm trying to compile gr-burst and I'm getting an error. I've opened an 
issue in Github but I'm hoping to get a wider audience 
here.https://github.com/gr-vt/gr- burst
I'm using Ubuntu 16.04 with GNURadio 3.7.9, Volk 1.2.1, SWIG 3.0.8 and libgsl2 
2.1.
I have installed python-bitarray and build/install gr-mapper.In gr-burst, I made
cmake CMakeLists.txtThere are some warnings about policies and not finding 
gsl-config.user@pc ~/s/g/gr-burst> make
[ 4%] Building CXX object lib/CMakeFiles/gnuradio-burst. 
dir/interp_cpdu_impl.cc.o
[ 8%] Building CXX object lib/CMakeFiles/gnuradio-burst. 
dir/correlator_filter_impl.cc. o
[ 12%] Building CXX object lib/CMakeFiles/gnuradio-burst. 
dir/length_detect_c_impl.cc.o
/home/usr/src/gnuradio/gr- burst/lib/length_detect_c_ impl.cc: In member 
function ‘void gr::burst::length_detect_c_ impl::handler(pmt::pmt_t)’:
/home/user/src/gnuradio/gr- burst/lib/length_detect_c_ impl.cc:105:67: error: 
cannot convert ‘uint16_t* {aka short unsigned int*}’ to ‘unsigned int*’ in 
argument passing
volk_32f_index_max_16u(&max_ idx, &magavg[0], magavg.size());
^
lib/CMakeFiles/gnuradio-burst. dir/build.make:110: recipe for target 
'lib/CMakeFiles/gnuradio- burst.dir/length_detect_c_ impl.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio- burst.dir/length_detect_c_ impl.cc.o] 
Error 1
CMakeFiles/Makefile2:137: recipe for target 'lib/CMakeFiles/gnuradio- 
burst.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio- burst.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2It looks like the error is with Volk and similar to the 
one described here
git-artes/gr-isdbt#18
Does anyone know how could I fix or work around this problem?

__ _
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


Re: [Discuss-gnuradio] Error building gr-burst in Ubuntu 16.04 and Volk 1.2.1

2017-04-28 Thread West, Nathan
This was fixed a while ago. Use VOLK version 1.2.3 or 1.3.

On Fri, Apr 28, 2017 at 8:34 AM, katutxakurra  wrote:

> Hi,
> I'm trying to compile gr-burst and I'm getting an error. I've opened an
> issue in Github but I'm hoping to get a wider audience here.
> https://github.com/gr-vt/gr-burst
>
> I'm using Ubuntu 16.04 with GNURadio 3.7.9, Volk 1.2.1, SWIG 3.0.8 and
> libgsl2 2.1.
> I have installed python-bitarray and build/install gr-mapper.
> In gr-burst, I made
> cmake CMakeLists.txt
> There are some warnings about policies and not finding gsl-config.
> user@pc ~/s/g/gr-burst> make
> [ 4%] Building CXX object lib/CMakeFiles/gnuradio-burst.
> dir/interp_cpdu_impl.cc.o
> [ 8%] Building CXX object lib/CMakeFiles/gnuradio-burst.
> dir/correlator_filter_impl.cc.o
> [ 12%] Building CXX object lib/CMakeFiles/gnuradio-burst.
> dir/length_detect_c_impl.cc.o
> /home/usr/src/gnuradio/gr-burst/lib/length_detect_c_impl.cc: In member
> function ‘void gr::burst::length_detect_c_impl::handler(pmt::pmt_t)’:
> /home/user/src/gnuradio/gr-burst/lib/length_detect_c_impl.cc:105:67:
> error: cannot convert ‘uint16_t* {aka short unsigned int*}’ to ‘unsigned
> int*’ in argument passing
> volk_32f_index_max_16u(&max_idx, &magavg[0], magavg.size());
> ^
> lib/CMakeFiles/gnuradio-burst.dir/build.make:110: recipe for target
> 'lib/CMakeFiles/gnuradio-burst.dir/length_detect_c_impl.cc.o' failed
> make[2]: *** [lib/CMakeFiles/gnuradio-burst.dir/length_detect_c_impl.cc.o]
> Error 1
> CMakeFiles/Makefile2:137: recipe for target 
> 'lib/CMakeFiles/gnuradio-burst.dir/all'
> failed
> make[1]: *** [lib/CMakeFiles/gnuradio-burst.dir/all] Error 2
> Makefile:138: recipe for target 'all' failed
> make: *** [all] Error 2
> It looks like the error is with Volk and similar to the one described here
> git-artes/gr-isdbt#18 
>
> Does anyone know how could I fix or work around this problem?
>
>
> ___
> 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


[Discuss-gnuradio] Error building gr-burst in Ubuntu 16.04 and Volk 1.2.1

2017-04-28 Thread katutxakurra
Hi,I'm trying to compile gr-burst and I'm getting an error. I've opened an 
issue in Github but I'm hoping to get a wider audience 
here.https://github.com/gr-vt/gr-burst
I'm using Ubuntu 16.04 with GNURadio 3.7.9, Volk 1.2.1, SWIG 3.0.8 and libgsl2 
2.1.
I have installed python-bitarray and build/install gr-mapper.In gr-burst, I made
cmake CMakeLists.txtThere are some warnings about policies and not finding 
gsl-config.user@pc ~/s/g/gr-burst> make
[ 4%] Building CXX object 
lib/CMakeFiles/gnuradio-burst.dir/interp_cpdu_impl.cc.o
[ 8%] Building CXX object 
lib/CMakeFiles/gnuradio-burst.dir/correlator_filter_impl.cc.o
[ 12%] Building CXX object 
lib/CMakeFiles/gnuradio-burst.dir/length_detect_c_impl.cc.o
/home/usr/src/gnuradio/gr-burst/lib/length_detect_c_impl.cc: In member function 
‘void gr::burst::length_detect_c_impl::handler(pmt::pmt_t)’:
/home/user/src/gnuradio/gr-burst/lib/length_detect_c_impl.cc:105:67: error: 
cannot convert ‘uint16_t* {aka short unsigned int*}’ to ‘unsigned int*’ in 
argument passing
volk_32f_index_max_16u(&max_idx, &magavg[0], magavg.size());
^
lib/CMakeFiles/gnuradio-burst.dir/build.make:110: recipe for target 
'lib/CMakeFiles/gnuradio-burst.dir/length_detect_c_impl.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-burst.dir/length_detect_c_impl.cc.o] 
Error 1
CMakeFiles/Makefile2:137: recipe for target 
'lib/CMakeFiles/gnuradio-burst.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-burst.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2It looks like the error is with Volk and similar to the 
one described here
git-artes/gr-isdbt#18
Does anyone know how could I fix or work around this problem?
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio