GNURADIO and WINDOWS

INSTRUCTIONS how to install GNU RADIO 3.6.4.1 on Windows 7 (32 bit)
Most probably, these will work for Windows XP and 8 (32 bit) as well.

I wanted to install GNU Radio 3.6.4.1 on Windows 7 and found some excellent instructions here (click) . User Bhaskar11 uploaded them and below I have just recompiled the instructions based on my experience. Following these instructions GNU Radio worked on my Win7 machine.

Note: I could not get QT GUI blocks working , but this is not a problem for my needs, since WX GUI blocks work fine including FFT, Waterfall, Scope etc.

I have gathered all necessary packages required to install GNU Radio 3.6.4.1  in one place and created a zip folder “stuff_gnuradio” and uploaded it to Dropbox. You just need to download it from there , unzip it to C:\stuff_gnuradio and follow the instructions.

Download “stuff_gnuradio” folder (177MB)

INSTRUCTIONS how to install GNU-RADIO 3.6.4.1 on Windows 7 (32 bit).
Most probably, these will work for Windows XP and 8 (32 bit) as well.

GNU Radio will be installed to C:\gnuradio and the UHD USRP driver to C:\UHD.

Follow the …21 steps below 🙂
1.

Read carefully the provided html file:
“[Discuss-gnuradio] Successful installation of GNURadio 3.6.4.1 on Window”
All the instructions below come from this link 

All credits go to user Bhaskar11 !

I have just recompiled his instructions based on my experience on Win7 and created a zip folder with all the necessary files in one place.

2.

Ensure your Internet connection is up and running

3.

If not already done, download all the necessary files (stuff_gnuradio.zip) from Dropbox and unzip this folder to C:\stuff_gnuradio

4.

Ensure that you have administrative privileges

5.

Go to the stuff_gnuradio folder, double click “vcredist_x86” and install C++ 2010 redistributable package, only  if required.
If it says a copy is already installed and offers to repair it, accept to repair.
If it says a later version is already installed, then accept to close.

6.

Double click “python-2.7.3”, select install for all users and keep the default settings.

7.

Double click “lxml-3.0.2.win32-py2.7” and keep the default settings.

8.

Double click “numpy-1.7.1-win32-superpack-python2.7” and keep the default settings.

9.

Double click “PyQt-Py2.7-x86-gpl-4.9.6-1” and keep the default settings.

10.

Double click “PyQwt-5.2.1-py2.7-x32-pyqt4.9.6-numpy1.7.1” and keep the default settings

11.

At this point you need to install pip.

Open a command terminal (cmd) and change directory to the “stuff_gnuradio” folder:
cd C:\stuff_gnuradio
Then type:
python get-pip.py
If this does not work, you need to add python to your system path.
To do so, add the following paths to your “Path” in the “System variables” :
C:\Python27\;C:\Python27\Scripts;
Close the command terminal you opened before and open a new one.
Type again :
cd C:\stuff_gnuradio
Then type
python get-pip.py
Now the installation of pip should start.

12.

Install the Cheetah whl file by typing

pip install Cheetah-2.4.4-cp27-none-win32.whl

By the way , pip must be recognized as a command . If not,you need to add  C:\Python27\Scripts to your “Path” in the “System variables” as mentioned above.

13.

Install the PyOpenGL whl file by typing:

pip install PyOpenGL-3.1.1b1-cp27-none-win32.whl

14.

Double click “pygtk-all-in-one-2.24.2.win32-py2.7” and keep the default settings.

15.

Double click “wxPython-2.8.12.1.win32-py2.7” and keep the default settings.
On Windows 7 and 8 you may get:
Runtime error R6034 “An application has made an attempt to load the C runtime library incorrectly.
Please contact the application’s support team for more information.”
Ignore the message and continue.

16.

Double click “wxPython-common-2.8.12.1.win32-py2.7”

On Windows 7 and 8 you may get:
Runtime error R6034 “An application has made an attempt to load the C runtime library incorrectly.
Please contact the application’s support team for more information.”
Ignore the message and continue.

17.

If you have a USRP install the drivers now by double-clicking

“uhd_003.005.004-release_Win32”

This is not the latest UHD driver.
I tried the latest but could not get connected to my USRP1.

Select the option to “Add gnuradio to the system path for all users”.
Change installation directory to C:\UHD.
All other settings  default.
Double check that your system path includes C:\UHD\bin; If not,add it.

When you plug in the USRP1 for the first time, point it to this directory:
erllc_uhd_winusb_driver found in the stuff_gnuradio folder.

18.

Double click “gnuradio_3.6.4.1_Win32”
Select the option to “Add gnuradio to the system path for all users”.
Change installation directory to C:\gnuradio.
On Windows 8 you may receive “Warning! PATH too long installer unable to modify PATH!” which seems to be a NSIS
installer problem when it finds the total path to be longer than 1024.
If you receive this message then you must manually add the installation bin directory to the system path.

Double check that your system path includes C:\gnuradio\bin; If not,add it.

19.

Manually add the PYTHONPATH environment variable.
Create a new environmental variable “PYTHONPATH”
Since we have installed gnuradio to C:\gnuradio , its value should be:
C:\gnuradio\lib\site-packages;

20.

Check that the GRC_BLOCKS_PATH environment variable has been set to by GNURadio installer.
Normally this should happen automatically.
If it has not been set, then first create a system variable GRC_BLOCKS_PATH and then set its value manually:
C:\gnuradio\share\gnuradio\grc\blocks;

21.

You are done! Close all open command windows, open a new one and type

gnuradio-companion.py

This will open GNU Radio!
Open TEST_GRC.grc file , hit F5( Generate) ,then hit F6(Execute) .

You can also use the provided “gnuradio.bat” file and create a shortcut to easily launch GNU Radio.

Enjoy !

Michael Margaras – SV1CAL

%d bloggers like this: