What is this PPC compiler error in dSPACE?

조회 수: 124(최근 30일)
Muhammed Fasil
Muhammed Fasil 2016년 5월 26일
댓글: JCS 2020년 2월 17일
======================================================================================== Configuring dSPACE® Software for MATLAB® 7.11.2.1031 (R2010b) Service Pack 2 ...
RTI Real-Time Interface to Simulink (RTI1104) 6.6 29-Nov-2010 okay RTIFPGA RTI FPGA Programming Blockset 2.0 29-Nov-2010 okay MLIB/MTRACE MATLAB-dSPACE Interface Libraries 4.7.1 29-Nov-2010 okay DSSIMULINK ControlDesk to Simulink Interface 3.7 29-Nov-2010 okay ========================================================================================
* RTI Platform Support RTI1104 activated. * You have RTI relevant MATLAB Toolboxes or Simulink Blocksets installed. Details: Toolboxes Compatibility Information
---------------------------------------------------------------------- Starting build procedure with RTI 6.6 (RTI1104, 29-Nov-2010) Model: "untitled" (D:\untitled.mdl) ---------------------------------------------------------------------- * Using configuration set : "Configuration" * Working directory : "D:\" * Initializing code generation ### Starting Real-Time Workshop build procedure for model: untitled ### Generating code into build directory: D:\untitled_rti1104 Warning: The model 'untitled' does not have continuous states, hence Simulink is using the solver 'FixedStepDiscrete' instead of solver 'ode5'. 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 * Optional User System Description File untitled_usr.sdf not available ### Invoking Target Language Compiler on untitled.rtw ### Using System Target File: d:\dSPACE7.0\matlab\rti1104\tlc\rti1104.tlc . ### Loading TLC function libraries .... ### Initial pass through model to cache user defined code .. * Postprocessing RTI blocks * Starting I/O block checking
* RTI Build: Invoking TLCCheck: + rti1104check()... passed. * Passed I/O block checking ### Caching model source code ............................ ### Writing header file untitled.h ### Writing header file untitled_types.h ### Writing source file untitled.c . ### Writing header file rtwtypes.h ### Writing header file untitled_private.h ### Writing header file rtmodel.h . ### Writing source file untitled_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. ### Generating TLC interface API. ... * Generating file untitled_rti.c * Generating file untitled_rti.mk * Generating Variable Description File untitled.trc
------------------------------------------------------------------------------- NOTE: The following option in the Configuration Parameters dialog has been used:
Optimization:
"Conditional input branch execution" On
This leads to code optimization in which blocks are not computed if their
outputs are not required in the simulation step, for example, if their
output values are used as input for a Switch block and the Switch
currently routes another signal. When the corresponding output signals
are displayed in ControlDesk, their values are static.
To ensure that the blocks are computed, turn off the
"Conditional input branch execution" option and rebuild the model.
-------------------------------------------------------------------------------
*** Found User-Code File untitled_usr.c from 26-May-2016 15:11:00
*** Found User Makefile untitled_usr.mk from 26-May-2016 15:11:00
*** Optional User Variable Description File untitled_usr.trc not available
.
### Processing Template Makefile: d:\dSPACE7.0\matlab\rti1104\m\rti1104.tmf
### untitled.mk which is generated from d:\dSPACE7.0\matlab\rti1104\m\rti1104.tmf is up to date
### Building untitled: dsmake -f untitled.mk GENERATE_REPORT=0 EXTMODE_STATIC_ALLOC=0 TMW_EXTMODE_TESTING=0 EXTMODE_STATIC_ALLOC_SIZE=1000000 EXTMODE_TRANSPORT=0
BUILDING APPLICATION "untitled" (Single Timer Task Mode)
WORK DIRECTORY "D:\" BUILD DIRECTORY "D:\untitled_rti1104" TARGET COMPILER "d:\PPCTools37"
ERROR: Cannot find PPC compiler. Possible reasons are: - Compiler not installed. - Environment variable PPC_ROOT not defined. - Environment variable PPC_ROOT points to wrong directory.

답변(2개)

Dariusz Kania
Dariusz Kania 2019년 5월 9일
Hello,
I have the same problem with PPC in matlab. Does anybody know what is the reason and how to fix it? Thank you.
  댓글 수: 2
Jian Gao
Jian Gao 2019년 9월 19일
the step 2, I can not find encrypted parts

댓글을 달려면 로그인하십시오.


Chris Grigas
Chris Grigas 2016년 5월 27일
Hello Mr. Fasil,
I work for the Product Support team at dSPACE Inc and I would be happy to help you with your issue. The error message that you are getting indicates that it is not able to find the PPC compiler in order to compile the code for your DS1104.
There are several possible reasons for this issue. If you could please contact me at support@dspaceinc.com I will be happy to walk you through the steps to resolve your issue.
Best regards,
Chris Grigas dSPACE Inc Product Support
  댓글 수: 2
JCS
JCS 2020년 2월 17일
No @Abdallah, it is related with the PPC which is a proprietary compiler.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by