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

Re: Problem generating working project files for VS.NET

From: Martin Hauner <hauner_at_web.de>
Date: 2003-05-03 12:19:40 CEST


here are my modifications to build with vc7 based on the vc6 projects.

- generate vc6 project files
gen-make.py -t dsp

- load subversion_msvc.dsw with vc7

- change neon project properties/Configuration Properties/NMake, add
cd $(TargetDir)
to Build/Rebuild All CommandLine

- set project dependencies, this will remove the link errors
md5args -> apr, apr_iconv
svn -> apr, apr_iconv, libsvv_diff
svnadmin -> apr, apr_iconv
svndumpfilter -> apr, apr_iconv
svnlook -> apr, apr_iconv
svnserve -> apr, apr_iconv
svnversion -> apr, apr_iconv, libsvn_diff

- stringtest project properties
general/configuration type
change it from exe to lib or disable it
this project doesn't have a main method so the linker complains

I don't know if my changes for building mod_dav_svn are useful
to anyone because I have an Apache 2.0.44 binary installation..

- mod_dav_svn project properties
set the environment variable HTTPD to the Apache2 installation dir
add additional include path ..\..\..\apr\include
as the last(!) include, anything else must come from Apache.
the include is necessary for config_win.c because it uses private stuff
from apr which is not part of the Apache installation, so I used the one
from subversions apr

add $(HTTPD)/lib to linker input paths

Since my Apache installation didn't have an xml.lib i replaced it
in the link input with expat.lib

I made the following change to subversion/include/svn_types.h
to build with Apache 2.0.44 which uses apr 0.9.2 which doesn't
have the APR_UINT64_T_FMT define that's used by subversion

Index: svn_types.h
--- svn_types.h (revision 5777)
+++ svn_types.h (working copy)
@@ -120,7 +120,11 @@
  #define SVN_INVALID_FILESIZE ((svn_filesize_t) -1)

  /** In @c printf()-style functions, format file sizes using this. */

  /* FIXME: Have to fiddle with APR to define this function */
  #define apr_atoui64(X) ((apr_uint64_t) apr_atoi64(X))

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 3 12:21:27 2003

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.