AnsweredAssumed Answered

Cross-compiling new GNU Radio on ZC706

Question asked by zacharyr on Jul 6, 2016
Latest reply on Jul 8, 2016 by pcercuei



I am trying to install a newer version of GNU Radio on my ZC706 device than what came with the compiled SD image 2015_R2. The GNU Radio version that came with 2015_R2 is 3.7.8, but I need 3.7.9 installed on my ZC706.


I have performed the following steps to try to update the built-in GNU Radio:

1. I first uninstalled the built-in GNU Radio by running a shell script (PREFIX=/usr instead of /usr/local):

2. I then followed the steps on the GNU Radio website to cross-compile GNU Radio:

3. The cross-compiled GNU Radio installed successfully using the make install DESTDIR=~/mydevice command.


The problem is when I run gnuradio-companion on the ZC706, I receive the error:

     Cannot import gnuradio.


     Is the python path environment variable set correctly?



     Is the library path environment variable set correctly?


     Windows: PATH



I set my environment variables in .bashrc as the following:

export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/site-packages/:/usr/lib/python2.7/dist-packages/:/usr/bin/X11/:/usr/local/lib/python2.7/dist-packages/


export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig

export PATH=$PATH:/usr/bin


I am thinking the built-in GNU Radio was configured differently in a way that my uninstall script did not properly remove GNU Radio before I installed the new one, is there any way to fix this?