[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Compiling with VC2012

From: Mario Brandt <jblond_at_gmail.com>
Date: Tue, 13 Aug 2013 12:49:56 +0200

Hi,

I try to compile svn against Apache 2.4.6. That worked with VC2008,
but with VC2012 I get a lot of "zlibstat.lib(inffas32.obj) : error
LNK2026: module unsafe for SAFESEH image" errors.
What is the correct way to get it compiling?

What I did

C:\python27\python gen-make.py --release -t vcproj
--with-apr=C:\build\httpd-2.4.6\srclib\apr
--with-apr-util=C:\build\httpd-2.4.6\srclib\apr-util
--with-apr-iconv=C:\build\httpd-2.4.6\srclib\apr-iconv
--with-serf=C:\build\subversion-1.8.1-ap24-x86\serf
--with-httpd=C:\build\httpd-2.4.6
--with-openssl=C:\build\httpd-2.4.6\srclib\openssl
--with-zlib=C:\build\subversion-1.8.1-ap24-x86\zlib
--vsnet-version=2012

Open generated build\win32\vcnet-vcproj\build_zlib.bat and insert at
line 67 (before "set BUILD_OPTS=..." line):
set ASM_OPTS=LOC="-DASMV -DASMINF -I." OBJA="inffas32.obj match686.obj"

Open sln with GUI.

Cheers
Mario
Received on 2013-08-13 12:50:39 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.