[omniORB] Using omniidl to generate stubs ...

Duncan Grisby duncan at grisby.org
Mon Jan 28 15:09:05 GMT 2013


On Fri, 2013-01-25 at 16:56 +0000, Marcus MacWilliam wrote:

> I am trying to build a project that was written 10+ years ago,
> with a newer version of OmniORB (4.1.6), on a Windows 7
> machine with Visual Studio 2010, for 32-bit.
> 
> I have successfully downloaded the ORB ZIP, and built the
> entire project, with 'make export'.

Presumably that completed without error?

> Part of the makefile involves running omniidl to generate the
> stub files from our IDL file, for compilation into the server.
> The output from our build, and the error message, are below:
> 
> Running command: C:\omniORB-4.1.6\bin\x86_win32\omniidl -bcxx -C\
> \gothic-samba\gothic\src\gijeprog\win7-devt -Wbh=_s.h -Wbs=_s.cpp \
> \gothic-samba\gothic\src\gijeprog\win7-devt\OO-Toolkit.idl
> omniidl: Could not import back-end 'cxx'

Can you build the echo example?  Go to src/examples/echo and run make.
Does that work?  If so, how does its omniidl command line differ from
yours?

Try adding a -v flag to omniidl, so it outputs more information about
what's going on:

  c:\omniORB-4.1.6\bin\x86_win32\omniidl -v -bcxx ...

What is in c:\omniORB-4.1.6\lib\python\omniidl_be\  ?

Duncan.

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





More information about the omniORB-list mailing list