Compile Errors RTW build with xpcscope on Version R13

Adding Target Scope 'Scope(xpc)' to simulink model causes RTW Build to fail from errors in generated C-code. How do I get it to compile?
The first few comile errors are shown below. _____________________________ Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
### Compiling raster2rtw_1.c
cl -Ot -DUSE_RTMODEL -DMODEL=raster2rtw_1 -DRT -DNUMST=1 -DTID01EQ=0 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D_WINNT -D_WIN32_WINNT=0x0400 -D_WIN32_IE=0x0300 -DWINVER=0x0400 -DWIN32 -D_WIN32 raster2rtw_1.c
raster2rtw_1.c
raster2rtw_1.c(58) : error C2143: syntax error : missing ')' before '*'
raster2rtw_1.c(58) : error C2059: syntax error : ')'
raster2rtw_1.c(59) : error C2143: syntax error : missing ')' before '*'
raster2rtw_1.c(59) : error C2182: 'XPCCALLCONV' : illegal use of type 'void'
raster2rtw_1.c(59) : error C2086: 'XPCCALLCONV' : redefinition
.
.
.
.

2 件のコメント

Kaustubha Govind
Kaustubha Govind 2011 年 10 月 18 日
Could you paste the relevant lines from raster2rtw_1.c(58 & 59)?
mslivehelp
mslivehelp 2016 年 4 月 11 日
Here is a place to solve all types of computer and windows error code like error 0x80004005, code 3000 and more ! -

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

質問済み:

Cal
2011 年 10 月 17 日

コメント済み:

2016 年 4 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by