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

12 visualizaciones (últimos 30 días)
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/soc/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:
fatal 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

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 17 de Abr. de 2024 a las 0:00
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.

Más respuestas (0)

Categorías

Más información sobre Get Started with Aerospace Blockset en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by