|
From: Tom S. <Tom...@Me...> - 2007-09-27 16:19:12
|
I'm following instructions from Mattias on how to build 64-bit wrapper =
on Win64.
1) Checkout from SVN truck.
2) Copy Makefile-windows-x86-32.nmake to Makefile-windows-x86-64.nmake
(located in ..\src\c\)
3) Edited Makefile-windows-x86-64.nmake
3.1) Remove -Zp4 from compile options (seams to cause 'Stdout pipe
creation failed' ?!)
3.2) Changed /MACHINE:X86 to /MACHINE:X64
3.3) EXE_OUTDIR =3D $(PROJ)32_VC8__Win32_Release to EXE_OUTDIR =3D
$(PROJ)32_VC8__Win64_Release
3.4) DLL_OUTDIR =3D $(PROJ)JNI32_VC8__Win32_Release to DLL_OUTDIR =3D
$(PROJ)JNI32_VC8__Win64_Release
4) Open a Visual Studio 2005 x64 command prompt (and I use java 1.6.0_02
64-bit Server)
4.1) ant -Dbits=3D64
Regards,
/Mattias
This worked for me the first time I built, but now I get this error from =
the linker:
[exec] link /NOLOGO /MANIFEST /DEBUG /MACHINE:X64 =
/ERRORREPORT:PROMPT D
elayImp.lib /INCREMENTAL:NO /SUBSYSTEM:CONSOLE =
/MANIFESTFILE:"wrapper32_VC8__Win
64_Release\wrapper.exe.intermediate.manifest" =
/PDB:"wrapper32_VC8__Win64_Release
\wrapper.pdb" /OPT:REF /OPT:ICF /OPT:WIN98 /LTCG =
wrapper32_VC8__Win64_Release\lo
gger.obj wrapper32_VC8__Win64_Release\property.obj =
wrapper32_VC8__Win64_Release\
wrapper.obj wrapper32_VC8__Win64_Release\wrapper_win.obj =
wrapper32_VC8__Win64_Re
lease\wrappereventloop.obj wrapper32_VC8__Win64_Release\wrapperinfo.obj =
wsock32.
lib shlwapi.lib advapi32.lib user32.lib =
wrapper32_VC8__Win64_Release\wrapper.res
/OUT:"..\..\bin\wrapper.exe"
[exec] wrapper32_VC8__Win64_Release\logger.obj : fatal error =
LNK1112: modul
e machine type 'X86' conflicts with target machine type 'x64'
I think something in my Visual Studio 2005 environment has changed.
Has anyone seen this?
Thanks,
Tom
--
Notice: This email and any files transmitted with it are confidential =
and intended solely for the individual or entity to which they are =
addressed. If you have received this email in error please notify the =
sender and destroy any copies of this email and its attachments. You =
are hereby notified that any unauthorized review, use, disclosure, =
dissemination, distribution, or copying of this communication, or any of =
its contents, is strictly prohibited. Please note that any views or =
opinions presented in this email are solely those of the author and do =
not necessarily represent those of the company. The recipient should =
check this email and any attachments for the presence of viruses. The =
company accepts no liability for any damage caused by any virus =
transmitted by this email.
|