Why do I receive "NMAKE : fatal error U1077" errors when trying to build my model using S-Function Target with the "Rectangular QAM Modulator Baseband" block?
2 次查看(过去 30 天)
显示 更早的评论
Why do I receive errors when trying to build my model using S-Function Target with the "Rectangular QAM Modulator Baseband" block in Communications Blockset 2.0 (R12)?
I have a model that uses the "Rectangular QAM Modulator Baseband" block. I would like to build this model into an S-Function using the S-Function Target of Real-Time Workshop, but I get the following errors in the MATLAB command window:
### Compiling SfunQAM_sf.c
D:\matlabr12\bin\win32\mex -c -O -f D:\matlabr12\bin\win32\mexopts\msvc60opts.bat SfunQAM_sf.c
### Linking ...
D:\matlabr12\sys\perl\win32\bin\perl D:\matlabr12\rtw\c\tools\mkvc_lnk.pl SfunQAM.lnk SfunQAM_sf.obj
D:\matlabr12\bin\win32\mex -O -f D:\matlabr12\bin\win32\mexopts\msvc60opts.bat @SfunQAM.lnk D:\matlabr12\rtw\c\lib\win32\rtwlib_rtwsfcn_vc.lib -outdir ..
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
SfunQAM_sf.obj D:\matlabr12\rtw\c\lib\win32\rtwlib_rtwsfcn_vc.lib ..\mexversion.res
Creating library ..\_lib4042.x and object ..\_lib4042.exp
SfunQAM_sf.obj : error LNK2001: unresolved external symbol _ssSetOutputPortSampleTimeIndex
SfunQAM_sf.obj : error LNK2001: unresolved external symbol _ssSetInputPortSampleTimeIndex
..\SfunQAM_sf.dll : fatal error LNK1120: 2 unresolved externals
D:\MATLABR12\BIN\WIN32\MEX.PL: Error: Link of '..\SfunQAM_sf.dll' failed.
NMAKE : fatal error U1077: 'D:\matlabr12\bin\win32\mex' : return code '0xff'
Stop.
I also get an RTW Builder Error Dialog Box with the following error:
Error executing build command: Error using ==> make_rtw
Error using ==> rtw_c
Error: Link of '..\SfunQAM_sf.dll' failed.
采纳的回答
MathWorks Support Team
2009-6-27
This problem has been fixed in the Real-Time Workshop Embedded Coder 3.0 (6.5). Please upgrade to this version to resolve this issue.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Block and Blockset Authoring 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!