<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've been trying to build 4.0.6 with VC8 without
success.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've set the necessary flags:</FONT></DIV>
<DIV><FONT face=Arial size=2>-D_CRT_SECURE_NO_DEPRECATE=1
-D_CRT_NONSTDC_NO_DEPRECATE=1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and I've modified line 215 of CORBA_sysdep.h
as per Duncan's previous posting.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The build seems to be going OK until I get to the
output:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>making export in src/lib/omniORB...<BR>make[2]:
Entering directory
`/cygdrive/m/ThirdParty/OmniOrb4/omniORB-4.0.6/omniORB-4.0.6/src/lib/omn<BR>iORB'<BR>+
mkdir -p
omniORB4<BR>/cygdrive/m/ThirdParty/OmniOrb4/omniORB-4.0.6/omniORB-4.0.6/bin/x86_win32/omnipython
../../../bin/sc<BR>ripts/distdate.py <../../../update.log
>omniORB4/distdate.hh<BR>../../../bin/x86_win32/oidlwrapper.exe -gnuwin32 -T
-bcxx -Wbh=.hh -Wbs=SK.cc -Wba -p../../../src/li<BR>b/omniORB -Wbdebug -v
-ComniORB4
../../../idl/Naming.idl<BR>PYTHONPATH=(null)<BR>..\..\..\bin\x86_win32\omniidl
-T -bcxx -Wbh=.hh -Wbs=SK.cc -Wba -p..\..\..\src\lib\omniORB
-Wbdebug<BR> -v -ComniORB4 ..\..\..\idl\Naming.idl</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Then a runtime exception dialog is shown with the
message:</FONT></DIV>
<DIV><FONT face=Arial size=2>R6034</FONT></DIV>
<DIV><FONT face=Arial size=2>An application has made an attempt to load the C
runtime library incorrectly.</FONT></DIV>
<DIV><FONT face=Arial size=2>Please contact the application's support team for
more information.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The output I get once OK is clicked
is:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>make[2]: *** [omniORB4/Naming.hh] Error
66<BR>make[2]: Leaving directory
`/cygdrive/m/ThirdParty/OmniOrb4/omniORB-4.0.6/omniORB-4.0.6/src/lib/omni<BR>ORB'<BR>make[1]:
*** [export] Error 2<BR>make[1]: Leaving directory
`/cygdrive/m/ThirdParty/OmniOrb4/omniORB-4.0.6/omniORB-4.0.6/src/lib'<BR>make:
*** [export] Error 2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does anyone have any idea on how to get around this
problem?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2>David</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>