[okl4-developer] iguana interfaces and idl

Jorge Torres jorge.torres.maldonado at gmail.com
Sat Jun 16 00:13:38 EST 2007


Hi okl4.org,

Trying to understand a little about iguana, I decided to add a simple
server, for that I simply added a new entry to iguana_object_env and to apps
on iguanas SConstruct, it works fine. but when I try to  add some
interfaces, I can't get it to work:
This is what I'm doing:

*on newserver's SConscript I add to the env.kengeprogram obj:
       extra_source = args["idl_server_src"]['newserver.idl4'],

*now on libs/newserver/include/interfaces/newserver.idl4

    import "iguana/types.h";

    /*[before_every_message("check_async")], I have no check_async*/
   [uuid(45)]
   interface newserver_write
  {
     /*nothing here yet*/
   };

*and edit libs/newserver/Sconscript to be like:

  Import("env")
  (client_headers, client_src, server_headers, server_src) = env.KengeIDL()
  lib = env.KengeLibrary("newserver",
                       extra_headers = client_headers,
                       extra_source = client_src)
  Return("lib", "server_headers", "server_src")


Well, when I do scons, I get this error .../newserver/SConscript:37 Error: '
newserver.idl4'

in line 37, of that file I have what I added: extra_source =
args["idl_server_src"]['newserver.idl4'],

Does someone knows what is wrong? I want to be able to use the
server_loop(); on this server, what do I have to do for that?

Thanks,

Jorge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20070615/a119d4e5/attachment.htm 


More information about the Developer mailing list