I am using AD-JUPITER-EBZ board, I have created hdl project using https://github.com/analogdevicesinc/hdl/tree/main/projects/jupiter_sdr .
and created petalinux image by following steps mentioned in https://github.com/analogdevicesinc/meta-adi/tree/main/meta-adi-xilinx .
Using Vivado 2025.1 and petalinux 2025.1.
in Vitis workspace to run adrv9002 stream example for adrv9002 ( https://github.com/analogdevicesinc/libiio/blob/main/examples/adrv9002-iiostream.c )
I am getting the following error.
[ERROR] /home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/src/helloworld.c:10:10: fatal error: iio/iio-debug.h: No such file or directory
10 | #include <iio/iio-debug.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
how to solve this issue?
Iam Attaching my errorlog
--------------------------------------------------------------------------------
[29/07/2026, 19:29:39]: Build for test1_stream_29_07_2026::build with id '129b9d29-e7dc-4bdb-9f6e-37b9b88d9a9a' started.
--------------------------------------------------------------------------------
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /tools/Xilinx/2025.1/Vitis/gnu/aarch64/lin/aarch64-linux/bin/aarch64-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /tools/Xilinx/2025.1/Vitis/gnu/aarch64/lin/aarch64-linux/bin/aarch64-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build
/tools/Xilinx/2025.1/tps/lnx64/cmake-3.24.2/bin/cmake -S/home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026 -B/home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build --check-build-system CMakeFiles/Makefile.cmake 0
/tools/Xilinx/2025.1/tps/lnx64/cmake-3.24.2/bin/cmake -E cmake_progress_start /home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build/CMakeFiles /home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build//CMakeFiles/progress.marks
/bin/gmake -f CMakeFiles/Makefile2 all
gmake[1]: Entering directory '/home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build'
/bin/gmake -f CMakeFiles/test1_stream_29_07_2026.elf.dir/build.make CMakeFiles/test1_stream_29_07_2026.elf.dir/depend
gmake[2]: Entering directory '/home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build'
cd /home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build && /tools/Xilinx/2025.1/tps/lnx64/cmake-3.24.2/bin/cmake -E cmake_depends "Unix Makefiles" /home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026 /home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026 /home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build /home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build /home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build/CMakeFiles/test1_stream_29_07_2026.elf.dir/DependInfo.cmake --color=
gmake[2]: Leaving directory '/home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build'
/bin/gmake -f CMakeFiles/test1_stream_29_07_2026.elf.dir/build.make CMakeFiles/test1_stream_29_07_2026.elf.dir/build
gmake[2]: Entering directory '/home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build'
[ 33%] Building C object CMakeFiles/test1_stream_29_07_2026.elf.dir/src/helloworld.c.obj
/tools/Xilinx/2025.1/Vitis/gnu/aarch64/lin/aarch64-linux/bin/aarch64-linux-gnu-gcc -DVITIS_MAJOR_VERSION="" -DVITIS_MINOR_VERSION="" -DVITIS_VERSION="" -I/home/digital_c2r/AD_TEST_JUPITER_EBZ/images/linux/sdk/sysroots/cortexa72-cortexa53-amd-linux/usr/include -I/home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/../../../AD_TEST_JUPITER_EBZ/images/linux/sdk/sysroots/cortexa72-cortexa53-amd-linux/usr/include -g --sysroot=/home/digital_c2r/AD_TEST_JUPITER_EBZ/images/linux/sdk/sysroots/cortexa72-cortexa53-amd-linux -Wall -Wextra -O0 -g3 -MD -MT CMakeFiles/test1_stream_29_07_2026.elf.dir/src/helloworld.c.obj -MF CMakeFiles/test1_stream_29_07_2026.elf.dir/src/helloworld.c.obj.d -o CMakeFiles/test1_stream_29_07_2026.elf.dir/src/helloworld.c.obj -c /home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/src/helloworld.c
[ERROR] /home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/src/helloworld.c:10:10: fatal error: iio/iio-debug.h: No such file or directory
10 | #include <iio/iio-debug.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/test1_stream_29_07_2026.elf.dir/build.make:76: CMakeFiles/test1_stream_29_07_2026.elf.dir/src/helloworld.c.obj] Error 1
gmake[2]: Leaving directory '/home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build'
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/test1_stream_29_07_2026.elf.dir/all] Error 2
gmake[1]: Leaving directory '/home/digital_c2r/karthik/test_29_07_2026/test1_stream_29_07_2026/build'
gmake: *** [Makefile:91: all] Error 2
[ERROR] test1_stream_29_07_2026 build failed.
--------------------------------------------------------------------------------
[29/07/2026, 19:29:40]: Build for test1_stream_29_07_2026::build with id '129b9d29-e7dc-4bdb-9f6e-37b9b88d9a9a' ended.
