Building libiio in Visual Studio
Launch CMake, and specify the location of the source code, and the directory where the build will occur.
Enable the Grouped
Then click on Configure
CMake will ask you what generator to use for the project. Select Use default native compilers
and the generator that matches your version of Visual Studio.
CMake will most likely throw an error, as the libxml2
library is not in the compiler's default search paths:
Set the correct paths to LIBXML2_INCLUDE_DIR
as shown below. Then, click again on Configure
; the errors should disappear.
resources/tools-software/linux-software/building_libiio_for_windows.txt · Last modified: 30 May 2016 10:30 by pcercuei