curl-library
RE: **SPAM**Can't build Windows static x64
Date: Wed, 10 Jan 2018 21:31:50 +0000
Hi,
> -----Original Message-----
> From: curl-library [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of
> William Zeitler
> Sent: Mittwoch, 10. Januar 2018 11:52
> To: curl-library_at_cool.haxx.se
> Subject: **SPAM**Can't build Windows static x64
>
> I need to build Windows static x64.
>
> Using curl-757.0.tar.gz, in ...\winbuild I enter
>
> nmake /f Makefile.vc mode=static MACHINE=x64
>
> The build fails with:
>
> ..\builds\libcurl-vc-x64-release-static-ipv6-sspi-winssl-obj-lib/file.obj
> : fatal error LNK1112: module machine type 'x86' conflicts with target
> machine type 'x64'
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX86\x86\link.
> exe"'
why is the 32-bit linker used, are you building from a 32-bit MSVC command prompt?
Works fine for me using the x64 Native command prompt.
Marcel
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-01-10