03-28-2019
07:48 AM
- last edited on
12-17-2024
11:23 AM
by
Content Cleaner
I'm trying to compile a simulink model into a library to be used in Linux RT on a myRIO, following the instructions here, using the target file NIVeriStand_Linux_ARM_32.tlc. I'm running Matlab 2014a and Veristand 2015 SP1.
Unfortunately, I'm getting the following error upon building my model.But the truth is I installed eclipse 2014 on default installation location.
### VeriStand 2015.1.0.76 (2015 SP1) code generation started
### Invoking Target Language Compiler on untitled.rtw
### Using System Target File: D:\VeriStand\2015\ModelInterface\tmw\target\NIVeriStand_Linux_ARM_32.tlc
### Loading TLC function libraries
### Initial pass through model to cache user defined code
### Caching model source code
### Writing header file untitled.h
### Writing header file untitled_types.h
### Writing header file rtwtypes.h
### Writing header file builtin_typeid_types.h
### Writing header file multiword_types.h
### Writing source file untitled.c
### Writing header file untitled_private.h
### Writing header file rtmodel.h
### Writing source file untitled_data.c
### Writing header file rt_nonfinite.h
### Writing source file rt_nonfinite.c
### Writing header file rt_defines.h
### Writing header file rtGetInf.h
### Writing source file rtGetInf.c
### Writing header file rtGetNaN.h
### Writing source file rtGetNaN.c
### TLC code generation complete.
### Generating TLC interface API.
### NI VeriStand 2015.1.0.76 (2015 SP1) Modifying source file untitled.c
### NI VeriStand 2015.1.0.76 (2015 SP1) Generating Ports Readme file
### NI VeriStand 2015.1.0.76 (2015 SP1) Generating Signals Readme file
### NI VeriStand 2015.1.0.76 (2015 SP1) Generating Parameters Readme file
### NI VeriStand 2015.1.0.76 (2015 SP1) Copying support files
已复制 1 个文件。
已复制 1 个文件。
已复制 1 个文件。
### VeriStand 2015.1.0.76 (2015 SP1) code generation done
### VeriStand 2015.1.0.76 (2015 SP1) code compilation started
### Processing Template Makefile: D:\VeriStand\2015\ModelInterface\tmw\target\NIVeriStand_Linux_ARM_32.tmf
### Wrapping unrecognized make command (angle brackets added)
### <D:\VeriStand\2015\ModelInterface\tmw\toolchain\Linux_ARM_32_GNU_Setup.bat && cs-make>
### in default batch file
### untitled.mk which is generated from D:\VeriStand\2015\ModelInterface\tmw\target\NIVeriStand_Linux_ARM_32.tmf is up to date
### Building untitled: .\untitled.bat
D:\test\untitled_niVeriStand_Linux_ARM_32_rtw>set MATLAB=D:\Matlab2014
D:\test\untitled_niVeriStand_Linux_ARM_32_rtw>D:\VeriStand\2015\ModelInterface\tmw\toolchain\Linux_ARM_32_GNU_Setup.bat && cs-make -f untitled.mk NIDEBUG=0 NIOPT="Default" OPTS=""
Setting environment for using NI Linux Real-Time 2014 32-bit tools.
Error locating the NI Linux Real-Time 2014 toolchain. Confirm the C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition 2014 was properly installed.
Any help would be greatly appreciated.
03-28-2019
07:34 PM
- last edited on
12-17-2024
11:24 AM
by
Content Cleaner
Have you already installed
GNU C & C++ Compilers for ARMv7 Linux (Windows host) 2014-2016 as well?
I don't have confidence that this would resolve your issue,
but according to the error message, some component of compiler are missed.
You can easily check which version should be installed on your PC here.
NI VeriStand Version Compatibility
03-28-2019
08:54 PM
- last edited on
12-17-2024
11:25 AM
by
Content Cleaner
I already downloaded and unziped GNU C & C++ Compilers for ARMv7 Linux (Windows host) 2014-2016 as well.But I con't find the executable to launch,and put it under eclipse 2014 folder.
I have chacked the version installed on my PC.There is no problem with compatiblity.
When I try again,I still have the same error.