Forum: GNU Radio Successful installation of GNURadio 3.6.4.1 on Window XP and Windows 8

Ce63a5d1b3673f18d33a7ef8870b8bc1?d=identicon&s=25 Bhaskar11 (Guest)
on 2013-12-26 17:11
(Received via mailing list)
*After much experimentation I have finally found a way to successfully
install and fully run GRC 3.6.4.1 both under Windows XP and Windows 8.*
I
presume it should therefore work equally well under Vista and 7.

First a few comments on the common causes of problems that most people
have
had:

a. It is critical to have the correct *matching* and *complete* versions
of
the various required libraries. Most installations instructions online
fail
because of this reason. The Ettus installation instructions officially
recommended on GNURadio website and provided
here<http://code.ettus.com/redmine/ettus/projects/uhd/w...
fail
now because many of the original binary versions referred to are no
longer
available. Hence those instructions are now outdated and should be
replaced
by the instructions provided in this email.

b. Although it is possible to successfully install GNURadio binaries for
versions 3.7.x, none of them include runtime DLLs for WX GUI blocks.
Hence
these blocks are not displayed, and so most of the example files
available
cannot be used as they need WX GUI blocks. Moreover, some of the QT GUI
blocks do not work in certain versions. Since I do not know how to make
these binaries, I request those who have created these version 3.7.x
Windows binaries to repack them so that we can run the latest versions
of
GNURadio in Windows. Until that is done, there is no point trying to
install those versions.

c. Only GNURadio version 3.6.x binaries have WX GUI blocks. But versions
3.6.2 does not allow moving the blocks. Only 3.6.4.1 is usable, and
works
perfectly well for all available examples tested so far including all QT
GUI and WX GUI blocks.

d. The required Python libraries versions are available only for Python
version 2.7.3 and are NOT all available for versions 2.7.6 or above, or
at
least I could not find them online. Hence we have to use libraries
compatible only with Python 2.7.3.

e. Some library versions have their quirks or bugs. For example PyGTK
2.24.0 does not allow you to add blocks in GRC. Only version PyGTK
2.24.2
works ok. Also wxPython binary called
"wxPython2.8-win32-unicode-2.8.12.1-py27" just does not work, but the
same
version but different binary called "wxPython-2.8.12.1.win32-py2.7"
works
correctly. Most online instructions do not mention the need for
"wxPython-common" library, which is absolutely necessary. Also some odd
problems such as
this<http://gnuradio.4.n7.nabble.com/Windows-install-gu...
to exist when the correct libraries are matched.

f. In the instructions below I have listed all the correct working
libraries and binaries with links from which to download them. Please
use
only the binaries from these links and install them in the sequence
provided. Other versions or binaries may not work. Keep all default
options
unless otherwise specified here. If you have problems working with the
instructions below, check your binaries, and ensure that you are doing a
clean install.

Finally, please share your experiences with success and failures on this
list so that others may benefit.

*Instructions to install GNURadio in Windows XP and Windows 8:*

1. Uninstall all earlier installations and libraries of GNURadio and
Python
and their add-ons. Ensure that the GNURadio directory and Python
directory
are entirely removed by the uninstalls.
For Windows XP GNURadio default directory is: C:\Program Files\gnuradio
For Windows 8 it is: C:\Program Files (x86)\gnuradio
For all platforms the Python default directory is: C:\Python27
Both the GNURadio and Python directories should be non-existent. If they
still exist, then delete them and reboot. We want as clean an install as
possible.

2. Download "Microsoft Visual C++ 2010 Redistributable Package (x86)"
from
here <http://www.microsoft.com/en-us/download/details.as... and
install "vcredist_x86".
If it says a copy is already installed and offers to repair it, and
accept
to repair. If it says a later version is already installed, then accept
to
close.

3. Download and install "python-2.7.3.msi" from
here<http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi>
.

4. Download and install "lxml-3.0.2.win32-py2.7" from
here<https://pypi.python.org/packages/2.7/l/lxml/lxml-3...
.

5. Download and install "numpy-1.7.1-win32-superpack-python2.7" from
here<http://garr.dl.sourceforge.net/project/numpy/NumPy...
.

6. Download and install "PyQt-Py2.7-x86-gpl-4.9.6-1" from
here<http://kaz.dl.sourceforge.net/project/pyqt/PyQt4/P...
.
(Note: Keep all default options. You do NOT need to change anything.)

7. Download and install "PyQwt-5.2.1-py2.7-x32-pyqt4.9.6-numpy1.7.1"
from
here <http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqwt>.

8. Download and install "Cheetah-2.4.4.win32-py2.7" from
here<http://www.lfd.uci.edu/~gohlke/pythonlibs/#cheetah>
.

9. Download and install "PyOpenGL-3.1.0a1.win32-py2.7" from
here<http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopengl>
.

10. Download and install "pygtk-all-in-one-2.24.2.win32-py2.7" from
here<http://ftp.gnome.org/pub/GNOME/binaries/win32/pygt...
.

11. Download and install "wxPython-2.8.12.1.win32-py2.7" from
here<http://www.lfd.uci.edu/~gohlke/pythonlibs/#wxpython>
.
On Windows 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.

12. Download and install "wxPython-common-2.8.12.1.win32-py2.7" from
here<http://www.lfd.uci.edu/~gohlke/pythonlibs/#wxpython>
.
On Windows 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.

13. Download and install "gnuradio_3.6.4.1_Win32" (stable version)
from
here<http://files.ettus.com/binaries/gnuradio/v3.6.4.1-...
.
Select the option to "Add gnuradio to the system path for all users".

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.
For Windows XP the PATH variable must include: "C:\Program
Files\gnuradio\bin;"
For Windows 8 the PATH must include: "C:\Program Files
(x86)\gnuradio\bin;"
The string can be added to the beginning of the PATH to ensure it gets
priority. In any case manually verify that the Path has been correctly
set
as above whether by the installer or by you.

15. Manually add the PYTHONPATH environment variable.
For Windows XP this is normally: "PYTHONPATH=C:\Program
Files\gnuradio\lib\site-packages"
For Windows 8 this is: "PYTHONPATH=C:\Program Files
(x86)\gnuradio\lib\site-packages"

16. 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 set it manually.
For Windows XP this is: "GRC_BLOCKS_PATH=C:\Program
Files\gnuradio\share\gnuradio\grc\blocks"
For Windows 8 this is: "GRC_BLOCKS_PATH=C:\Program Files
(x86)\gnuradio\share\gnuradio\grc\blocks"

17. Install any other hardware drivers that you need such as UHD, etc.

18. To run, in the command line type:
gnuradio-companion.py

If you like you can create a batch file to run this from a shortcut from
the menu or the desktop.

Hope this guide saves you many hours of wasted time so that you can
fully
enjoy the wonderful GNURadio experience!!

B
C539637020fd56193dd6daec746c4a84?d=identicon&s=25 Tom Rondeau (Guest)
on 2013-12-30 17:00
(Received via mailing list)
Bhaskar,

Thanks for your effort on not only getting GNU Radio working on
Windows but also providing us with the steps you took to get there.
That could be really helpful to a lot of people. I have made a link on
our WindowsInstall wiki to point to your email for other people
looking for help.

Please note, though, that we've tried to make it very clear that
Windows is not a fully supported OS. None of the core developers can
really test and build on Windows, and we rely on patches and feedback
like you've provided from the community. We do our best to keep things
working cross-platform, but as you've experienced, as versions change
(both GNU Radio and it's dependencies), this is a serious project.

Tom
2bf444db9eb21e09279aa2b6557861de?d=identicon&s=25 ibmsorcerer (Guest)
on 2014-01-05 06:17
(Received via mailing list)
Bhaskar,
I followed your instructions for a Windows 7 Ultimate x64 install.

This worked the first try. Thank you!!

I'd been following the same sort of path you did while I was on
vacation,
but was trying to make from source for a x64 implementation. I had
something
close, but couldn't figure out why the WX-GUI part didn't show up.

Now I'll go and uninstall the working version and try to build it from
scratch again. I've downloaded all of the x64 libraries that are the
same as
the working x86 version and will try to build it again. Watch for
another
note on this.
Bruce



--
View this message in context:
http://gnuradio.4.n7.nabble.com/Successful-install...
Sent from the GnuRadio mailing list archive at Nabble.com.
Ce63a5d1b3673f18d33a7ef8870b8bc1?d=identicon&s=25 Bhaskar11 (Guest)
on 2014-01-06 15:20
(Received via mailing list)
Hi Tom,

1. Thanks for adding the link in the WindowsInstall wiki.

I note that the link has been added in the section on "Building on
Windows
with Native Tools" where it is surely relevant for the dependencies that
I
discovered.

But my instructions are intended for installing with pre-built binaries,
and are mainly aimed at users who are *not* able to build natively, and
so
would never look under that section.

For such users it will be very useful if you can add a link in the
"Pre-built Binaries" section right where the link to the Ettus Research
site is made. It can be added as an update or a caveat to the Ettus
instructions link.

2. As an addendum to my main post, I have found that only one UHD driver
works correctly with GRC 3.6.4.1. under Windows XP and Windows 8. And
that
is version 3.5.0 (file name "uhd_003.005.000-release_Win32") available
from
here<http://files.ettus.com/binaries/uhd_stable/release...
.

I will share a more detailed update on the UHD driver compatibility and
error messages in a separate post. But I have included this info here
for
completeness of this thread.

B
C539637020fd56193dd6daec746c4a84?d=identicon&s=25 Tom Rondeau (Guest)
on 2014-01-09 17:41
(Received via mailing list)
On Mon, Jan 6, 2014 at 9:19 AM, Bhaskar11 <niceguy108@gmail.com> wrote:
> never look under that section.
>
> I will share a more detailed update on the UHD driver compatibility and
> error messages in a separate post. But I have included this info here for
> completeness of this thread.
>
> B

Bhaskar,

Once again, thanks for your help. With the gnuradio.org wiki, you
know, anyone can get an account and edit the wiki, so with someone
like you who's actually been through this process, it'd be great if
you could make these changes yourself to help keep us all honest and
up to date!

Thanks!

Tom
Ce63a5d1b3673f18d33a7ef8870b8bc1?d=identicon&s=25 Bhaskar11 (Guest)
on 2014-01-10 09:50
(Received via mailing list)
Hi Tom,

Thanks for the suggestion! I have updated the wiki by adding a link to
the
email thread. :)

But I wonder if it it appropriate to include the instructions directly
in
the wiki? I will be happy to do it and update it as and when I have
anything to add. I just need to know if there is are guidelines for this
sort of thing, or whether I can ask someone who oversees the overall
wiki
content.

B
B4ffbc711addde4c649b1ed526df6157?d=identicon&s=25 Martin Braun (Guest)
on 2014-01-10 20:43
(Received via mailing list)
On 01/10/2014 09:49 AM, Bhaskar11 wrote:
> Hi Tom,
>
> Thanks for the suggestion! I have updated the wiki by adding a link to
> the email thread. :)
>
> But I wonder if it it appropriate to include the instructions directly
> in the wiki? I will be happy to do it and update it as and when I have
> anything to add. I just need to know if there is are guidelines for this
> sort of thing, or whether I can ask someone who oversees the overall
> wiki content.

Bhaskar,

just go ahead. There's no real rules, and after all, you're the one
who's putting in the content, so you get some creative freedom.
We always are happy about new people contributing to the wiki!

Martin
C539637020fd56193dd6daec746c4a84?d=identicon&s=25 Tom Rondeau (Guest)
on 2014-01-10 20:43
(Received via mailing list)
On Fri, Jan 10, 2014 at 3:49 AM, Bhaskar11 <niceguy108@gmail.com> wrote:
> Hi Tom,
>
> Thanks for the suggestion! I have updated the wiki by adding a link to the
> email thread. :)

Great, thanks!

> But I wonder if it it appropriate to include the instructions directly in
> the wiki? I will be happy to do it and update it as and when I have anything
> to add. I just need to know if there is are guidelines for this sort of
> thing, or whether I can ask someone who oversees the overall wiki content.
>
> B

Yes, I think having the build instructions as part of the wiki is a
good idea. I was thinking of doing so with your email, but because of
my lack of Windows foo, I thought it safer just to point to the email
thread.

The only guidelines we have with the wiki is to keep is clean and
clear. That might mean making a new page with your set of
instructions. That would also help because your new page could be
specifically tied to a version of Windows and GNU Radio that
successfully worked as opposed to claiming complete generic
compatibility.

Thanks!

Tom
F7cca4e0bd6dd2fea065dab8f3c10067?d=identicon&s=25 lookluna (Guest)
on 2014-10-14 07:57
(Received via mailing list)
Dear Bhaskar,
I have tried to download all the modules in your post, but two modules
were
still not available. These two modules are shown as following.
7. Download and install "PyQwt-5.2.1-py2.7-x32-pyqt4.9.6-numpy1.7.1"
from
here.
9. Download and install "PyOpenGL-3.1.0a1.win32-py2.7" from here.

I found two replacements on the internet,they are shown as following.
7、PyQwt-5.2.1-py2.7-x32-pyqt4.10.4-numpy1.8.1.exe
9、PyOpenGL-3.1.0.win32-py2.7.exe

After installation, the GRC GUI can not be displayed. Do you have the
exactly same modoules?
It will be quite appreciated if you can send them to my messagebox.

Best regards.








--
View this message in context:
http://gnuradio.4.n7.nabble.com/Successful-install...
Sent from the GnuRadio mailing list archive at Nabble.com.
E0d1a55b0bc4c2f1a6136baec2ec89fb?d=identicon&s=25 sollo (Guest)
on 2014-11-12 22:54
(Received via mailing list)
I also have this problem.
Could you send me that two modules file?

Thanks



--
View this message in context:
http://gnuradio.4.n7.nabble.com/Successful-install...
Sent from the GnuRadio mailing list archive at Nabble.com.
2404067dde901233f8881bb6bc1b86ac?d=identicon&s=25 Jan (Guest)
on 2014-11-13 01:08
(Received via mailing list)
I have Windows 8 64-bit. Attach here is the screenshot of the files that
I
downloaded.

Gerome Jan M. Llames
+639271525124
geromejanllames@gmail.com

On Thu, Nov 13, 2014 at 5:47 AM, sollo [via GnuRadio] <
ml-node+s4n51304h77@n7.nabble.com> wrote:

>  To unsubscribe from Successful installation of GNURadio 3.6.4.1 on Window
> XP and Windows 8, click here
>
<http://gnuradio.4.n7.nabble.com/template/NamlServl...
> .
> NAML
>
<http://gnuradio.4.n7.nabble.com/template/NamlServl...
>


gnu files.jpg (113K)
<http://gnuradio.4.n7.nabble.com/attachment/51307/0...
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.