[omniORB] OmniOrb Mingw compile

Wolfgang Glas wolfgang.glas at ev-i.at
Wed Jun 16 23:00:30 BST 2010


Hi Nicolae,

  The fastest solution for you should be to install the mingw-w32-omniorb and
mingw-w64-omniorb packages for ubuntu from the clazzes.org PPA under

  https://www.launchpad.net/~clazzes.org/+archive/ppa

and cross-compile your project using

 CC=i686-pc-mingw32-gcc
 CXX=i686-pc-mingw32-g++
 CXXFLAGS=-DHAVE_OMNICONFIG_H  -D__WIN32__ -D__x86__ -D__NT__ -D__OSVERSION__=4
 OMNIIDL=omniidl

for win32 resp. using

 CC=x86_64-pc-mingw32-gcc
 CXX=x86_64-pc-mingw32-g++
 CXXFLAGS=-DHAVE_OMNICONFIG_H  -D__WIN32__ -D__x86__ -D__NT__ -D__OSVERSION__=4
 OMNIIDL=omniidl

We've done all the tedious things to compile omniorb for you and our packages
are in productive use on heavliy loaded Windows and Linux machines.

  Regards,

    Wolfgang

On 2010-06-16 15:25, Nicolae Florin Petrovici wrote:
> Hi,
> 
> I'm trying to compile omniorb 4.1.4 on Windows. I followed the
> instructions exactly ( downloaded python 2.6, set PYTHON =
> /cygdrive/c/Python26/python ) and it comes down to this: ( I have
> everything set up correctly - the gnu utils, the mount points etc )
> 
> omniidl: Preprocessing '../../../idl/Naming.idl' with
> '../../../bin/x86_win32\om
> nicpp -lang-c++ -undef -D__OMNIIDL__=0x2630 -D__OMNIIDL_CXX__
> "../../../idl/Naming.idl"'
> omniidl: cpp output to temporary file
> 'c:\users\madalina\appdata\local\temp\tmppsytvk.idl'
> '..' is not recognized as an internal or external command,
> operable program or batch file.
> 
> 
> Please help, maybe there's a simple solution to this problem but I can't
> see it. I have successfully compiled on Linux but I want to compile on
> Windows too for my masters degree application presentation ( Qt +
> omniorb 4.1.4 )



More information about the omniORB-list mailing list