Discussion:
[omniORB] omniidl: Sorry, the C++ backend cannot process more than one IDL file at a time.
Somostetoi Kilato
2013-02-23 09:05:25 UTC
Permalink
Hi,

I am new to omniorb and I try to create a C++ client to my EJB3. I am
running JBoss 6 and JBoss 7 servers, so I intend to test my C++ client
against them. But when I set all the related IDL files for the omniidl I
get this error:

omniidl: Sorry, the C++ backend cannot process more than one IDL file at a
time.

My command looks like this:

omniidl -bcxx orb.idl ir.idl javax/ejb/EJBObject.idl test/ejb/IEjbRemote.idl

How could I compile more IDL files?

Thank you,
SK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130223/cdbb6f66/attachment.html>
VEYSSIERE Nicolas
2013-02-25 09:01:04 UTC
Permalink
You can create a main idl that includes orb.idl and ir.idl, *.idl and build against it.


De : Somostetoi Kilato [mailto:somostetoikilato at googlemail.com]
Envoy? : samedi 23 f?vrier 2013 10:05
? : omniorb-list at omniorb-support.com
Objet : [omniORB] omniidl: Sorry, the C++ backend cannot process more than one IDL file at a time.

Hi,

I am new to omniorb and I try to create a C++ client to my EJB3. I am running JBoss 6 and JBoss 7 servers, so I intend to test my C++ client against them. But when I set all the related IDL files for the omniidl I get this error:

omniidl: Sorry, the C++ backend cannot process more than one IDL file at a time.

My command looks like this:

omniidl -bcxx orb.idl ir.idl javax/ejb/EJBObject.idl test/ejb/IEjbRemote.idl

How could I compile more IDL files?

Thank you,
SK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130225/2108dfa1/attachment.html>
Duncan Grisby
2013-02-25 09:34:43 UTC
Permalink
Post by Somostetoi Kilato
omniidl: Sorry, the C++ backend cannot process more than one IDL file
at a time.
omniidl -bcxx orb.idl ir.idl javax/ejb/EJBObject.idl
test/ejb/IEjbRemote.idl
How could I compile more IDL files?
Just compile them one at a time. There is no need to compile them
together. You don't need to compile orb.idl or ir.idl because they are
built in to omniORB.

That said, if the IDL files are generated by the Java to IDL compiler,
you are likely to find that the IDL is in fact invalid, so you will
probably get loads of compile errors.

Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
Loading...