I want to compile and run adrv9009-iiostream.c from Vitis. I get the following error
fatal error: iio.h: No such file or directory.
Please, guide us, how to solve this issue.
See the guide here: https://wiki.analog.com/university/tools/pluto/devs/embedded_code .
If you want to run from Vitis aka cross-compile you will need a copy of the rootfs of the target. The rootfs is the second partition on the SD card. The process would be similar to the link provided.
Alternatively, you can just build the application on the development board itself: gcc -liio adrv9009-iio-stream.c