Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: RTW and DSP problem!!
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Dan Hellgren

Posts: 7
Registered: 12/7/04
RTW and DSP problem!!
Posted: Oct 30, 1997 3:23 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I can not make my RTW build to work.
I am working on a PC and uses MATLAB 5.1, SIMULINK2.1 RTW2.1 and gmake.
What I am trying to do is to produce executable code for the TMS320C44
DSP.
The generation and compilation of the model (test1.c) seems to work fine
(se below) , but it can not compile ‘rt_main.c’ !.
I am using ‘grt_main.c’: should I modify it somehow?? The RTW users
guide doesn’t help.
It complains about "'int16_T' undefined", but the compiler have access
to the necessary header files.
I have successfully used the compiler switches (se below) on RTW1.1.
I have been working on this problem for a week now, so if anyone could
give me a hint I would be ever so grateful.
Kind regards
Dan.

-----------
### Starting RTW build procedure for model: test1
### Invoking Target Language Compiler on test1.rtw
### Loading TMW TLC function libraries
### Initial pass through model to cache user defined code
### Creating source file test1.c
### Creating part 1 of registration file test1.reg
### Creating parameter file test1.prm
### Creating model header file test1.h
### Creating part 2 of registration file test1.reg
### TLC code generation complete.
### test1.mk which is generated from C:\MATLAB5\rtw\c\moris\moris.tmf is
up to date
### Building test1: gmake -f test1.mk
*** 1 *** Compiling test1.c
c:\Texas\cl30 -v40 -qq -eo .o40 -x2 -O2 -g -mn -DMODEL=test1 -DRT
-DNUMST=2 -DTID01EQ=1 -DNCSTATES=1 test1.c
*** 2 *** Compiling rt_main.c
c:\Texas\cl30 -v40 -qq -eo .o40 -x2 -O2 -g -mn -DMODEL=test1 -DRT
-DNUMST=2 -DTID01EQ=1 -DNCSTATES=1 rt_main.c
"rt_main.c", line 326: [F108] 'int16_T' undefined
"rt_main.c", line 326: [F001] syntax error at or near symbol 'one'
"rt_main.c", line 330: [F108] 'machByteOrder' undefined
"rt_main.c", line 330: [F108] 'int8_T' undefined
"rt_main.c", line 330: [F001] syntax error at or near symbol ')'
"rt_main.c", line 335: [F108] 'LittleEndian' undefined
"rt_main.c", line 335: [F165] non-constant case value
"rt_main.c", line 351: [F108] 'BigEndian' undefined
"rt_main.c", line 351: [F165] non-constant case value
"rt_main.c", line 372: [F108] 'LittleEndian' undefined
"rt_main.c", line 372: [F165] non-constant case value
"rt_main.c", line 397: [F108] 'BigEndian' undefined
"rt_main.c", line 397: [F165] non-constant case value
GMAKE.EXE: *** [rt_main.o40] Error 255
--------------

----------------------------------------------------------------------------

Dan Hellgren E-mail: Dan.Hellgren@cca.hh.se

Centre for Computer Systems Architecture WWW : http://www.hh.se/cca
Halmstad University Phone: ++ 46 35 167236
Box 823 Fax : ++ 46 35 120348
S-30118 Halmstad
Sweden

----------------------------------------------------------------------------





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.