[orbitcpp-list] What's this?
Status: Beta
Brought to you by:
philipd
From: Bruce I. <bru...@ec...> - 2000-07-19 18:48:40
|
I recently downloaded and compiled OrbitCPP, but I'm kind of fumbling around in the dark here, so please forgive me if this is a stupid question. I've created a cheesy little stack IDL modelling off the examples. The IDL compiled, and I created a teststack-impl.hh and teststack-impl.cc and derived the classes as I see the examples are. The problem is when I try to compile the this tiny bit of code (using g++ -c teststack-impl.cc `orbitcpp-config --cflags server` I get the following errors: teststack-cpp-skels.hh:18: parse error before `m_cservant' teststack-cpp-skels.hh:24: parse error before `_TestModule_MyStack_epv' teststack-cpp-skels.hh:25: parse error before `_vepv' Along with a bunch of unhappy C++ fluff messages that I can post here if necessary. Looking at teststack-cpp-skels.hh, I see the following code: ... public: struct _orbitcpp_Servant { ::_orbitcpp::c::POA_TestModule_MyStack m_cservant; // <-- Line 18 POA_TestModule::MyStack *m_cppservant; } m_target; ... This strikes me as kind of strange (But I'm fairly new to C++, too.) Is this supposed to be happening? Did I miss a necessary flag when using orbit-idl (I did orbit-idl -lc++ teststack.idl) Am I missing a necessary C flag or include file? Any insights would be appreciated. PS: FWIW, I'm currently on GCC Version 2.95.2, which I downloaded and compiled off prep.ai.mit.edu after the egcs that came with RedHat crapped out trying to compile OrbitCPP. I have the correctly patched version of ORBIT from the orbitcpp FTP site on my system. The system is running RedHat 6.2. Please let me know if any more information is needed. -- Bruce Ide bru...@ec... "GP: Is Eris True?" "M2: Everything is true." "GP: Even false things?" "M2: Even false things are true." "GP: How can that be?" "M2: I don't know, man. I didn't do it." |