[omniORB] Compiling omniORB for MinGW under Windows for Qt

Wild mawild at swissonline.ch
Mon Nov 9 07:33:05 GMT 2009


Hello,

I try to compile omniORB 4.1.4 for MinGW under Windows. Later I want to use
it with the Qt SDK for Windows. Because the Qt SDK uses the MinGW compiler
as default compiler the omniORB has to be compiled with MinGW as well.
I followed the instructions in the file "README.win32.txt" in the root
directory of omniORB.
I do the following steps:

1. Download and install "gnu-win-32-lite.zip"
2. Setting path environment for Cygwin
3. Execute command "checkmount C:\omniORB\gnuwin32"
4. Download and unpack "omnipython-x86_win32.zip" into the omniORB directory
5. Uncomment "platform = x86_win32_mingw" in "config\config.mk"
6. Check the python path in "mk\platform\x86_win32_mingw.mk" for "PYTHON =
$(ABSTOP)/$(BINDIR)/omnipython"
7. Change the the line in file "include\python1.5\config.h" from "#if
defined(_MSC_VER) && _MSC_VER > 850" to "#if ( defined( _MSC_VER) &&
_MSC_VER > 850 ) || defined(__MINGW32__)"
8. Execute "make export" in folder "src\tool\omkdepend"
9. Delete all files with ending "*.d"
10. Execute "make export" in folder "src"

Then I get the following error and output:

making export in src/lib/omniORB...
make[2]: Entering directory
`/cygdrive/c/omniORB/omniORB-4.1.4/src/lib/omniORB'
../../../bin/x86_win32/omniidl -T -bcxx -Wbh=.hh -Wbs=SK.cc
-p../../../src/lib/o
mniORB -Wbdebug -Wba -p../../../src/lib/omniORB -Wbdebug -v -ComniORB4
../../../
idl/Naming.idl
omniidl: Importing back-end 'cxx'
omniidl: 'cxx' imported from
'../../../src/lib/omniORB\omniidl_be\cxx\__init__.p
yc'
omniidl: Preprocessing '../../../idl/Naming.idl' with
'../../../bin/x86_win32\om
nicpp -lang-c++ -undef -D__OMNIIDL__=0x2630 -D__OMNIIDL_CXX__
"../../../idl/Nami
ng.idl"'
omniidl: cpp output to temporary file 'omniidl-tmp1520.idl'
Der Befehl ".." ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
omniidl: Error running preprocessor
make[2]: *** [omniORB4/Naming.hh] Error 1
make[2]: Leaving directory
`/cygdrive/c/omniORB/omniORB-4.1.4/src/lib/omniORB'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/c/omniORB/omniORB-4.1.4/src/lib'
make: *** [export] Error 2

In an english envoronment the message
  Der Befehl ".." ist entweder falsch geschrieben oder
  konnte nicht gefunden werden.
is equivalent to
  ".." is not recognized as an internal or external command,
  operable program or batch file.

Does anybody have an idea how to solve this problem?
Thanks a lot for your help...

Regards

Martin
-- 
View this message in context: http://old.nabble.com/Compiling-omniORB-for-MinGW-under-Windows-for-Qt-tp26266633p26266633.html
Sent from the OmniORB - User mailing list archive at Nabble.com.




More information about the omniORB-list mailing list