curl / Mailing Lists / curl-library / Single Mail

curl-library

Can't build Windows static x64

From: William Zeitler <william_at_williamzeitler.com>
Date: Wed, 10 Jan 2018 02:51:37 -0800

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"'
: return code '0x458'
Stop.

Suggestions?

Thanks!
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-01-10