[okl4-developer] how to generate the serial_client.h and serial_server.h from serial.idl4?

Ben Leslie benno at ok-labs.com
Wed Aug 29 09:24:12 EST 2007


On Thu Aug 23, 2007 at 09:51:06 +0900, ?????? wrote:

>Hi,
>
>I am SuGil Choi from Korea.
>
>The previous email I sent was empty, but the content is visible in the archive.
>
>So, I send it again.
>
>I am trying to find out the mechanism of generating stub and skeleton codes from idl4 file.
>
>There is a serial.idl4 in the directory "libs\iguana\include\interfaces".
>
>After compiling, two header files (serial_client.h and serial_server.h) are created in the directory "build\iguana\libs\iguana\include\interfaces".
>
>But, I can't find the script for doing this.
>
>As I want to add new interface, the understanding of this is crucial.
>
>I found an entry related to this question in the archive, but, still, I can't get it done.
>
>Thanks in advance.
>
>SuGil.


Hi SuGil,

The tool used for this is the 'magpie' IDL compiler. You can find it
in the tools/magpie directory. In tools/build.py you should find
the rule used to invoke the compiler by searching for 'magpie'.

Cheers,

Ben



More information about the Developer mailing list