[Hackrf-dev] Install GNURadio on Windows
Mitja kocjančič
veso266 at gmail.com
Mon Nov 23 13:16:51 EST 2015
OK GNU Radio installer is working
PS: You need to set PATH to gnu radio install directory
PPS: when I run it it complains about some theme:
C:\Program Files (x86)\gnuradio\bin>python gnuradio-companion.py
gnuradio-companion.py:117: GtkWarning: Could not find the icon
'gnuradio-grc'. T
he 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases
gtk.window_set_default_icon(gtk.IconTheme().load_icon('gnuradio-grc',
256, 0))
Win32; Microsoft Visual C++ version 12.0; Boost_105900;
UHD_003.009.001-0-gf7a15
853
<<< Welcome to GNU Radio Companion 3.7.8.1 >>>
How can I install it on windows?
2015-11-23 14:55 GMT+01:00 Mitja kocjančič <veso266 at gmail.com>:
> PPS: Does you installer have some silent installation swich for silent
> installation? like /q or /SILENT ?
>
> 2015-11-23 14:53 GMT+01:00 Mitja kocjančič <veso266 at gmail.com>:
>
>> Thanks I will test this installer as soon as I come home
>>
>> PS: How I can apply this 2 patches?
>> PPS: what is the best way to install OTA Projects like gr-drm, gr-baz and
>> gr-rds?
>>
>> 2015-11-23 6:51 GMT+01:00 Josh Blum <josh at joshknows.com>:
>>
>>> Update:
>>>
>>> I updated the Pothos SDR installer to contain a full GNURadio and
>>> GrOsmoSDR install. Announcement here:
>>> https://groups.google.com/forum/#!topic/pothos-users/zC2nHjJy5HU
>>>
>>> Follow instructions for installing, python deps, GNURadio companion:
>>> https://github.com/pothosware/PothosSDR/wiki/GNURadio
>>>
>>> If anyone wants to volunteer a script for the python dependencies
>>> (downloading and install wheel files with pip). That would simplify
>>> post-install instructions a lot.
>>>
>>> This effort took a lot of minor patches. Any help testing and
>>> up-streaming is appreciated. Less patches, more mainline...
>>> https://github.com/pothosware/PothosSDR/tree/master/patches
>>>
>>> Besides compile fixes, this patch should address avx2 detection in volk:
>>> https://github.com/pothosware/PothosSDR/blob/master/patches/volk_cpuid_count_for_msvc.diff
>>> But I don't have the hardware to confirm it. It would be awesome if anyone
>>> can get a data point for this.
>>>
>>> And GNU Radio FIR filters segfault like crazy due to pointer truncation
>>> without this patch:
>>> https://github.com/pothosware/PothosSDR/blob/master/patches/gnuradio_fix_filter_truncation.diff
>>>
>>> Enjoy the installer, please let us know if any problems come up:
>>> https://github.com/pothosware/PothosSDR/wiki/GNURadio#reporting-problems
>>>
>>> Thanks,
>>> -Josh
>>>
>>>
>>> On 11/15/2015 10:05 PM, Josh Blum wrote:
>>>
>>>>
>>>> I downloaded and extracted the latest version of the PothosSDR
>>>>> binaries from http://downloads.myriadrf.org/builds/PothosSDR/
>>>>>
>>>>> Looking through the extracted files, I found hackrf.dll and the HackRF
>>>>> tool executables in "PothosSDR-2015.10.05-vc12-x64/$_OUTDIR/bin". Do
>>>>> those tools work for you?
>>>>>
>>>>> The same directory also contains a copy of osmosdr.dll and what
>>>>> appears to be most of GNU Radio. So you probably have almost
>>>>> everything you need already built.
>>>>>
>>>>>
>>>> Dominic,
>>>>
>>>> So the hackrf.dll should be fine to use. But I don't think there is a
>>>> osmosdr.dll. You probably saw SoapyOsmoSDR.dll from the SoapyOsmo
>>>> project. But, I would be careful about copying dlls because there may be
>>>> a mismatch in the version of GR or MSVC build version that would cause
>>>> an ABI incompatibility. Also, I was building with GR 3.7.1 (and yes I do
>>>> need to update that).
>>>>
>>>> The PothosSDR environment is primarily using GNU Radio for the blocks. I
>>>> actually disabled the swig build because it added time (and like 50Mb to
>>>> the installer). But it wouldn't be difficult to build and include the
>>>> complete GNU Radio + GrOsmoSDR as well. That would narrow down the post
>>>> install tasks to setting the PYTHONPATH and installing some python
>>>> dependencies for GRC.
>>>>
>>>> So I'm not quite sure what Chocolatey's installer was missing, but I do
>>>> try to package most SDR drivers that I can get my hands on. So if there
>>>> is any interest, or someone would like a particular package, drop a note
>>>> in the PothosSDR issue tracker, I think that would be easiest for me:
>>>> https://github.com/pothosware/PothosSDR/wiki
>>>>
>>>> There's always a bit of patching and iterating, so it will take me some
>>>> time to update things.
>>>>
>>>> Thanks,
>>>> -josh
>>>>
>>>> Dominic
>>>>>
>>>>> 2015-11-15 19:00 GMT+01:00 Mitja kocjančič <veso266 at gmail.com>:
>>>>>>
>>>>>>>
>>>>>>> you are right I gave up too because its just too many errors I know
>>>>>>> that
>>>>>>> Pothos has OsmoSDR binaries and hackRF libraries when you install
>>>>>>> windows
>>>>>>> binaries (maybe I could just copy everything from there to the right
>>>>>>> directorys (which I don't know where in GNU Radio installation
>>>>>>> directory
>>>>>>> they are)
>>>>>>>
>>>>>>> Hope someone can help with this
>>>>>>>
>>>>>>> 2015-11-15 18:28 GMT+01:00 Chuck McManis <chuck.mcmanis at gmail.com>:
>>>>>>>
>>>>>>>>
>>>>>>>> For what its worth, I started down this road briefly and then gave
>>>>>>>> up
>>>>>>>> and installed the free VMWare player on my windows machine, and
>>>>>>>> inside
>>>>>>>> that ran ubuntu and brought up the tools that way. Not sure what
>>>>>>>> that
>>>>>>>> says about the Windows development environment but it got me up and
>>>>>>>> running more quickly.
>>>>>>>>
>>>>>>>> On Sun, Nov 15, 2015 at 8:55 AM, Dominic Spill <dominicgs at gmail.com
>>>>>>>> >
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> On 14 November 2015 at 19:59, Mitja kocjančič <veso266 at gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi to all I am trying to install GNU Radio on Windows with osmocom
>>>>>>>>>> source
>>>>>>>>>> and sink and HackRF Support So I've tried installing it via this
>>>>>>>>>> method:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> https://gnuradio.org/redmine/projects/gnuradio/wiki/WindowsInstall#Chocolatey
>>>>>>>>>>
>>>>>>>>>> (after installing lxml and Cheetah manualy) I finaly fired GNU
>>>>>>>>>> Radio
>>>>>>>>>> but (as
>>>>>>>>>> I thougt) it was missing SDR Source and Sink (only UHD stuff were
>>>>>>>>>> there
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> It looks like the GNU Radio install from chocolatey uses the
>>>>>>>>> binaries
>>>>>>>>> published by the GNU Radio project [1].
>>>>>>>>>
>>>>>>>>> Is there any way I can manualy add osmocom source and sink into GNU
>>>>>>>>>> Radio on
>>>>>>>>>> windows?
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> You will need to build the HackRF library and tools on your Windows
>>>>>>>>> system. You will need libusb [2] and cmake [3], both of which are
>>>>>>>>> available for Windows, and a compiler such as MinGW. Instructions
>>>>>>>>> for
>>>>>>>>> building HackRF with MinGW are available [4], or for MSVC[5] which
>>>>>>>>> should help with building the HackRF and osmocom tools[6].
>>>>>>>>>
>>>>>>>>> [1] http://files.ettus.com/binaries/gnuradio/gnuradio_v3.7.3/
>>>>>>>>> [2]
>>>>>>>>>
>>>>>>>>> http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.20/libusb-1.0.20.7z/download
>>>>>>>>>
>>>>>>>>> [3] https://cmake.org/download/
>>>>>>>>> [4]
>>>>>>>>>
>>>>>>>>> https://gnuradio.org/redmine/projects/gnuradio/wiki/MingwInstallMain
>>>>>>>>> [5]
>>>>>>>>>
>>>>>>>>> https://lists.gnu.org/archive/html/discuss-gnuradio/2013-08/msg00284.html
>>>>>>>>>
>>>>>>>>> [6] http://sdr.osmocom.org/trac/wiki/GrOsmoSDR
>>>>>>>>> _______________________________________________
>>>>>>>>> HackRF-dev mailing list
>>>>>>>>> HackRF-dev at greatscottgadgets.com
>>>>>>>>> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> HackRF-dev mailing list
>>>>>> HackRF-dev at greatscottgadgets.com
>>>>>> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>>>>>>
>>>>>> _______________________________________________
>>>>> HackRF-dev mailing list
>>>>> HackRF-dev at greatscottgadgets.com
>>>>> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>>>>>
>>>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20151123/e4f26421/attachment.html>
More information about the HackRF-dev
mailing list