AnsweredAssumed Answered

iio_create_default_context on windows

Question asked by sivantoledo on Aug 15, 2017
Latest reply on Aug 16, 2017 by larsc

I am trying to compile ad9361-iiostream.c under Windows. The code compiles but iio_create_default_context fails. I am assuming that there is some incompatability between libiio was compiled and the way I'm compiling my code, but the Makefile does not contain a Windows example that I can use.

 

I'm compiling with 

 

cl ^
/O2 /Og /EHsc ^
-I"iio" ^
-Fead9361-iiostream.exe ^
ad9361-iiostream.c ^
/MD ^
/link ^
/LIBPATH:"iio" libiio.lib 

Outcomes