NI VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

compiling Simulink model for Linux RT: error adding symbols: File format not recognized

Hello,

 

I'm trying to compile a simulink mode for Linux RT with matlab simulink.

The tlc file is 'VeriStand.tlc' The toolchain is 'VeriStand Compiler for Linux64 targets | gmake makefile (64-bit Linux)'.

My MATLAB version is R2019b.

My Veristand version is 2019R3.

How can I fix this error? Thanks!

"### Creating standalone executable "../VeriStandTemp5.so" ..." "C:\build\17.0\x64\sysroots\i686-nilrtsdk-mingw32\usr\bin\x86_64-nilrt-linux/x86_64-nilrt-linux-g++" -m64 -shared --sysroot=C:\build\17.0\x64\sysroots\core2-64-nilrt-linux -o../VeriStandTemp5.so @VeriStandTemp5.rsp C:/PROGRA~1/MATLAB/R2019b/extern/lib/win64/mingw64/libmwpolyfun.lib 
C:/PROGRA~1/MATLAB/R2019b/extern/lib/win64/mingw64/libmwpolyfun.lib: error adding symbols: File format not recognized 
collect2.exe: error: ld returned 1 exit status gmake: *** [../VeriStandTemp5.so] Error 1 C:\software_project\VeriStandTemp005\VeriStandTemp5_veristand_rtw>echo The make command returned an error of 2 The make command returned an error of 2 C:\software_project\VeriStandTemp005\VeriStandTemp5_veristand_rtw>exit 1 Error(s) encountered while building "VeriStandTemp5": ### Failed to generate all binary outputs.

Thanks!

In addditon, the generated mk file is attatched.

0 Kudos
Message 1 of 1
(144 Views)