How to install Linrad under Windows.
(Part of SM 5 BSZ home page)
(June 13 2015)

Where to get it.

Get the latest version from Linrad Home Page. or get the current development version with this command:
svn checkout https://svn.code.sf.net/p/linrad/code/trunk linrad

General.

The installation consists of three independent parts:

1) The Linrad executable linrad.exe and the two text files help.lir and errors.lir have to be placed in the Linrad directory which may be created new or which may be an old directory. Possibly with a previous Linrad version in it. You can give your Linrad directory any name and place it anywhere in your system. In case you use the Windows installer the Linrad directory would become C:\Linrad\linrad-xx.yy. but if you want to experiment, copy that directory to perhaps C:\temp\experiment or whatever and make changes to your setup there. If it fails, the original would remain untouched.

2) Starting with version linrad-04.06 libraries (dll files) and other binary files that Linrad needs access to have to be placed in C:\Linrad\dll\
Here is info about libraries for old Linrad versions. Linrad-04.05 and earlier.

3) The hardware that Linrad will use has to be properly installed and configured in Windows. There are many problems with drive routines under Windows. Elderly hardware is not well (if at all) supported by modern Windows versions. There are often bugs of various kinds in soundcard drivers and the manufacturers might not supply drivers that are suitable for an SDR application like Linrad. There may also be compatibility problems with USB3 devices.

Step 1. Installing the executable under Windows.

  • Easiest is to download and execute the installer setup-linrad-xx.yy It will create the appropriate Linrad directory and put the necessary files in it. It will also create a desktop icon and an uninstaller. The file setup-linrad-xx.yy can be generated from linrad.exe, help.lir and errors.lir (contained in wlrx.yy) by use of the inno setupsoftware.

  • Alternatively you may download wlrx-yy.zip and unzip it into a suitable directory. In that case you should right click on linrad.exe in Windows Explorer and send linrad.exe to the desktop to create an icon.

  • You may also decide to compile the executable yourself by downloading and extracting the Linrad source code into a suitable directory in Windows. You will need mingw32 and nasm to compile. First run configure.exe then make.bat (mingw has to reside in C:\mingw). configure.exe will check whether any user defined files are present and produce Makefile which will control the compilation and linking. (In old versions Makefile would also control which hardware would be supported but loading the different dll files for different hardware is now at run time.)

    The easiest way is to download and unpack this file mingw516nasmplus.zip (26 502 842 bytes, june 13 2015) directly under C:\. It will create C:\MinGW and install everything needed to compile new as well as old versions of Linrad with support for Portaudio and all the hardware. Here is info about the contents of mingw516nasmplus. In case you want to compile old versions for Windows 98 you must delete the libusb and the libusb-1.0 files from the MinGW directory.

  • You may also compile linrad.exe under Linux. The make linrad.exe command will tell you to install mingw32, nasm and the linrad libraries which are contained in linrad-libs.tbz (2 557 669 bytes) June 10 2015

Installing libraries and binaries under windows.

Everything needed is present in this file linrad-dll-files01.zip (5737241 bytes.) which should be placed in the directory C:\Linrad and unzipped there to create the directory C:\Linrad\dll\ (if not already present) and place these files there:

airspy.dll Airspy airspy.com
bladeRF.dll BladeRF nuand.com
ftd2xx.dll SDR-14 rfspace.com
G31DDCAPI.dll Excalibur winradio.com
inpout32.dll WSE - the parallell port sm5bsz.com/linuxdsp/optrx.htm
libftdi.dll Soft66 http://zao.jp/radio/soft66ad , Elektor www.elektor.com
libusb0.dll Soft66 http://zao.jp/radio/soft66ad , optional for WSE parallel port and si570.
libusb-1.0.dll Perseus, Airspy, rtlsdr, mirisdr, BladeRF.
mirisdr.dll SDRplay sdrplay.com MSi3101 www.mirics.com/sites/default/files/MSi3101_new.pdf
msvcr100.dll support for bladeRF.dll and airspy.dll.
msvcr120.dll support for bladeRF.dll.
palir-01.dll Portaudio for soundcards.
palir-02.dll Portaudio for soundcards.
palir-03.dll Portaudio for soundcards.
palir-04.dll Portaudio for soundcards.
perseususb.dll Perseus HF receiver. microtelecom.it
perseus125k24v21.sbs Perseus HF receiver.
perseus192k24v31.sbs Perseus HF receiver.
perseus1d6m24v21.sbs Perseus HF receiver.
perseus1m24v21.sbs Perseus HF receiver.
perseus250k24v21.sbs Perseus HF receiver.
perseus2m24v21.sbs Perseus HF receiver.
perseus48k24v31.sbs Perseus HF receiver.
perseus500k24v21.sbs Perseus HF receiver.
perseus95k24v31.sbs Perseus HF receiver.
perseus96k24v31.sbs Perseus HF receiver.
mirisdr.dll SDRplay and Mirics dongles.
pthreadVC2.dll support for bladeRF.dll.
pthreadVCE2.dll support for bladeRF.dll.
rtlsdr.dll rtl-sdr sdr.osmocom.org/trac/wiki/rtl-sdr
soft66.dll Soft66 zao.jp/radio/soft66ad

Here is info about libraries for Linrad. Source code and how to compile. Info relevant to old as well as new versions of Linrad. (The GNU license requires sharing of source code. Normal Linrad users need not to worry about this.)

Installing drive routines under Windows.

This is not really a Linrad problem, it belongs to the manufacturer of your hardware and to Microsoft. There have been many problems in the past, but today with many SDR software on the market the problems are better understood. Here is a list of hardware that can be used together with Linrad and some hints on the driver installation.

Airspy. Automatic, but only on an updated Widows system.
BladeRF. Use Zadig to install WinUSB.
Excalibur. Use installer from http://winradio.com
Mirics, SDRplay. Use Zadig to install libusbK.
Net-Afedri. Automatic.
PCIe-9842. Use the installer from http://www.adlinktech.com.
Perseus. Use the device manager to install the driver from
http://microtelecom.it
rtlsdr. Use Zadig to install WinUSB.
SDR-14. Use the device manager to install the driver from http://rfspace.com
SDR-IP. Automatic.

Soundcard + Afedri. USB Automatic.
Soundcard + Elektor Unknown.
Soundcard + FunCube Pro+ Automatic.
Soundcard + Si570 Use Zadig to install WinUSB or libusb-win32.
Soundcard + Soft66 Use Zadig to install libusb-win32 ????
Soundcard + WSE Automatic.



To SM 5 BSZ Main Page