AnsweredAssumed Answered

Building libiio and examples?

Question asked by brandonj on Jul 17, 2014
Latest reply on Oct 15, 2014 by Quamstar

I have the zed/fmcomms3 and I am trying to understand libiio so I can write my own application to interface with the ad9361.


After searching the forums I found this wiki reference:

What is libiio? [Analog Devices Wiki]

I followed the instructions, getting the necessary packages, fresh git clone, but initially encountered an error regarding avahi-client. I was able to fix the build error by:

# sudo apt-get install libavahi-client-dev


Perhaps the wiki should be updated to reflect this library dependency? Anyway, now when I make all I get the following compile error for the example iio-monitor:


iio-monitor.c:19:21: fatal error: cdk/cdk.h: No such file or directory

compilation terminated.

make[1]: *** [iio-monitor.o] Error 1


It seems like this is missing from the git repo?


At the end of the day, I believe I want to write a simple application to receive and transmit data to the ad9361 with local context. Any advice/tips on where to proceed would be great.