Compile Errors RTW build with xpcscope on Version R13
Ältere Kommentare anzeigen
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 Kommentare
Kaustubha Govind
am 18 Okt. 2011
Could you paste the relevant lines from raster2rtw_1.c(58 & 59)?
mslivehelp
am 11 Apr. 2016
Here is a place to solve all types of computer and windows error code like error 0x80004005, code 3000 and more ! -
Antworten (0)
Kategorien
Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!