I use a right Configuration Environment to compile a model to .dll file, but I meet the following faults.If I tick some option in Advanced parameters of Optimization,it can be compiled,but the module information is missing when importing the compiled model.What is this problem ?
命令行参数: 参见前面的“NI_VERISTAND_MAINMODELFILE”定义
### Compiling ni_modelframework.c cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0x0500 -DNTDDI_VERSION=0x05000000 -D_WIN32_IE=0x0500 -DWINVER=0x0500 -D_MT -D_DLL -MD /wd4996 /fp:precise -Od /MD -DUSE_RTMODEL -DNI_ROOTMODEL_Vehicle_Planetary_0705_IO -DMODEL=Vehicle_Planetary_0705_IO -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=9 -DMT=0 -DHAVESTDIO -DNATIONAL_INSTRUMENTS_SIT -D_CRT_SECURE_NO_DEPRECATE ni_modelframework.c ni_modelframework.c
### Aborted due to an error in the build procedure for model: Vehicle_Planetary_0705_IO
The call to NIVeriStand_make_rtw_hook, during the exit hook generated the following error:
VeriStand: The build procedure failed to compile the model:
Vehicle_Planetary_0705_IO. This might be the result of a failed linking or compile operation of the binary file.
For more information, refer to the error message generated in the MATLAB Command Window.
If MATLAB reports error LNK1123, make sure to apply all service packs and updates for your version of Microsoft Visual Studio or Windows SDK. For more information about this error, refer to Microsoft article KB2757355.
The build process will terminate as a result.
Caused by:
· VeriStand: The build procedure failed to compile the model:
Vehicle_Planetary_0705_IO. This might be the result of a failed linking or compile operation of the binary file. For more information, refer to the error message generated in the MATLAB Command Window. If MATLAB reports error LNK1123, make sure to apply all service packs and updates for your version of Microsoft Visual Studio or Windows SDK. For more information about this error, refer to Microsoft article KB2757355.