01-04-2024 05:22 AM
Hello,
I am trying to compile a simple Simulink Model using Veristand for Windows Target, but I am receiving error when compiling. The information about the versions of the softwares I am using are as follows:
Matlab: R2020a
Veristand: 2020 R4
MingGW: MinGW64 Compiler (C) 6.3.0
I believe that the problem is not due to the compatibility issues between the softwares. A successful build can be achieved with Veristand compiler for Linux target. Unfortunately, the Simulink model cannot be compiled successfully with Veristand compiler for Windows target.
The error I am getting is as follows:
@Test_comp.rsp -o"rt_logging.obj" "C:/MATLAB/R2020a/rtw/c/src/rt_logging.c" gmake: *** [rt_logging.obj] Error 1
C:\VeriStand\Test_veristand_rtw>echo The make command returned an error of 2 The make command returned an error of 2
I have attached the screenshots of the simulink model,of the complete error message and of the code generation settings.
Thank you.
04-10-2024 10:27 AM
Hi,
Did you manage to solve your gmake error by any chance? I'm getting the exact same error as you, using the same software with the exception of MinGW - I'm using VS 2019 Pro instead.
Could this be a bug in this version of MATLAB/VeriStand combo?
04-27-2024 02:12 AM
@sharink ha scritto:
Hello,
I am trying to compile a simple Simulink Model using Veristand for Windows Target, but I am receiving error when compiling. The information about the versions of the softwares I am using are as follows:
Matlab: R2020a
Veristand: 2020 R4
MingGW: MinGW64 Compiler (C) 6.3.0
I believe that the problem is not due to the compatibility issues between the softwares. A successful build can be achieved with Veristand compiler for Linux target. Unfortunately, the Simulink model cannot be compiled successfully with Veristand compiler for Windows target.
The error I am getting is as follows:
@Test_comp.rsp -o"rt_logging.obj" "C:/MATLAB/R2020a/rtw/c/src/rt_logging.c" gmake: *** [rt_logging.obj] Error 1
C:\VeriStand\Test_veristand_rtw>echo The make command returned an error of 2 The make command returned an error of 2
I have attached the screenshots of the simulink model,of the complete error message and of the code generation settings.
Thank you.
Have you tried selecting C++ instead of C as language?