discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Gnuradio and Uhd on windows,


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Gnuradio and Uhd on windows,
Date: Wed, 18 May 2011 19:26:57 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10

> When you transplant a gnuradio install, the hardcoded path problem
> effects where gnuradio looks for conf files and where grc looks for xml
> block files and documentation.
> 
> You can set some environment variables to fix the GRC issues, and I
> think the gnuradio conf stuff will be ok since it will just use the
> defaults.
> 
> GRC_BLOCKS_PATH may need to be set, I think thats all you might need.
> 


Just to give an update on this. The current installer now adds itself to
the path and automatically sets the necessary environment variables for
"transplanted installs". This way, grc can find the blocks and doxygen
files.

So you can install uhd and gnuradio + all of its dependencies entirely
from exe installers, and the only thing you need to do post install is
set the PYTHONPATH. Basically environment variables are easy to set but
harder to append to from NSIS. I would like to solve that too...

Basically, the CMake NSIS template already has code for appending to the
PATH, so it may just be an issue of making a custom NSIS template and
duplicating the addtopath function to also handle PYTHONPATH.

I updated the instructions and installers here:
http://www.joshknows.com/gnuradio_port#binary_packages

Also, the PyQWT installer I found has busted slider support. If anybody
can find or make a windows installer for PyQWT + python2.7 that isnt
busted, that would be great!
http://www.ettus.com/downloads/gnuradio/other_deps_with_installers/PyQt4.Qwt5-5.2.1.win32-py27.exe

Thanks,
-Josh



reply via email to

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