AnsweredAssumed Answered

AD9361 C# example compilation problem

Question asked by James24 on Nov 25, 2016
Latest reply on Nov 28, 2016 by pcercuei



I'm trying to test data capturing by running C# example ( target with FMCOMMS2 and ZC706 board. I installed the Mono C# compiler but when I try to compile the .cs file I get error due to not linked iio library. I'm new to C# language and I'm not sure how should I do it and where exactly the library is. The log I'm getting after trying to compile it:


analog@analog:~/libiio-master/bindings/csharp/examples$ gmcs ExampleProgram.cs

warning CS9001: SDK path could not be resolved

ExampleProgram.cs(6,7): error CS0245: The type or namespace name 'iio' could not be found. Are you missing an assembly reference?

Compilation failed: ` errror(s), 1 warnings