From 89540d44ee035d60b43bf78ac391af593b46dc0a Mon Sep 17 00:00:00 2001 From: OSQZSS Date: Sat, 9 Nov 2024 20:38:45 +0900 Subject: [PATCH] Add files via upload --- player/plutoplayer_win/Readme.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 player/plutoplayer_win/Readme.md diff --git a/player/plutoplayer_win/Readme.md b/player/plutoplayer_win/Readme.md new file mode 100644 index 0000000..dcf10da --- /dev/null +++ b/player/plutoplayer_win/Readme.md @@ -0,0 +1,20 @@ +# plutoplayer_win + +### Build on Windows with Visual Studio 2022 + +The libiio library can be obtained on the [Github](https://github.com/analogdevicesinc/libiio/releases) page of the project. Download __Windows.zip__ for the latest stabel build and extract it. + +1. Start Visual Studio 2022 +2. Create an empty project for a console application +3. On the _Solution Explorer_ at right, add the source files to the project. +4. Add the paths to the following folder in `Configuration Properties -> C/C++ -> General -> Additional Include Directories`: + * __Windows/include__ for iio.h +5. Add the paths to the following folder in `Configuration Properties -> Linker -> General -> Additional Library Directories`: + * __Windows/Windows-VS-2022-x64__ for libiio.lib +6. Specify the name of the additional library in `Configuration Properties -> Linker -> Input -> Additional Dependencies`: + * __libiio.lib__ +7. Select __Release__ in the _Solution Configurations_ drop-down list +8. Select __X64__ in the _Sofution Platforms_ drop-down list +9. Run `Build -> Build Solution` + +After a successful build, you can find the executable in the __Release/x64__ folder. Copy it into the __Windows/Windows-VS-2022-x64__ folder and run it.