フィルターのクリア

Simulink compiler NMAKE : fatal error U1077 '0x2'

45 ビュー (過去 30 日間)
Paul
Paul 2014 年 8 月 20 日
編集済み: Rajiv Ghosh-Roy 2014 年 8 月 20 日
While trying to build my Simulink Real-time model, the compiler generates the following errors.
C:\PROGRA~1\MATLAB\R2012b\toolbox\rtw\targets\xpc\target\build\xpcblocks\thirdpartydrivers\sg_IO104_ad_s.c(13) : fatal error C1083: Cannot open include file: 'io_xpcimport.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\cl.EXE"' : return code '0x2' Stop.
I tryed:
  • Reinstaling SDK 7.1
  • Reinstaling Visual studio 2010
  • Reinstaling Visual c++ 2010
  • Running Matlab as administrator
  • move build location to C:\Builds
  • turn off 'Signal storage reuse'
PC specs: 64-bit, Matlab 2012b, Microsoft Software Development Kit (SDK) 7.1
Any help would be appreciated.

回答 (1 件)

Rajiv Ghosh-Roy
Rajiv Ghosh-Roy 2014 年 8 月 20 日
編集済み: Rajiv Ghosh-Roy 2014 年 8 月 20 日
Are you sure you have xpctarget.tlc set as your system target file? If not, it won't be able to find the correct header files.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by