<div>Hi,</div>
<div>I am building omni on WIndows 64 and able to build the dlls and libs. </div>
<div>But getting error in omninames.exe </div>
<div> </div>
<div>make[3]: Entering directory `/cygdrive/c/Saurabh/64Bit/omniORB-4.1.4--/src/lib/omniORB/orbcore'<br>../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -EHs -GS -GR -Zi -nologo -D_WIN64 -I.. -I./.. -I../../../../include/omniORB4/intern<br>
al -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DOMNIORB_VERSION_STRING='"4.1.4"' -DOMNIORB_VERSION_HEX='0x040104F1' -DCONFIG_DEFAULT_LOCATI<br>ON='"C:\\OMNIORB.CFG"' -DCONFIG_ENV='"OMNIORB_CONFIG"' -D"NTArchitecture" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D<br>
__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Foshared/anonObject.o -Fdshared\\ anonObject.cc<br>cl -c -O2 -MD -EHs -GS -GR -Zi -nologo -D_WIN64 -I.. -I.\.. -I..\..\..\..\include\omniORB4\internal -DUSE_omniORB_logStream -D_OMNIORB_LIBRA<br>
RY -DOMNIORB_VERSION_STRING=\"4.1.4\" -DOMNIORB_VERSION_HEX=0x040104F1 -DCONFIG_DEFAULT_LOCATION=\"C:\\\\OMNIORB.CFG\" -DCONFIG_ENV=\"OMNIOR<br>B_CONFIG\" -DNTArchitecture -I. -I. -I..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -D_CRT_SECU<br>
RE_NO_DEPRECATE=1 -Foshared\anonObject.o -Fdshared\ -TpanonObject.cc<br>anonObject.cc<br>c:\program files (x86)\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(17) : error C2371: 'size_t' : redefinition; d<br>
ifferent basic types<br> predefined C++ types (compiler internal)(19) : see declaration of 'size_t'<br>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(81) : fatal error C1189: #error : "No Target Architecture"<br>
make[3]: *** [shared/anonObject.o] Error 2<br>make[3]: Leaving directory `/cygdrive/c/Saurabh/64Bit/omniORB-4.1.4--/src/lib/omniORB/orbcore'</div>
<div> </div>
<div>This error we are getting in VS 2008 once we target is x64 not set. </div>
<div> </div>
<div>For omni in which file and which flag i set to the remove error.</div>
<div>With Visual Studio 2008 i am able to build a 64 bit executables.</div>
<div>I am using VS tools and VC comand promt to buils this.</div>
<div> </div>
<div>Thanks</div>
<div> </div>