[omniORB] pb build omniORB for Windows

Laurent.TESTARD at rsi-france.com Laurent.TESTARD at rsi-france.com
Thu Oct 28 16:06:10 BST 2004


Hello list,

I have some troubles using omniORB for windows with an application because 
some compile flags seem to conflict. My existing software needs the option 
"Code Generation" to be set to "Multithreaded" (/MT) and the libs which 
are bundled with omniORB-4.0.3 seem to have the "Multithread DLL" (/MD) 
flag set (am I right/wrong ?). I suspect that can be the cause of the 
crashes that occur while running my application in release mode.

Anyway I tried to build omniORB by myself by following the guidelines 
provided in the README.WIN32 file and I had some errors while building 
omniSSL.
As I never used cygwin before, I wonder if someone can give me a hint in 
order to correct this error or even bypass the build of omniSSL libs 
because I don't use it ? 


Some remarks about the README.WIN32 file :

- it mentions the file VCVARS.BAT but this file does not exist in VC++ 6, 
it is called VCVARS32.BAT instead.
- the URLs for python min do not lead to donwloadable files. A minimal 
python seems to be included in the bin directory of omniORB ? Is it 
necessary to download it in order to build the libs ?


Any help appreciated !

Laurent 



my error log :


making export in src/lib/omniORB/orbcore/ssl...
make[4]: Entering directory 
`/cygdrive/d/Dev/omniORB-4.0.3/src/lib/omniORB/orbco
re/ssl'
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MT -GX -I.. 
-I./.. -I..
/../../../../include/omniORB4/internal -D_OMNIORB_SSL_LIBRARY 
-D__OMNIORB4__ -I.
./../../../../stub  -I/cygdrive/c/openssl/include -I. -I. 
-I../../../../../inclu
de -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 
-Fosta
tic/sslActive.o sslActive.cc
cl -c -O2 -MT -GX -I.. -I.\.. -I..\..\..\..\..\include\omniORB4\internal 
-D_OMNI
ORB_SSL_LIBRARY -D__OMNIORB4__ -I..\..\..\..\..\stub -Ic:\openssl\include 
-I. -I
. -I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ 
-D__NT__
-D__OSVERSION__=4 -Fostatic\sslActive.o -TpsslActive.cc
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 
80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

sslActive.cc
..\..\..\..\..\include\omniORB4/sslContext.h(73) : fatal error C1083: 
Cannot ope
n include file: 'openssl/ssl.h': No such file or directory
make[4]: *** [static/sslActive.o] Error 2
make[4]: Leaving directory 
`/cygdrive/d/Dev/omniORB-4.0.3/src/lib/omniORB/orbcor
e/ssl'
make[3]: *** [export] Error 2
make[3]: Leaving directory 
`/cygdrive/d/Dev/omniORB-4.0.3/src/lib/omniORB/orbcor
e'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/cygdrive/d/Dev/omniORB-4.0.3/src/lib/omniORB'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/d/Dev/omniORB-4.0.3/src/lib'
make: *** [export] Error 2

D:\Dev\omniORB-4.0.3\src>




   Laurent TESTARD, http://www.rsi-france.com 
   mailto:Laurent.Testard at rsi-france.com
   tel : +33 (0)4 76 52 58 21

This message (and any attachments) is confidential  and intended solely 
for the addressees. If you have received it by mistake  please notify the 
sender by return e-mail and delete this message from your  system. Any 
unauthorised use or dissemination is prohibited. RSI does not  guarantee 
that the integrity of this communication has been maintained nor that this 
communication is free of viruses, interceptions or interference.
 
Visit our web site :  http://www.rsi-france.com





More information about the omniORB-list mailing list