Sent: Friday, March 16, 2001 5:48
PM
Subject: Models and libraries
Hy.
I'm working with Rose RT 42001.03.00 on a Sun
Sparc Ultra10, with Solaris 8 OS.
I have these product numbers:
-
Account Number: s73439-0-338
- License Key: e05f46bae340
I have two main questions.
1)
I prepared a model (rtmdl), creating a component
as a library (I called it MathLib).
In this model I did the "Control child units"
command at Model, Logical view, and Package level so that all classes of this
library can be shared with another model.
Now I'm working in another RoseRT model,
ElaborationLib, where I shared (using "Share external package" command)
the classes in the MathLib model. I need them in my new lib.
For example, a class CImage in the ElabarationLib has a dependency
to CMatrix from MathLib. When I compile my new library, references to CMatrix
are requested. Building the library make regenerating CMatrix.h and
CMatrix.cpp files and recompiling them too!
This means I'm not using the static library
MathLib.a I created but I duplicated and compiled the sources
again!
I could create a new component in order to link
the MathLib.a as an external library but so I couldn't graphically
visualize the dependency between CMatrix and CImage classes.
My question first is: How can I have both, the
graphical visualization without source code regeneration?
2) Compiling MathLib I see that RoseRT creates a
folder (RTSystem) in the src directory. In the MathLib.h file is included
RTStructures.h. Since MathLib is just a library with passive objects (say
classes and not capsules), real time is not needed. I need RTStructures.h not
to be included 'cause I'm using another external library where there are some
conflicts with RTS library (for example type Integer is defined in both the
libraries).
Is there a flag to explain RoseRT RTS is not
needed at all?
By the way, is there any possibility to recompile
RTS library not only at TargetRTS/target (that is library files relatesd to
the OS) level but also to TargetRTS level (that is general RTRS library
files)?
Thank you for any help.
Andrea Scaggiante
Software
Engineer
Tecnomare SpA - Robotics & Subsea
Via Enrico Caviglia
11
20139 Milano ITALY
Tel +39-02535751
Fax
+39-0255211952
Web: http://www.tecnomare.it