Why do I receive errors when trying to build my model which has a diamondsystems AD/DA using xPC Target 5.2 (R2012a)?

1 回表示 (過去 30 日間)
When I try to build my model using the xpctarget.tlc system target file, I receive the following errors:
### Compiling test_data.c
cl -D_MT -MT /wd4996 /fp:precise /W3 /c /nologo /O2 /Oy- -DMODEL=test -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE test_data.c test_data.c
### Compiling xpc_datatype_ground.c
cl -D_MT -MT /wd4996 /fp:precise /W3 /c /nologo /O2 /Oy- -DMODEL=test -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE xpc_datatype_ground.c xpc_datatype_ground.c
### Compiling xpctarget.c
cl -D_MT -MT /wd4996 /fp:precise /W3 /c /nologo /O2 /Oy- -DMODEL=test -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE C:\PROGRA~1\MATLAB\R2012a\toolbox\rtw\targets\xpc\target\build\src\xpctarget.c xpctarget.c
### Linking ...
C:\PROGRA~1\MATLAB\R2012a\sys\perl\win32\bin\perl C:\PROGRA~1\MATLAB\R2012a\rtw\c\tools\mkvc_lnk.pl test.lnk test.obj rtGetInf.obj rtGetNaN.obj rt_logging.obj rt_logging_mmi.obj rt_matrx.obj rt_nonfinite.obj rt_printf.obj rtw_modelmap_utils.obj test_capi.obj test_data.obj xpc_datatype_ground.obj xpctarget.obj
link /NOLOGO /DLL /SUBSYSTEM:CONSOLE /DEF:xpcvcdll.def /Include:_malloc C:\PROGRA~1\MATLAB\R2012a\toolbox\rtw\targets\xpc\target\build\lib\libatlas.a C:\PROGRA~1\MATLAB\R2012a\toolbox\rtw\targets\xpc\target\build\lib\libcblas.a xpcruntime.lib @test.lnk @test_ref.rsp -out:test_xpc.dll
Creating library test_xpc.lib and object test_xpc.exp
test.obj : error LNK2019: unresolved external symbol _addsmm16at,referenced in function _test
test.obj : error LNK2019: unresolved external symbol _dadsmm16at,referenced in function _test
test_xpc.dll : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: “"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\link.EXE"”: return code“0x460” Stop.
The make command returned an error of 2

回答 (0 件)

カテゴリ

Help Center および File ExchangeTarget Computer Setup についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by