curl / Mailing Lists / curl-library / Single Mail

curl-library

Fail to build on MSVC2013

From: Luca Beldi <Luca.Beldi_at_twentyfouram.com>
Date: Tue, 22 Aug 2017 08:21:07 +0000

Hi everyone,
I am having problems compiling libcurl on MSVC2013. I use the repository https://github.com/curl/curl.git and build it using:

pushd C:\
CALL "C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/vcvarsall.bat"
popd
echo on
mkdir deps
xcopy C:\openssl\* deps\ /S /Y
xcopy C:\zlibBuild\* deps\ /S /Y
cd winbuild
nmake /f Makefile.vc mode=dll WITH_DEVEL=../deps WITH_SSL=dll WITH_ZLIB=dll VC=12 DEBUG=yes
nmake /f Makefile.vc mode=dll WITH_DEVEL=../deps WITH_SSL=dll WITH_ZLIB=dll VC=12 DEBUG=no

It used to work but now it stops on ..\lib\warnless.c(85) : fatal error C1189: #error : "SIZEOF_LONG not defined"

Anyone has any idea of how to fix this?

Luca

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-08-22