Monday, May 24, 2010

How to compile an IDL file ? +___+ Where can i get the compiler? ( I use C++)?

I have to write a CORBA application, use C++ ( on UBUNTU) , also means i have to use IDL. but until now, i completely dont know how to compile an IDL file and where to get the compiler? Thanks you so much if you can explain me. I just only a new in the CORBA. Thanks.

How to compile an IDL file ? +___+ Where can i get the compiler? ( I use C++)?
The idl file is converted into c++ by a complier.





Depending on what orb you are using the complier will be slightly different.





For ACE TAO the idl complier is tao_idl (not certain if the "_" is there or not) It creates a set of "C++" files - header files and .cpp. There is a set for the user and a set for the orb.





There should be a similar file for any orb. Ubuntu appears to use /usr/bin/orbit-idl-2. There are several make files floating around the net.





http://www.gnome.org/projects/ORBit2/orb...





provides an example of a make file

blazing star

No comments:

Post a Comment