Hi,
I have defined my own transport plug-in for Images. It works fine with TAO, but I have the following error when compiling with OmniORB:
@ corba/CVCorbaConversion.h:105: erreur: no match for ‘operator>>=’ in ‘any >>= result’
That's in function
@ static bool update(const CORBA::Any& any, StdType& _value)
And the compiler proposes a huge number of existing conversions but I don't know what to do (any cast possible?).
TAO is a bit big for me (the embedded computer is short in memory) and OmniORB seems a good alternative.
Thanks for any ideas.
Charles.
Error compiling a transport plugin with OmniORB
On Thursday 12 March 2009 08:47:17 charles [dot] lesire [..] ... wrote:
> Hi,
>
> I have defined my own transport plug-in for Images. It works fine with TAO,
> but I have the following error when compiling with OmniORB:
>
> @ corba/CVCorbaConversion.h:105: erreur: no match for ‘operator>>=’ in ‘any
> >>= result’
>
> That's in function
> @ static bool update(const CORBA::Any& any, StdType& _value)
>
> And the compiler proposes a huge number of existing conversions but I don't
> know what to do (any cast possible?).
The any operator>>= is/must be defined in your client header which got
generated from your Image idl file. I'm guessing that you forgot to turn on the
generation of the operator>>= function in OMNIORB. It's probably by default on
for TAO, which explains why it works there.
You can grep for operator>>= in your generated code to check if it's there in
any file, or check the omniorb docs on how to enable the generation of that
function.
Peter
--
Peter Soetens -- FMTC -- <http://www.fmtc.be>
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
Error compiling a transport plugin with OmniORB
type: forum
tid: 63
status: 1
Error compiling a transport plugin with OmniORB
On Wednesday 18 March 2009 08:51:23 Charles Lesire-Cabaniols wrote:
> Thanks Peter, I've found it!
>
> Actually it's an option of the omniidl compiler... the command to use is
>
> omniidl -bcxx -Wba myIdlFile.idl
This will become definately a FAQ item :-)
Peter