VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Compiling a Simulink Model with Veristand for Windows Target

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. 

0 Kudos
Message 1 of 3
(801 Views)

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?

 

0 Kudos
Message 2 of 3
(457 Views)

@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?

0 Kudos
Message 3 of 3
(408 Views)