Problems on building demo library

1 次查看(过去 30 天)
I'm trying to build a demo from xpclib called xpcserialbaseboardasciisplit.mdl, but when I do it it sends a message of error and in the command windows appears the following set of messages: Does someone know what really is, is there a Windows problem? I'm using a 7 professional edition 64 bits. I don't know whether there is an incompatibility with c compiler c30 that I use to generate C code for a dsPIC controller that I use.
### Starting xPC Target build procedure for model: xpcserialbaseboardasciisplit ### Generating code into build directory: C:\Users\Danilo\Documents\MATLAB\xpcserialbaseboardasciisplit_xpcert_rtw ### Invoking Target Language Compiler on xpcserialbaseboardasciisplit.rtw tlc -r C:\Users\Danilo\Documents\MATLAB\xpcserialbaseboardasciisplit_xpcert_rtw\xpcserialbaseboardasciisplit.rtw C:\Program Files (x86)\MATLAB\R2009b\toolbox\rtw\targets\xpc\xpc\xpctargetert.tlc -OC:\Users\Danilo\Documents\MATLAB\xpcserialbaseboardasciisplit_xpcert_rtw -IC:\Program Files (x86)\MATLAB\R2009b\toolbox\rtw\targets\xpc\xpc -IC:\Program Files (x86)\MATLAB\R2009b\toolbox\rtw\targets\xpc\target\build\xpcblocks\tlc_c -IC:\Users\Danilo\Documents\MATLAB\xpcserialbaseboardasciisplit_xpcert_rtw\tlc -IC:\Program Files (x86)\MATLAB\R2009b\rtw\c\tlc\mw -IC:\Program Files (x86)\MATLAB\R2009b\rtw\c\tlc\lib -IC:\Program Files (x86)\MATLAB\R2009b\rtw\c\tlc\blocks -IC:\Program Files (x86)\MATLAB\R2009b\rtw\c\tlc\fixpt -IC:\Program Files (x86)\MATLAB\R2009b\stateflow\c\tlc -aEnforceIntegerDowncast=1 -aFoldNonRolledExpr=0 -aInlineInvariantSignals=0 -aInlineParameters=0 -aLocalBlockOutputs=0 -aRollThreshold=5 -aZeroInternalMemoryAtStartup=1 -aZeroExternalMemoryAtStartup=1 -aInitFltsAndDblsToZero=1 -aForceBlockIOInitOptimize=0 -aGenerateReport=0 -aGenCodeOnly=0 -aRTWVerbose=1 -aIncludeHyperlinkInReport=0 -aLaunchReport=0 -aGenerateTraceInfo=0 -aForceParamTrailComments=0 -aGenerateComments=1 -aIgnoreCustomStorageClasses=1 -aIncHierarchyInIds=0 -aMaxRTWIdLen=31 -aShowEliminatedStatements=0 -aIncDataTypeInIds=0 -aInsertBlockDesc=0 -aIgnoreTestpoints=0 -aSimulinkBlockComments=1 -aInlinedPrmAccess="Literals" -aTargetFcnLib="ansi_tfl_table_tmw.mat" -aGenFloatMathFcnCalls="ANSI_C" -aIsPILTarget=0 -aIncludeMdlTerminateFcn=1 -aCombineOutputUpdateFcns=0 -aSuppressErrorStatus=0 -aERTCustomFileBanners=0 -aLogVarNameModifier="rt_" -aGenerateFullHeader=1 -aGenerateSampleERTMain=0 -aMatFileLogging=1 -aMultiInstanceERTCode=0 -aPurelyIntegerCode=0 -aPortableWordSizes=0 -aRL32ModeModifier="Real-Time" -aExtMode=1 -aExtModeMexArgs="" -aExtModeArmWhenConnect=0 -aRL32LogTETModifier=1 -aRL32LogBufSizeModifier="100000" -aRL32IRQSourceModifier="Timer" -axPCIRQSourceBoard="None/Other" -axPCIOIRQSlot="-1" -axpcDblBuff=0 -axpcObjCom=0 -axPCGenerateASAP2=0 -aRL32ObjectName="tg" -axPCisDownloadable=1 -axPCisDefaultEnv=1 -axPCTargetPCEnvName="" -axPCisModelTimeout=1 -axPCModelTimeoutSecs="5" -axPCLoadParamSetFile=0 -axPCOnTgtParamSetFileName="" -aGenerateTraceInfo=0 -aIgnoreTestpoints=0 -aProtectedModelReferenceTarget=0 -p10000
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 header file xpcserialbaseboardasciisplit_types.h ### Writing header file xpcserialbaseboardasciisplit.h . ### Writing source file xpcserialbaseboardasciisplit.c ### Writing source file xpcserialbaseboardasciisplit_capi.c ### Writing header file xpcserialbaseboardasciisplit_capi.h . ### Writing header file xpcserialbaseboardasciisplit_private.h ### Writing header file rtmodel.h ### Writing source file xpcserialbaseboardasciisplit_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 xpcserialbaseboardasciisplit_dt.h . ### Creating xPC Options Header file xpcoptions.h. . ### Creating xPC Definition File xpcvcdll.def ### Creating model Hierarchy xml xpcserialbaseboardasciisplit.xml ................. ### Creating model xpcserialbaseboardasciisplit_ref.m ### Patch bio and pt M-file ### Create sorted BIO ### Create sorted PT ### Patch xml-file ### Creating project marker file: rtw_proj.tmw . ### Processing Template Makefile: C:\Program Files (x86)\MATLAB\R2009b\toolbox\rtw\targets\xpc\xpc\xpcert_vc.tmf ### Creating xpcserialbaseboardasciisplit.mk from C:\Program Files (x86)\MATLAB\R2009b\toolbox\rtw\targets\xpc\xpc\xpcert_vc.tmf ### Building xpcserialbaseboardasciisplit: .\xpcserialbaseboardasciisplit.bat
C:\Users\Danilo\Documents\MATLAB\xpcserialbaseboardasciisplit_xpcert_rtw>set MATLAB=C:\Program Files (x86)\MATLAB\R2009b
C:\Users\Danilo\Documents\MATLAB\xpcserialbaseboardasciisplit_xpcert_rtw>set MSVCDir=c:\program files (x86)\microsoft visual studio 9.0\VC
C:\Users\Danilo\Documents\MATLAB\xpcserialbaseboardasciisplit_xpcert_rtw>"C:\Program Files (x86)\MATLAB\R2009b\rtw\bin\win32\envcheck" INCLUDE "c:\program files (x86)\microsoft visual studio 9.0\VC\include"
C:\Users\Danilo\Documents\MATLAB\xpcserialbaseboardasciisplit_xpcert_rtw>if errorlevel 1 goto vcvars32
C:\Users\Danilo\Documents\MATLAB\xpcserialbaseboardasciisplit_xpcert_rtw>set VSINSTALLDIR=c:\program files (x86)\microsoft visual studio 9.0
C:\Users\Danilo\Documents\MATLAB\xpcserialbaseboardasciisplit_xpcert_rtw>set VCINSTALLDIR=c:\program files (x86)\microsoft visual studio 9.0\VC
C:\Users\Danilo\Documents\MATLAB\xpcserialbaseboardasciisplit_xpcert_rtw>set FrameworkSDKDir=c:\program files (x86)\microsoft visual studio 9.0\SDK\v3.5
C:\Users\Danilo\Documents\MATLAB\xpcserialbaseboardasciisplit_xpcert_rtw>call "C:\Program Files (x86)\MATLAB\R2009b\toolbox\rtw\rtw\private\vcvars32_900.bat" \Microchip\xc16\v1.11\bin";C:\Program Files (x86)\Microchip\xc32\v1.21\bin" was unexpected at this moment. C:\Users\Danilo\Documents\MATLAB\xpcserialbaseboardasciisplit_xpcert_rtw> set "PATH=C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin;C:\Program Files (x86)\MATLAB\R2009b\bin\win32;C:\Program Files (x86)\MATLAB\R2009b\sys\java\jre\win32\jre\bin;C:\Program Files (x86)\MATLAB\R2009b\sys\webrenderer\windows\corecomponents;C:\Program Files (x86)\MATLAB\R2009b\sys\webrenderer\windows;C:\Program Files (x86)\Microchip\mplabc18\v3.46\mpasm;C:\Program Files (x86)\Microchip\mplabc18\v3.46\bin;C:\Program Files (x86)\Microchip\MPLAB C30\bin;C:\Program Files (x86)\Microchip\xc16\v1.11\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\MATLAB\R2009b\runtime\win32;C:\Program Files (x86)\MATLAB\R2009b\bin;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;"C:\Program Files (x86)\Microchip\xc16\v1.11\bin";C:\Program Files (x86)\Microchip\xc32\v1.21\bin"

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Build MATLAB Interface to C++ Library 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by