Discussion:
[omniORB] OmniOrb Mingw compile
Nicolae Florin Petrovici
2010-06-16 19:25:40 UTC
Permalink
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 )


Thank you for your time,
--
Thank you,
Nicolae Florin Petrovici
+40722697347
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20100616/4ec6f389/attachment.htm
Wolfgang Glas
2010-06-17 02:00:36 UTC
Permalink
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
Post by Nicolae Florin Petrovici
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 )
Loading...