Go-based FM stereo transmitter with RDS, Windows-first and cross-platform
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jan Svabenik 93cdcab8d8 feat: add hardware TX mode with PlutoSDR and SoapySDR drivers 1 mese fa
..
Windows-MinGW-W64 feat: add hardware TX mode with PlutoSDR and SoapySDR drivers 1 mese fa
Windows-VS-2019-x64 feat: add hardware TX mode with PlutoSDR and SoapySDR drivers 1 mese fa
Windows-VS-2022-x64 feat: add hardware TX mode with PlutoSDR and SoapySDR drivers 1 mese fa
include feat: add hardware TX mode with PlutoSDR and SoapySDR drivers 1 mese fa
README.txt feat: add hardware TX mode with PlutoSDR and SoapySDR drivers 1 mese fa

README.txt

              libiio Windows binary snapshot - README

*********************************************************************
* The latest version of this snapshot can always be downloaded at: *
* https://github.com/analogdevicesinc/libiio *
*********************************************************************

In this archive, you should find the following directories:
o ./include : Common include files
o ./Windows-MinGW-W64 : 64-bit binaries compiled by the MinGW toolchain
o ./Windows-VS-2019-x64 : 64-bit binaries compiled by the MicroSoft toolchain, VS-2019
o ./Windows-VS-2022-x64 : 64-bit binaries compiled by the MicroSoft toolchain, VS-2022

o Visual Studio:
- Open existing or create a new project for your application
- Copy iio.h, from the include\ directory, into your project and make sure that
the location where the file reside appears in the 'Additional Include
Directories' section (Configuration Properties -> C/C++ -> General).
- Copy the relevant .lib file from Windows-VS-2019-x64\ or Windows-VS-2022-x64\ and add 'libiio.lib' to
your 'Additional Dependencies' (Configuration Properties -> Linker -> Input)
Also make sure that the directory where libiio.lib resides is added to
'Additional Library Directories' (Configuration Properties -> Linker
-> General)
- If you use the static version of the libiio library, make sure that
'Runtime Library' is set to 'Multi-threaded DLL (/MD)' (Configuration
Properties -> C/C++ -> Code Generation).
- Compile and run your application. If you use the DLL version of libiio,
remember that you need to have a copy of the DLL either in the runtime
directory or in system32

o WDK/DDK:
- The following is an example of a sources files that you can use to compile
a libiio 1.0 based console application. In this sample ..\libiio\ is the
directory where you would have copied libiio.h as well as the relevant
libiio.lib

TARGETNAME=your_app
TARGETTYPE=PROGRAM
USE_MSVCRT=1
UMTYPE=console
INCLUDES=..\libiio;$(DDK_INC_PATH)
TARGETLIBS=..\libiio\libiio.lib
SOURCES=your_app.c

o MinGW/cygwin
- Copy iio.h, from include/ to your default include directory,
and copy the MinGW32/ or MinGW64/ .a files to your default library directory.
Or, if you don't want to use the default locations, make sure that you feed
the relevant -I and -L options to the compiler.
- Add the '-liio' linker option when compiling.

o Additional information:
- The libiio API documentation can be accessed at:
http://analogdevicesinc.github.io/libiio/
- For some libiio samples (including source), please have a look in examples/
and tests/ directories
- The MinGW and MS generated DLLs are fully interchangeable, provided that you
use the import libs provided or generate one from the .def also provided.
- If you find any issue, please visit
http://analogdevicesinc.github.io/libiio/
and check the Issues section