analogdevicesinc / gr-iio

IIO blocks for GNU Radio
GNU General Public License v3.0
94 stars 62 forks source link

Windows Usage? #31

Closed evandavey closed 6 years ago

evandavey commented 6 years ago

Can this be used with windows gnuradio (installed from the binary package)? Ideally as a binary but could build as well if that's an option.

(I have got it working through WSL but this has limitation and is not user-friendly)

tfcollins commented 6 years ago

Yes gr-iio will build fine on windows, as well as all the necessary dependencies.

evandavey commented 6 years ago

Ok thanks @tfcollins. Is there a build guide or instructions I can follow? What are the dependencies?

tfcollins commented 6 years ago

The generic build guide is here: https://wiki.analog.com/resources/tools-software/linux-software/gnuradio

I would suggest starting here: https://github.com/gnieboer/GNURadio_Windows_Build_Scripts and inserting the gr-iio build process

Here is also how we build gr-iio on appveyor which may be helpful for binary dependency links: https://github.com/analogdevicesinc/gr-iio/blob/master/appveyor.yml

evandavey commented 6 years ago

Hmm ok thanks. Looks like it's going to be pretty involved and not sure I have the time for that right now. Would your appveyor binary work? It would be great if a binary version could be supplied so that it easy to use the Pluto with GNURadio purely in windows as the WSL approach has issues (e.g. audio sink, USB support e.g. for RTL-SDR).

tfcollins commented 6 years ago

Getting GNURadio to work at all on Windows is a challenge. The community itself doesn't really support it, so its kinda hard for us to.

The appveyor build isn't really complete and is just meant for some smoke tests. I don't believe the GUI functions at all.

evandavey commented 6 years ago

OK thanks. It's a shame as it does detract from the user-friendliness of the Pluto product, particularly given the windows binary seems to work well (even if not officially supported). WSL is close (and better than a Linux desktop VM IMO) but not quite ready for prime-time. PyBOMBs looks to be unnecessarily convoluted versus using standard package management for binaries and/or compiling from source for those wanting bleeding edge.