Windows libbladeRF and Pothos
Posted: Sun Jan 07, 2018 8:39 pm
I've been using my bladerfx115 with matlab (on Windows 10) and GNU radio without any problems for a while. However, all of a sudden I began running into problems on the windows machine with error messages 100% of the time that can vary in content but are all along the lines of missing functions in libbladeRF. I Pulled up bladerf-cli and look what showed up in the attached image...
Both the bladerf-cli and the libbladeRF are now saying
bladeRF-cli version: 1.5.0-PothosSDR-2017.11.01-vc14-x64
libbladeRF version: 1.8.0-PothosSDR-2017.11.01-vc14-x64
Instead of the usual just-the-version number (i.e. 1.7.2) they display this whole title. I recently installed Pothos SDR (on the Windows 10 X64 machine) so perhaps whatever (modified libbladeRF?) they are using is causing issues. Shouldn't be a big deal I figured I just needed to restore libbladeRF. However, I've tried to reinstall libbladeRF with the windows installer, it succeeds, and I can see all of the files in the correct place, but still bladerf-cli displays the PothosSDR version.
So I did the where command and I get the following:
C:\Users\XXXXXX>where bladerf-cli.exe
C:\Program Files\PothosSDR\bin\bladeRF-cli.exe
C:\Program Files\bladeRF\x64\bladeRF-cli.exe
Makes sense, looks like Pothos just messed with the global environment variables - the windows installer (which I've re-run) for bladerf says that it will add variables to the system path, yet when I go to environment variables in windows I see plenty for Pothos but nothing for nuand/bladerf. Additionally MATLAB still seems to be referencing the core libbladerf directory, so it should have been unaffected.
Sooo... but does anyone have any insight as to how I would resolve this (or investigate it further)? Basically I'm just looking to get pure libbladeRF back without tearing up my system too much - and keeping PothosSDR working if possible.
I apologize if this is going to have some trivial answer, I googled around tried some things but I suspect I'm missing something obvious....
Both the bladerf-cli and the libbladeRF are now saying
bladeRF-cli version: 1.5.0-PothosSDR-2017.11.01-vc14-x64
libbladeRF version: 1.8.0-PothosSDR-2017.11.01-vc14-x64
Instead of the usual just-the-version number (i.e. 1.7.2) they display this whole title. I recently installed Pothos SDR (on the Windows 10 X64 machine) so perhaps whatever (modified libbladeRF?) they are using is causing issues. Shouldn't be a big deal I figured I just needed to restore libbladeRF. However, I've tried to reinstall libbladeRF with the windows installer, it succeeds, and I can see all of the files in the correct place, but still bladerf-cli displays the PothosSDR version.
So I did the where command and I get the following:
C:\Users\XXXXXX>where bladerf-cli.exe
C:\Program Files\PothosSDR\bin\bladeRF-cli.exe
C:\Program Files\bladeRF\x64\bladeRF-cli.exe
Makes sense, looks like Pothos just messed with the global environment variables - the windows installer (which I've re-run) for bladerf says that it will add variables to the system path, yet when I go to environment variables in windows I see plenty for Pothos but nothing for nuand/bladerf. Additionally MATLAB still seems to be referencing the core libbladerf directory, so it should have been unaffected.
Sooo... but does anyone have any insight as to how I would resolve this (or investigate it further)? Basically I'm just looking to get pure libbladeRF back without tearing up my system too much - and keeping PothosSDR working if possible.
I apologize if this is going to have some trivial answer, I googled around tried some things but I suspect I'm missing something obvious....