discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] OOT Block on Windows feasible?


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] OOT Block on Windows feasible?
Date: Sun, 26 Jun 2016 23:02:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

Hi Gavin

On 06/26/2016 10:53 PM, Gavin Jacobs wrote:
Marcus,
Thanks for those words of encouragement; based on that I dived in.
1. Tutorial you mentioned says to clone the repository "git ...". Hmmm, I don't have git, but I can go the website, get a zip, extract to my working directory; different tool with same result.

I don't know/think the .zip contains the volk submodule; I'm currently travelling, so I can't check.
You should get git, anyway (it really makes a lot of sense when working with out-of-tree modules or source code in general).

2A. Tutorial says to use cmake. Hmmm, google search for cmake, download, install, and it detects that I have Visual Studio; it tests that and declares it usable (this is encouraging), but then barfs on a missing package called Boost.

2B. Google search for Boost turns up a nutritional supplement - probably not that. Second hit is a set of C++ libraries. Download, install, try cmake again: same problem - can't find Boost.
Stuck here for now.
Yeah, finding libraries under windows is a pain. You'll need to manually tell CMake where to find boost. I know I did that under Windows once, but can't remember how that looked like :/
Also, I think it'd be a very good idea to use the same boost version as was used to build the GNU Radio you're using – I don't know which one that is, though :( you might need to find out yourself by finding the boost.dlls that came with your GNU Radio installation and looking at their version.

3. Meanwhile, further on in the tutorial, I will need a tool called gr_modtool. No gr_modtool.exe found, but I did locate a .py file. Tried with Python and got this:
    python "C:\Program Files\GNURadio-3.7\bin\gr_modtool.py" nm
    Name of the new module: how2
    Could not find gr-newmod source dir.
Uff, yeah... hm. That's probably one of the rough edges of the Windows build
try something like
python "C:\Program Files\GNURadio-3.7\bin\gr_modtool.py" nm "--srcdir=C:/path/to/GNU Radio/share/gnuradio/gr-newmod"

you might have to use a file search program to find the gr-newmod directory. Sorry, really never tried to do that.
I found a configuration file for location of the newmod directory, so I tried to override that to a local copy. No joy - same error.
There was someone on this list in 2014 named PEEL Luke who said he had gr_modtool working on Windows - I would like to know the steps.
Also stuck here for now.

in 2014, both gr_modtool and windows support were totally different. No parallels can be drawn, sorry.
Did some further digging and learned that the windows binaries that I downloaded were just recently assembled (i.e. prior to spring of 2016 you had to build it yourself), so not surpisingly the OOT stuff hasn't been tackled yet. Also, the hoops he had to jump through were many and varied including numerous dependencies, so I'm not confident that I could figure it out just by hacking along.

So, I still wanted to try creating a GRC block. I created a VM (Ubuntu 16.04) and installed the whole GR stuff there. Next I'll try that tutorial again.

Either way, we'll definitely look forward to hearing from you!

Best regards,
Marcus

reply via email to

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