[omniORB] Including CosLifeCycle

Duncan Grisby dgrisby@uk.research.att.com
Thu, 10 May 2001 15:22:32 +0100


On Thursday 3 May, David Hyde wrote:

> omniidl -bcxx -Wbh=_Omni.h -Wbs=_Omni.cpp  -ID:\OmniOrb\idl\COS My.idl

[...]
> The files CosNaming_Omni.h and CosLifeCycle_Omni.h don't exist.

The problem is that you are using different header file suffixes to
the omniORB defaults. This means the dependency #ifdefs don't do the
right thing. If you get rid of the -Wbh=_Omni.h, omniidl will generate
files and #includes for files ending in .hh.

Then, if you put omniORB's include/COS on your include path, it should
all work.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --