Solution
This error could appear due to multiple reasons. Follow the steps below to resolve the problem:
1. The build process through the VeriStand Model Framework involves setting a few Windows registry keys. Ensure that the user has sufficient administrative privileges when running MathWorks Simulink® software. If required, run MathWorks Simulink® as administrator.
2. Add the following file paths to
Path system variable under environment variables, if not present already. Refer to
External Link : Add Tool Locations to the PATH Environment Variable for instructions.
C:\build\17.0\arm\sysroots\i686-nilrtsdk-mingw32\usr\libexec\arm-nilrt-linux-gnueabi\gcc\arm-nilrt-linux-gnueabi\4.9.2
C:\build\17.0\x64\sysroots\i686-nilrtsdk-mingw32\usr\libexec\x86_64-nilrt-linux\gcc\x86_64-nilrt-linux\4.9.2
3. Add the following system variables if not present already:
GCCPATH:
C:\build\17.0\x64\sysroots\i686-nilrtsdk-mingw32\usr\bin\x86_64-nilrt-linuxGCCSYSROOTPATH:
C:\build\17.0\x64\sysroots\core2-64-nilrt-linuxGCCUTILITIES:
C:\VeriStand\2020\ModelInterface\tmw\toolchain\gcc