<div dir="ltr">Hi,<div><br></div><div>I seems to be having major problems building system for 64 bit Windows. First MS lib mscrt.lib was 32 vs 64 bit mismatch. Found this stackover article that said they put -MACHINE:64 flags in platform link statements (<a href="https://stackoverflow.com/questions/3412855/how-can-i-compile-omniorb-for-64-bit-windows">https://stackoverflow.com/questions/3412855/how-can-i-compile-omniorb-for-64-bit-windows</a>).</div><div><br></div><div>After that I'm getting error mismatches on objects in link statement. I'm confused as to how to build this for 64 bit. Any help will save my gig. Thanks.</div><div><br></div><div>Errors:</div><div><br></div><div><p class="MsoNormal" style="font-size:12.8px">C:\omniORB\src>make export<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">making export in src/tool...<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">make[1]: Entering directory '/cygdrive/c/omniORB/src/tool'<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">making export in src/tool/omniidl...<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">make[2]: Entering directory '/cygdrive/c/omniORB/src/tool/<wbr>omniidl'<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">making export in src/tool/omniidl/cxx...<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">make[3]: Entering directory '/cygdrive/c/omniORB/src/tool/<wbr>omniidl/cxx'<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">making export in src/tool/omniidl/cxx/cccp...<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">make[4]: Entering directory '/cygdrive/c/omniORB/src/tool/<wbr>omniidl/cxx/cccp'<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">(dir="../../../../../bin/x86_<wbr>win32"; files="omnicpp.exe"; for file in $files;<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">if [ ! -d $dir ]; then (umask 022; set -x; mkdir -p $dir); fi; dirs='. .'; ca<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">"$file" in /*) fullfile="$file";; *) fullfile=""; for _dir in $dirs; do if [<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">$_dir/$file ]; then if [ "$_dir" = "." ]; then fullfile="$file"; else fullfil<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">"$_dir/$file"; fi; break; fi; done; if [ ! "$fullfile" ]; then echo "ERROR: Ca<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">ot find $file in $dirs"; exit 1; fi;; esac; base=`basename $file`; if [ -f $di<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">$base ] && cmp $fullfile $dir/$base >/dev/null; then echo "File $base hasn't c<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">nged."; else (set -x; install -c $fullfile $dir); fi; done; )<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">File omnicpp.exe hasn't changed.<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">make[4]: Leaving directory '/cygdrive/c/omniORB/src/tool/<wbr>omniidl/cxx/cccp'<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">+ rm -f omniidl.exe<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">+ ../../../../bin/x86_win32/<wbr>linkwrapper -gnuwin32 -out:omniidl.exe -nologo -ma<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">fest -DEBUG -MACHINE:X64 -libpath:C:/Python36/libs -libpath:C:/Python36/lib/x8<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">win32 -PDB:omniidl.exe.pdb -libpath:../../../../lib/x86_<wbr>win32 y.tab.o lex.yy.o<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">dlerr.o idlutil.o idltype.o idlrepoId.o idlscope.o idlexpr.o idlast.o idlvalid<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">e.o idldump.o idlconfig.o idlfixed.o idlpython.o python36.lib<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">link -out:omniidl.exe -nologo -manifest -DEBUG -MACHINE:X64 -libpath:C:\Python<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">\libs -libpath:C:\Python36\lib\x86_<wbr>win32 -PDB:omniidl.exe.pdb -libpath:..\..\.<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">..\lib\x86_win32 y.tab.o lex.yy.o idlerr.o idlutil.o idltype.o idlrepoId.o idl<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">ope.o idlexpr.o idlast.o idlvalidate.o idldump.o idlconfig.o idlfixed.o idlpyt<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">n.o python36.lib<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">y.tab.o : fatal error LNK1112: module machine type 'X86' conflicts with target<u></u><u></u></p><p class="MsoNormal" style="font-size:12.8px">achine type 'x64'</p></div><div><br></div><div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><i>Dean Kaplan</i><div><br></div></div></div></div></div></div>
</div></div>