SIL error when compiling
1 回表示 (過去 30 日間)
古いコメントを表示
I have Visual Studio 2010 C++ express and SDK 7.1 installed yet when I try to run the SIL example I get the following errors. I have tried the solution from http://www.mathworks.co.uk/matlabcentral/answers/95399-why-is-the-build-process-failing-for-a-shipped-model-in-simulink-v8-1-r2013a however this does not work.
Trial>> rtwdemo_sil_pil_script ### Starting build procedure for model: Controller Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. ### Compiling Controller.c cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -D_AMD64_=1 -DWIN64 -D_WIN64 -DWIN32 -D_WIN32 -W4 -D_WINNT -D_WIN32_WINNT=0x0500 -DNTDDI_VERSION=0x05000000 -D_WIN32_IE=0x0500 -DWINVER=0x0500 -D_MT -MT -D_CRT_SECURE_NO_WARNINGS /Od /Oy- -DMODEL=Controller -DNUMST=1 -DNCSTATES=0 -DMAT_FILE=0 -DINTEGER_CODE=0 -DONESTEPFCN=1 -DTERMFCN=0 -DHAVESTDIO -DMULTI_INSTANCE_CODE=0 -DCLASSIC_INTERFACE=0 -DMT=0 -DPORTABLE_WORDSIZES Controller.c Controller.c NMAKE : fatal error U1073: don't know how to make 'C:\Program' 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. ### Build procedure for model: 'Controller' aborted due to an error. Error using rtwbuild (line 241) Error(s) encountered while building model "Controller" Error in rtwdemo_sil_pil_script (line 90) rtwbuild([model '/Controller'])
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!