SoC Builder: "Build software application" step fails due to error regarding 'iio.h' or 'aarch64-linux-gnu-gcc'

조회 수: 12 (최근 30일)
I am trying to follow the "Transmit and Receive a Tone Using Xilinx RFSoC Device" example from "SoC Blockset Support Package for Xilinx Devices": https://www.mathworks.com/help/supportpkg/xilinxsoc/ug/transmitandreceivetoneusingRFSoCdevicegenerate.html
In "Part 2 Deployment", I am trying to run SoC Builder tool to implement the model on my Xilinx board. But it fails in the "Build software application" step, as shown in the following screenshot:
The error message inside SoC Builder is:
Error(s) encountered while building "soc_rfsoc_datacapture_proc_rtwlib"
If I check the MATLAB Command Window for the full build log, I find an error thrown by iio_helper.c:
C:/ProgramData/MATLAB/SupportPackages/RXXXXx/toolbox/shared/libiio/base/src/iio_helper.c:2:17:\nfatal error: iio.h: No such file or directory #include "iio.h"
or an error related to "aarch64-linux-gnu-gcc" not being found:
/bin/sh: 1: bin/aarch64-linux-gnu-gcc: not found

채택된 답변

MathWorks Support Team
MathWorks Support Team 2022년 1월 19일
The error messages indicate that the "SoC Blockset Support Package for Xilinx Devices" has not been set up correctly.
To resolve this, restart MATLAB as administrator (sudo). Then, re-run the "SoC Blockset Support Package for Xilinx Devices" setup. You can do this by clicking on Add-Ons > Manage Add-Ons and then clicking the Gear icon next to the support package. You will see the following panel:
The integrated SoC Builder workflow will not work unless all third-party tools have been sucessfully installed. If this is the first time that you ran the support package setup, click on Install, or, re-launch the installation of the third-party tools by clicking on Retry. As mentioned in the "What to consider" note on the right-hand side of the panel, pay attention for any permission prompts that might show up during the installation process.
Once you see a green check mark for every third-party tool, click "Next" and follow through with the setup until it is finished. This should resolve the above issue with SoC Builder.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 System on Chip (SoC)에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by