Here are my guesses about your query. (Note: It is very difficult to find
the source of these errors without seeing what exactly are you doing.)
1.
I guess you are mixing non-standard C++ headers with the standard C++
headers.
Ex: -
Non-standard headers
iostream.h (#include <iostream.h> )
vector.h (#include <vector.h> )
Standard C++ headers
iostream (#include <iostream> )
vector (#include <vector> )
Stick to the C++ standard .
2.
stdafx.h should be included first before the other headers.( if you are in
win32)
3.
_static_ keyword should not be prepended with the function header when it
is defined.
class static_class
{
public:
static void display() ;
} ;
static void static_class::display() // <<------WRONG. static should not be
given here.
{
}
Still I have more in my mind. Just confirm the above possibilities. Then we
can proceed.
-Nithyanand.
Siemens, Bangalore, India.
-----Original Message-----
From: Ameeta [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 4:51 PM
To: Rose_Forum (E-mail)
Subject: (ROSE) Build Errors
Hi,
Below is the build error i am recieving when i try to build a component
"Network" that has 2 capsules "Static and Context and 2 protocols:assign and
request.
What does
"../src\Network.h(53) : error C2208: 'class RTActorRef' : no members
defined using this type
../src/Network.cpp(60) : error C2059: syntax error : 'static '
../src/Network.cpp(123) : error C2065: 'request' : undeclared identifier "
mean in the following build log---
!> Compiling Assign
Assign.cpp
!> Compiling Context
Context.cpp
!> Compiling Network
Network.cpp
../src\Network.h(53) : error C2208: 'class RTActorRef' : no members defined
using this type
../src/Network.cpp(60) : error C2059: syntax error : 'static '
../src/Network.cpp(123) : error C2065: 'request' : undeclared identifier
../src/Network.cpp(123) : error C2228: left of '.CreateRequest' must have
class/struct/union type
../src/Network.cpp(123) : error C2228: left of '.send' must have
class/struct/union type
../src/Network.cpp(272) : error C2059: syntax error : ')'
../src/Network.cpp(274) : error C2039: 'RTComponentDescriptor' : is not a
member of 'Network_Actor'
../src\Network.h(24) : see declaration of 'Network_Actor'
../src/Network.cpp(274) : error C2039: 'RTComponentDescriptor' : is not a
member of 'Network_Actor'
../src\Network.h(24) : see declaration of 'Network_Actor'
../src/Network.cpp(274) : error C2653: 'RTComponentDescriptor' : is not a
class or namespace name
Rgds,
Ameeta
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************