Hello,
I just have a raspberry pi 2 with raspbian jessie and tried to install the packages needed to run gnuradio with adalm pluto on it. The steps I made was the described in GNU Radio [Analog Devices Wiki] and after be able to install libiio (installing flex and bison was needed) and libad9361 the gr-iio give me this errors runnning the make command:
[ 2%] Building CXX object lib/CMakeFiles/gnuradio-iio.dir/iio_power_ff_impl.cc.o
/home/pi/pluto/gr-iio/lib/iio_power_ff_impl.cc: In member function ‘virtual int gr::iio::power_ff_impl::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/pi/pluto/gr-iio/lib/iio_power_ff_impl.cc:58:60: error: ‘volk_32f_x2_pow_32f’ was not declared in this scope
volk_32f_x2_pow_32f(out, (float*)input_items[i], out, noi);
^
lib/CMakeFiles/gnuradio-iio.dir/build.make:337: recipe for target 'lib/CMakeFiles/gnuradio-iio.dir/iio_power_ff_impl.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-iio.dir/iio_power_ff_impl.cc.o] Error 1
CMakeFiles/Makefile2:135: recipe for target 'lib/CMakeFiles/gnuradio-iio.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-iio.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
looking for this error in analog forum I found this Pybomb Errors During gr-iio Install but not works for me or maybe Is not correct for the raspberry pi enviroment.
Any ideas?
thanks,
regards.
gr-iio requires volk, which is a dependency of gnuradio. I'm not really sure what happens on RPi with pybombs but you could possibly try installing volk libraries globally.
-Travis
hi travisfcollins thanks for reply,
for now tried to:
1)
try to run the command sudo pybombs install gr-iio to see what happends. this is the output:
PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
PyBOMBS.get_recipe - ERROR - Error fetching recipe `gr-iio':
Package gr-iio has no recipe file!
2) install volk from git repository GitHub - gnuradio/volk: The Vector Optimized Library of Kernels but still have same error so seems the the gr-iio is not finding the volk installation.
i will continue to try to find a solution.
thanks a lot.
Do you have the gr-recipes added to your pybombs installation? You can do so by running:
pybombs recipes add gr-recipes https://github.com/gnuradio/gr-recipes.git
-Travis
Using the default gnuradio and gnuradio-dev packages for raspbian should be fine for gr-iio and give you the necessary dependent packages except libiio, libad9361, bison, and flex. You will have to install them manually.
Everything worked fine for me after doing so with kernel:
Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
-Travis