discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] 3.7.9.2 Win64 binaries ready + Build scripts


From: Anon Lister
Subject: Re: [Discuss-gnuradio] 3.7.9.2 Win64 binaries ready + Build scripts
Date: Sun, 17 Apr 2016 14:20:15 -0400

Yep, my bad on UHD, used to doing git builds and seeing 3.10. Cool yeah gqrx would be the priority, baz is just a nice to have (and its a bit dated as its all in WX which seems to be going the route of deprecation). 
So for some feedback, I installed the binaries and everything seems to work good. Hooked up the UHD and was able to receive a decent sample rate without issue. Only small issue is was a popup on first run that said:

"The xterm executable 'xterm' is missing.

You can change this setting in your gnuradio.conf, in section [grc], 'xterm_executable'.

(This message is shown only once)"

Which is understandable, as xterm is not built.  Anyway, after clicking ok everything works. 

On the build side, first off, I'll say while I'm quite proficient on the Linux side, on the windows side I'm pretty noobish, so the first errors I received (missing io.h header, among other errors), appeared to be due to me having old VS 2012 only half removed which confused 14.. Anywho, after figuring that out and cleaning it up everything went good till the WX python build. But first I'll throw in that I did install VS2014 into an alternate path, this caused several issues with checks, I ended up creating the windows equivalent of a symlink (or maybe multi-disk hardlink, think its called a junction) and that solved that issue, but also the scripts ask for a location to place its build files, I tried I:/gr-build but received errors where directories in C:/gr-build were missing, I just symlinked C:/gr-build to I:/gr-build and things seemed fine. I only bring it up since the build scripts asked for a location. Perhaps it was something I did as I first ran setup.ps1 before I saw the ~RUNME_FIRST.ps1. Anyway, back to the WX error:

Got the error "Validation Failed, C:/gr-build\src-stage2-python\gr-python27\lib\site-packages\wx-3.0-msw\wx\_core_.pyd was not found and is required" which seems to just be a sanity check that something we expected to build was not(i did independently verify its not there, theres no wx* in site-packages), I've uploaded the log for wx-python[1], let me know if you need any more info. 

The build appears to stop there. Not sure where to go with debugging as there appears to be no error, only some warnings? I'm also not familiar with wheel, though one would assume it produces the whl installer files. I did test removing the WX block and Step4 runs to completion. So it appears to be something with WX. I did see in the comments something about debug builds not working correctly,  and there's a workaround. For completeness, I went ahead and commented out the Verify line and all builds (AVX, ReleaseDLL, Debug ) appear to generate this same log (except for folder names and such), and all do not generate the appropriate pyd file. 

Any ideas what could be wrong? Or maybe whats special about wx as compared to the other python modules? If it was a bunch I would suspect something in my env may just be incorrect(Which, very well may be the case), but it seems just that one library. 

P.S. I did just try to bypass it for debugging purposes, but I ended up with a different error on the consolidation step(not with WX) but lets take those one at a time.

Also, if you want, I can take this to github/issues.

-Anon

[1] http://filebin.ca/2e5LIv6ROV29/39-ReleaseDLLwxpython.txt

On Fri, Apr 15, 2016 at 3:43 AM, Geof Nieboer <address@hidden> wrote:
Anon,

UHD 3.9.3 is the most current release from Ettus.

gqrx is on my to-do list, and in fact there are code stubs in the scripts already for it.  What stopped me is that it needs qt5 built, whereas GR is on qt4 still, so I wanted to get out what I had first before re-attacking that one.  But once I have that done (and Qt5 appears way easier to build than 4), then I'll get cracking on it.  gr-baz I have not taken a look at, but I will do so.

On the downloads page in the website, I tried to keep track of which library required what other libraries as I was going through it, so you'll see that listed, perhaps that might be useful in creating a dependency graph.  I don't guarantee it's 100% complete, though.

Yes, please let me know how the build goes.  Take a look at the "Issues" in the readme.  Biggest recurring irritation I had was downloads that would fail partway through then appear later as build failures.  I would like to move to a hash verification step after the download, but for the moment it is what it is.  And once the downloads have been successful once, you should be smooth sailing as it will keep them cached in the 'packages' subdir.

Geof

On Fri, Apr 15, 2016 at 9:41 AM, Anon Lister <address@hidden> wrote:

This is awesome, I will test out the build process this weekend on 10. Any reason for the slightly older uhd release? I'd love to get gr-baz and gqrx working on Win.

I'm also somewhat interested in stealing a pre-compiled list of dependencies for my somewhat crazy project of building GR + some OOTs on RHEL 6. Talk about dependency hell. ;p

On Apr 14, 2016 6:24 AM, "Geof Nieboer" <address@hidden> wrote:
All,

Some may recall in the fall I posted a link to a beta windows installer.  I'm happy to report that I'm releasing new versions today for the 3.7.9.2 release, compatible with Windows 7/8/10.  All dependencies are included, and all are built natively using MSVC 2015, no Cygwin or MinGW required. It's about a 300MB package download.

I've also refactored the entire build process used to make the msi's and gotten it down to a series of Powershell scripts that can either:
1- Build the entire GNURadio windows dependency chain from source and then build GNURadio itself. 
2- Download a prebuilt "dependency pack" as binaries and then build GNURadio and a couple OOT modules

The binaries (for both GR and the dependencies) can be found at http://www.gcndevelopment.com/gnuradio.  The scripts themselves are hosted at http://github.com/gnieboer/gnuradio_windows_build_scripts.  While the binaries have no dependencies, the build scripts have several, but all mandatory dependencies are free to install.  The various patches required to make everything build on Win32/MSVC are either workarounds built into the scripts, patches downloadable on the website, or forked repos on my github account.  For the most part pull requests have been submitted upstream.

All GR components except gr-comedi are installed, and several OOT blocks are also included by default, including UHD 3.9.3, gr-fosphor, and gr-osmosdr with most drivers.  The windows audio sink has also been refactored to double buffer to avoid the skipping others have reported.

It uses OpenBLAS for numpy/scipy to stay GPLv3 compliant...users can replace it with an MKL-based version as a wheel from the downloads page should more performance be desired. 

More information is available on the website.  I hope both the binaries and scripts are useful and look forward to feedback.

Geof



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

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