discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: katutxakurra
Subject: Re: [Discuss-gnuradio] Error building gr-burst in Ubuntu 16.04 and Volk 1.2.1
Date: Sat, 29 Apr 2017 07:53:45 +0000 (UTC)

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" <address@hidden> 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 <address@hidden> 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.

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.
address@hidden ~/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
address@hidden
https://lists.gnu.org/mailman/ listinfo/discuss-gnuradio





reply via email to

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