[omniORB] Building with VC8
Peter Klotz
peter.klotz at aon.at
Wed Dec 28 15:01:08 GMT 2005
David Bellette wrote:
> Hi
>
> I've been trying to build 4.0.6 with VC8 without success.
>
> I've set the necessary flags:
> -D_CRT_SECURE_NO_DEPRECATE=1 -D_CRT_NONSTDC_NO_DEPRECATE=1
>
> and I've modified line 215 of CORBA_sysdep.h as per Duncan's previous
> posting.
>
> The build seems to be going OK until I get to the output:
>
> making export in src/lib/omniORB...
> make[2]: Entering directory
> `/cygdrive/m/ThirdParty/OmniOrb4/omniORB-4.0.6/omniORB-4.0.6/src/lib/omn
> iORB'
> + mkdir -p omniORB4
> /cygdrive/m/ThirdParty/OmniOrb4/omniORB-4.0.6/omniORB-4.0.6/bin/x86_win32/omnipython
> ../../../bin/sc
> ripts/distdate.py <../../../update.log >omniORB4/distdate.hh
> ../../../bin/x86_win32/oidlwrapper.exe -gnuwin32 -T -bcxx -Wbh=.hh
> -Wbs=SK.cc -Wba -p../../../src/li
> b/omniORB -Wbdebug -v -ComniORB4 ../../../idl/Naming.idl
> PYTHONPATH=(null)
> ..\..\..\bin\x86_win32\omniidl -T -bcxx -Wbh=.hh -Wbs=SK.cc -Wba
> -p..\..\..\src\lib\omniORB -Wbdebug
> -v -ComniORB4 ..\..\..\idl\Naming.idl
>
>
> Then a runtime exception dialog is shown with the message:
> R6034
> An application has made an attempt to load the C runtime library
> incorrectly.
> Please contact the application's support team for more information.
>
>
> The output I get once OK is clicked is:
>
> make[2]: *** [omniORB4/Naming.hh] Error 66
> make[2]: Leaving directory
> `/cygdrive/m/ThirdParty/OmniOrb4/omniORB-4.0.6/omniORB-4.0.6/src/lib/omni
> ORB'
> make[1]: *** [export] Error 2
> make[1]: Leaving directory
> `/cygdrive/m/ThirdParty/OmniOrb4/omniORB-4.0.6/omniORB-4.0.6/src/lib'
> make: *** [export] Error 2
>
>
> Does anyone have any idea on how to get around this problem?
>
Applications compiled with VC8 need .manifest files when executed. If
the .manifest file is missing you get runtime error R6034.
omniidl.exe is compiled in src\tool\omniidl\cxx and then copied to
bin\x86_win32.
The make scripts of omniORB only copy omniidl.exe but not
omniidl.exe.manifest.
If you manually copy omniidl.exe.manifest and omnicpp.exe.manifest to
bin\x86_win32 the build should succeed.
Best regards, Peter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20051228/47a5c1f4/attachment.htm
More information about the omniORB-list
mailing list