How to install Linrad under Windows.
(Part of SM 5 BSZ home page)
(Sept 29 2014)
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.

2) Libraries and other binary files that Linrad needs access to have to be placed in the PATH. They may be placed with one copy in each Linrad directory, but it is more practical to place them in the system directory {sys} which is C:\WINNT\System32 under Windows 98 and Windows 2000 and C:\Windows\System32 under Windows XP, Windows Vista and Windows 7.

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.

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 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. In both cases you would use the same pre-compiled version of Linrad with portaudio and support for all hardware that is implemented in Linrad.

  • 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 which files are present and produce Makefile which will control whether the generated linrad.exe will include support for Portaudio and/or any of the supported hardware.

    The easiest way is to download and unpack this file (25 307 732 bytes) directly under C:\. It will create C:\MinGW and install everything needed to compile Linrad with support for Portaudio and all the hardware. Here is info about the contents of mingw516nasmplus. In case you want to compile 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 (1009167 bytes) Mars 19 2014

Installing libraries and binaries under windows.

Easiest is to download and execute the installer setup-linrad-dll-package-04.exe (1012018 bytes) It will place inpout32.dll, libusb0.dll, libusb-1.0.dll, mirisdr.dll, palir-01.dll, palir-02.dll, palir-03.dll, and rtlsdr.dll in your {sys} directory. Here is info about the contents of setup-linrad-dll-package-xx.exe. Also about how to generate the dll files from source.

This older version will be OK for Linrad versions up to Linrad-03.21: setup-linrad-dll-package-01.exe (614050 bytes)
In case there are compatibility problems with the latest set of dll files, here are the older installers:
setup-linrad-dll-package-02.exe (690056 bytes)
setup-linrad-dll-package-03.exe (804985 bytes)
In case you want to use the Perseus HF receiver you must also have perseususb.dll in the path with the Perseus .sbs firmware files in the same directory as perseususb.dll. See below.

Installing drive routines under Windows.

This is not really a Linrad problem, it belongs to the manufacturer of your hardware and to Microsoft. There is a lot to say about drive routines for soundcards under Windows, but at the moment little of that will be exposed here. Use Google, Yahoo or some other search engine. Investigate your sound device, look for inappropriate sound effects as the one described in this MOON-NET posting Upgraded computer, new issues. Disable sound effects in Windows or select Portaudio with ASIO, WDM-KS or WASAPI drivers in the Linrad setup.

The Delta 44 drivers may be incorrect under Vista and Windows 7 The audiodg.exe bug(?) may cause excessive CPU load.

The WSE units need a parallel port. This link: How to add a parallel port discusses some of the possible solutions for adding a parallel port.

In case you want to use Linrad with SDR-14, SDR-IQ or Perseus under Windows, first install the drivers supplied by the manufacturer and make sure the units run with the manufacturers software.

With the Perseus such a strategy might fail. perseus.exe might not work at all on a Pentium 3 and it might not work under Windows 98. To run Linrad with the Perseus HF receiver on obsolete platforms (software and/or hardware,) download this file: (63321 bytes) It contains an old version of perseususb.dll as well as a directory Drivers. By installing the drive routine from "Drivers" and by placing the old perseususb.dll in the path where you have your .sbs files it is possible to run Linrad with the Perseus on Win 98 systems as well as on elderly Pentium 3 systems where the winusb drivers do not work.

The Perseus files are protected by copyright. All rights belong to Each version of Linrad is compiled for a specific version number on the sbs files for Perseus. Go to this page if you want to use Perseus with Linrad and need specific version of the sbs files: sbs files for using Linrad with Perseus

For Perseus you might want to use this installer: setup-linrad-perseus-bin-package-01.exe (1883147 bytes) It will install perseususb.dll as well as the .sbs files in your system directory. The binary files for Perseus will then automatically become available for new Linrad versions.

For SDR-14 and SDR-IQ the file FTD2XX.DLL has to be available to Linrad and the SDR-14 or SDR-IQ drive routine has to be installed. In case if you do not want to install SpectraVue you can download this file (266881 bytes), unpack it to a suitable place and instruct the Windows hardware installation tool to search for the drive routines for "SDR-14" or "SDR-IQ" there. You may place a copy of FTD2XX.DLL in the Linrad directory or in your system directory.

Linrad can run with ExtIO plugins. Extio is a "standard", designed by Alberto di Bene, I2PHD, used for communicating with SDR hardware. Such files are available for many hardware. You can get an idea here:

To SM 5 BSZ Main Page