'An error occurred during call to make' is not recognized as an internal or external command,operable program or batch file

Whil building simulink model Matalb is throwing below error:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\sal.h(2866) : warning RC4005: '__useHeader' : redefinition
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\sal.h(2876) : warning RC4005: '__on_failure' : redefinition
ADAS_HILS_Model.c
ADAS_HILS_Model_capi.c
ADAS_HILS_Model_capi.c(336642): warning C4305: 'initializing': truncation from 'int' to 'int8_T'
ADAS_HILS_Model_capi.c(336651): warning C4305: 'initializing': truncation from 'int' to 'int8_T'
ADAS_HILS_Model_data.c
rtGetInf.c
rtGetNaN.c
rt_look.c
rt_look1d.c
rt_look2d_normal.c
rt_nonfinite.c
rt_zcfcn.c
### Linking ...
ADAS_HILS_Model.obj : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
Creating library Release/ADAS_HILS_Model.lib and object Release/ADAS_HILS_Model.exp
Generating code
c:\matlab\r2015b\rtw\c\canoe\devices\cncomm.cpp(2557) : error C4703: potentially uninitialized local pointer variable 'memberNameBegin' used
c:\matlab\r2015b\rtw\c\canoe\devices\cncomm.cpp(2241) : error C4703: potentially uninitialized local pointer variable 'memberNameBegin' used
LINK : fatal error LNK1257: code generation failed
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.EXE"' : return code '0x4e9'
Stop.
The make command returned an error of 2
'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command,
operable program or batch file.

Answers (0)

Categories

Asked:

on 1 Aug 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!