Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2023.03 Installer not yet visible on downloads page #906

Open
ratzrattillo opened this issue Feb 28, 2023 · 6 comments
Open

2023.03 Installer not yet visible on downloads page #906

ratzrattillo opened this issue Feb 28, 2023 · 6 comments

Comments

@ratzrattillo
Copy link

The installer for release 2023.02 (https://github.com/Nuand/bladeRF/releases/tag/2023.02) cannot yet be downloaded at https://www.nuand.com/win_installers/

@rghilduta
Copy link
Collaborator

It's on the todo list! Trying to get a few more patches in before rolling a new Windows installer. Stay tuned!

@mpumputis
Copy link

Any tentative release time for this?

@lgoix
Copy link

lgoix commented Jul 5, 2023

[Updated] I've recently built for windows again and I figured there were missing important steps...

I've been able to compile for Windows based on this tutorial but with some modifications:

https://github.com/Nuand/bladeRF/wiki/Building-libbladeRF-for-Windows

Libusb

PThread

  • checkout master https://github.com/GerHobbelt/pthread-win32/
  • opened windows/VS2022/pthread.2022.vcxproj updated pthread.h to add at libe 206: #define PTW32_ARCHx64
    image2023-8-29_10-42-12
  • Build for Release x64, content will be inside C:\repos\pthread-win32\windows\VS2022\bin\Release-Unicode-64bit-x64
  • I copied the file from ftp://sourceware.org/pub/pthreads-win32/prebuilt-dll-2-9-1-release/COPYING.LIB in the previous directory

BladeRF

  • Checkout project at this commit https://github.com/Nuand/bladeRF/tree/41ef63460956e833c9b321252245257ab3946055
  • When configuring with CMake, pay attention to these variables:
    image2023-8-29_14-36-52
  • Configure and Generate, then open C:\repos\bladeRF\host\build\bladeRF.sln in Visual Studio
  • We need to define the M_PI variable in C:\repos\bladeRF\host\utilities\bladeRF-cli\src\cmd\generate.c :
    image2023-8-29_12-57-45
  • Build the solution, then copy everything from bladeRF\host\build\output\Release to C:\Program Files\bladeRF\x64 (please do a backup first ;) )

open command line and verify:
SoapySDRUtil --probe="driver=bladerf"
You should see the 122.88 samples rates here:
Sample rates: [0.520834, 30.72], [30.72, 61.44], [61.44, 122.88] MSps <-----

@zimmer777
Copy link

I attempted to build it myself, but ran into too many issues. I would really appreciate a new Windows installer.

@lgoix
Copy link

lgoix commented Aug 30, 2023

I've just updated my previous comment to add more infos

For the Osmocom bloc in GnuRadio (https://github.com/Nuand/gr-osmosdr/), I've found a way to build it for Windows and use it with radioconda, if there are interest, I will publish the steps

@zimmer777
Copy link

Thanks so much for posting the more detailed steps!

I managed to get it to work with libusb v1.0.26. To get that working, I had to modify the directory structure so the dll and lib files were in [LIBUSB_PATH]/MS64/dll/ - the download package had them in libusb-1.0.26-binaries\VS2015-x64\dll. Also, Windows often blocks downloaded dll and lib files, so those had to be unblocked as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants