[omniORB] Omni namesever.exe build problem on Win 64

Saurabh gupta subscription.gupta at gmail.com
Fri Feb 4 19:37:39 GMT 2011


Hi,
I am building omni on WIndows 64 and able to build the dlls and libs.
But getting error in omninames.exe

make[3]: Entering directory
`/cygdrive/c/Saurabh/64Bit/omniORB-4.1.4--/src/lib/omniORB/orbcore'
../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -EHs -GS -GR -Zi
-nologo -D_WIN64 -I.. -I./.. -I../../../../include/omniORB4/intern
al  -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY
-DOMNIORB_VERSION_STRING='"4.1.4"' -DOMNIORB_VERSION_HEX='0x040104F1'
-DCONFIG_DEFAULT_LOCATI
ON='"C:\\OMNIORB.CFG"' -DCONFIG_ENV='"OMNIORB_CONFIG"' -D"NTArchitecture"
-I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D
__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1
-Foshared/anonObject.o -Fdshared\\ anonObject.cc
cl -c -O2 -MD -EHs -GS -GR -Zi -nologo -D_WIN64 -I.. -I.\..
-I..\..\..\..\include\omniORB4\internal -DUSE_omniORB_logStream
-D_OMNIORB_LIBRA
RY -DOMNIORB_VERSION_STRING=\"4.1.4\" -DOMNIORB_VERSION_HEX=0x040104F1
-DCONFIG_DEFAULT_LOCATION=\"C:\\\\OMNIORB.CFG\" -DCONFIG_ENV=\"OMNIOR
B_CONFIG\" -DNTArchitecture -I. -I. -I..\..\..\..\include -D__WIN32__
-D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECU
RE_NO_DEPRECATE=1 -Foshared\anonObject.o -Fdshared\ -TpanonObject.cc
anonObject.cc
c:\program files (x86)\microsoft visual studio
9.0\vc\include\codeanalysis\sourceannotations.h(17) : error C2371: 'size_t'
: redefinition; d
ifferent basic types
        predefined C++ types (compiler internal)(19) : see declaration of
'size_t'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(81) : fatal
error C1189: #error :  "No Target Architecture"
make[3]: *** [shared/anonObject.o] Error 2
make[3]: Leaving directory
`/cygdrive/c/Saurabh/64Bit/omniORB-4.1.4--/src/lib/omniORB/orbcore'

This error we are getting in VS 2008 once we  target is x64 not set.

For omni in which file and which flag i set to the remove error.
With Visual Studio 2008 i am able to build a 64 bit executables.
I am using VS tools and VC comand promt to buils this.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110204/d6dc12f7/attachment.htm


More information about the omniORB-list mailing list