Errors with board NE6025E in xpc target

Hello.
I use xpc target in the two-machine configuration. I have created a model that use the D / A NE6025E. When I click on "build model" real-ting Tim Work shope, In the command window:
### Starting xPC Target build procedure for model: plata6025e ### Generating code into build directory: D:\plata6025e_xpc_rtw Warning: The model 'plata6025e' does not have continuous states, hence Simulink is using the solver 'FixedStepDiscrete' instead of solver 'ode3'. You can disable this diagnostic by explicitly specifying a discrete solver in the solver tab of the Configuration Parameters dialog, or by setting the 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics tab of the Configuration Parameters dialog ### Invoking Target Language Compiler on plata6025e.rtw ### Using System Target File: D:\Matlab\toolbox\rtw\targets\xpc\xpc\xpctarget.tlc Warning: This model contains blocks that do not handle sample time changes at runtime. To avoid incorrect results, only change the sample time in the original model, then rebuild the model. ### Loading TLC function libraries ..... ### Initial pass through model to cache user defined code .. ### Caching model source code ............ ### Generating TLC interface API. ......... ### Writing source file plata6025e_capi.c ... ### Writing header file plata6025e_capi.h .......................... ### Writing header file plata6025e.h . ### Writing header file plata6025e_types.h ### Writing header file rtwtypes.h ### Writing source file plata6025e.c . ### Writing header file plata6025e_private.h ### Writing header file rtmodel.h ### Writing source file plata6025e_data.c . ### Writing header file rt_nonfinite.h ### Writing source file rt_nonfinite.c ### Writing header file rtGetInf.h . ### Writing source file rtGetInf.c ### Writing header file rtGetNaN.h ### Writing source file rtGetNaN.c . ### TLC code generation complete. ### Creating data type transition file plata6025e_dt.h ### Creating xPC Options Header file xpcoptions.h. . ### Creating xPC Definition File xpcvcdll.def ### Creating model Hierarchy xml plata6025e.xml . ### Creating model plata6025e_ref.m ### Patch bio and pt MATLAB files ### Create sorted BIO ### Create sorted PT ### Patch xml-file . ### Processing Template Makefile: D:\Matlab\toolbox\rtw\targets\xpc\xpc\xpc_vc.tmf ### plata6025e.mk which is generated from D:\Matlab\toolbox\rtw\targets\xpc\xpc\xpc_vc.tmf is up to date ### Building plata6025e: .\plata6025e.bat
D:\plata6025e_xpc_rtw>set MATLAB=D:\Matlab
D:\plata6025e_xpc_rtw>set MSVCDir=c:\program files\microsoft visual studio\vc98
D:\plata6025e_xpc_rtw>set MSDevDir=c:\program files\microsoft visual studio\common\msdev98
D:\plata6025e_xpc_rtw>"D:\Matlab\rtw\bin\win32\envcheck" INCLUDE "c:\program files\microsoft visual studio\vc98\include"
D:\plata6025e_xpc_rtw>if errorlevel 1 goto vcvars32
D:\plata6025e_xpc_rtw>"D:\Matlab\rtw\bin\win32\envcheck" PATH "c:\program files\microsoft visual studio\vc98\bin"
D:\plata6025e_xpc_rtw>if errorlevel 1 goto vcvars32
D:\plata6025e_xpc_rtw>goto make
D:\plata6025e_xpc_rtw>cd .
D:\plata6025e_xpc_rtw>nmake -f plata6025e.mk GENERATE_REPORT=0 EXT_MODE=1
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
### Compiling plata6025e.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE plata6025e.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' plata6025e.c ### Compiling plata6025e_capi.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE plata6025e_capi.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' plata6025e_capi.c ### Compiling plata6025e_data.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE plata6025e_data.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' plata6025e_data.c ### Compiling rtGetInf.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE rtGetInf.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' rtGetInf.c ### Compiling rtGetNaN.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE rtGetNaN.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' rtGetNaN.c ### Compiling D:\Matlab\rtw\c\src\rt_logging.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE D:\Matlab\rtw\c\src\rt_logging.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' rt_logging.c ### Compiling D:\Matlab\rtw\c\src\rt_logging_mmi.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE D:\Matlab\rtw\c\src\rt_logging_mmi.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' rt_logging_mmi.c ### Compiling D:\Matlab\rtw\c\src\rt_matrx.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE D:\Matlab\rtw\c\src\rt_matrx.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' rt_matrx.c ### Compiling rt_nonfinite.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE rt_nonfinite.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' rt_nonfinite.c ### Compiling D:\Matlab\rtw\c\src\rt_printf.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE D:\Matlab\rtw\c\src\rt_printf.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' rt_printf.c ### Compiling D:\Matlab\rtw\c\src\rtw_modelmap_utils.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE D:\Matlab\rtw\c\src\rtw_modelmap_utils.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' rtw_modelmap_utils.c ### Compiling xpc_datatype_ground.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE xpc_datatype_ground.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' xpc_datatype_ground.c ### Compiling xpctarget.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE D:\Matlab\toolbox\rtw\targets\xpc\target\build\src\xpctarget.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' xpctarget.c ### Compiling D:\Matlab\toolbox\rtw\targets\xpc\target\build\xpcblocks\include\xpcimports.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE D:\Matlab\toolbox\rtw\targets\xpc\target\build\xpcblocks\include\xpcimports.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' xpcimports.c ### Compiling D:\Matlab\toolbox\rtw\targets\xpc\target\build\xpcblocks\include\xpcPCFunctions.c cl -DWIN32 -D_WIN32 -D_MT -MT /Op /W3 /c /nologo /O2 /Oy- -DMODEL=plata6025e -DRT -DNUMST=2 -DTID01EQ=1 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -DXPCMSVISUALC -DXPCCALLCONV=__cdecl -DUSE_RTMODEL -DERT_CORE D:\Matlab\toolbox\rtw\targets\xpc\target\build\xpcblocks\include\xpcPCFunctions.c Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' xpcPCFunctions.c lib /nologo /out:xpcruntime.lib xpcimports.obj xpcPCFunctions.obj ### Linking ... D:\Matlab\sys\perl\win32\bin\perl D:\Matlab\rtw\c\tools\mkvc_lnk.pl plata6025e.lnk plata6025e.obj plata6025e_capi.obj plata6025e_data.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 xpc_datatype_ground.obj xpctarget.obj link /NOLOGO /DLL /SUBSYSTEM:CONSOLE /DEF:xpcvcdll.def /Include:_malloc D:\Matlab\toolbox\rtw\targets\xpc\target\build\lib\libatlas.a D:\Matlab\toolbox\rtw\targets\xpc\target\build\lib\libcblas.a xpcruntime.lib @plata6025e.lnk -out:plata6025e_xpc.dll Creating library plata6025e_xpc.lib and object plata6025e_xpc.exp plata6025e.obj : error LNK2001: unresolved external symbol _danipcie plata6025e_xpc.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'link' : return code '0x460' Stop.
D:\plata6025e_xpc_rtw>echo The make command returned an error of 2 The make command returned an error of 2
D:\plata6025e_xpc_rtw>An_error_occurred_during_the_call_to_make "An_error_occurred_during_the_call_to_make" ­Ґ пў«пҐвбп ў­гв७­Ґ© Ё«Ё ў­Ґи­Ґ© Є®¬ ­¤®©, ЁбЇ®«­пҐ¬®© Їа®Ја ¬¬®© Ё«Ё Ї ЄҐв­л¬ д ©«®¬. >>
and then show an error of model "error (s) encountered while building model"
Please , help me.

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Asked:

on 20 Nov 2012

Community Treasure Hunt

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

Start Hunting!