[omniORB] Windows 64 bit Build Troubles

Dean Kaplan kaplandjk at gmail.com
Tue Jan 30 20:52:17 GMT 2018


Hi,

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 (
https://stackoverflow.com/questions/3412855/how-can-i-compile-omniorb-for-64-bit-windows
).

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.

Errors:

C:\omniORB\src>make export

making export in src/tool...

make[1]: Entering directory '/cygdrive/c/omniORB/src/tool'

making export in src/tool/omniidl...

make[2]: Entering directory '/cygdrive/c/omniORB/src/tool/omniidl'

making export in src/tool/omniidl/cxx...

make[3]: Entering directory '/cygdrive/c/omniORB/src/tool/omniidl/cxx'

making export in src/tool/omniidl/cxx/cccp...

make[4]: Entering directory '/cygdrive/c/omniORB/src/tool/omniidl/cxx/cccp'

(dir="../../../../../bin/x86_win32"; files="omnicpp.exe"; for file in
$files;

if [ ! -d $dir ]; then (umask 022; set -x; mkdir -p $dir); fi; dirs='. .';
ca

"$file" in /*) fullfile="$file";; *) fullfile=""; for _dir in $dirs; do if [

$_dir/$file ]; then if [ "$_dir" = "." ]; then fullfile="$file"; else
fullfil

"$_dir/$file"; fi; break; fi; done; if [ ! "$fullfile" ]; then echo "ERROR:
Ca

ot find $file in $dirs"; exit 1; fi;; esac; base=`basename $file`; if [ -f
$di

$base ] && cmp $fullfile $dir/$base >/dev/null; then echo "File $base
hasn't c

nged."; else (set -x; install -c  $fullfile $dir); fi; done; )

File omnicpp.exe hasn't changed.

make[4]: Leaving directory '/cygdrive/c/omniORB/src/tool/omniidl/cxx/cccp'

+ rm -f omniidl.exe

+ ../../../../bin/x86_win32/linkwrapper -gnuwin32 -out:omniidl.exe -nologo
-ma

fest -DEBUG -MACHINE:X64 -libpath:C:/Python36/libs
-libpath:C:/Python36/lib/x8

win32 -PDB:omniidl.exe.pdb -libpath:../../../../lib/x86_win32 y.tab.o
lex.yy.o

dlerr.o idlutil.o idltype.o idlrepoId.o idlscope.o idlexpr.o idlast.o
idlvalid

e.o idldump.o idlconfig.o idlfixed.o idlpython.o python36.lib

link -out:omniidl.exe -nologo -manifest -DEBUG -MACHINE:X64
-libpath:C:\Python

\libs -libpath:C:\Python36\lib\x86_win32 -PDB:omniidl.exe.pdb
-libpath:..\..\.

..\lib\x86_win32 y.tab.o lex.yy.o idlerr.o idlutil.o idltype.o idlrepoId.o
idl

ope.o idlexpr.o idlast.o idlvalidate.o idldump.o idlconfig.o idlfixed.o
idlpyt

n.o python36.lib

y.tab.o : fatal error LNK1112: module machine type 'X86' conflicts with
target

achine type 'x64'


*Dean Kaplan*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20180130/225a91b6/attachment.html>


More information about the omniORB-list mailing list