You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Tor Hovland <to...@nidaros.homedns.org> on 2003/05/01 13:53:55 UTC
Problem generating working project files for VS.NET
I have generated VS.NET project files with "gen-make.py -t vcproj", but the
resulting project files refer to source files with relative paths that are
not correct. For example, the project file
build\win32\vcnet-vcproj\libsvn_delta_vcnet.vcproj refers to the source file
subversion\libsvn_delta\vdelta.c simply as "vdelta.c".
Before I elaborate on this unnecessarily, I'd like to ask whether this
simply means that the vcproj option to gen-make is unfinished, or whether I
must be doing something wrong. Does everybody else using VS.NET generate VC6
project files, and let VS.NET convert them? I've tried that too, and found
that method to be sub-optimal as well, as the reference to neon also suffers
from some relative path inconsistencies (as reported by Damon Rand here:
http://www.contactor.se/~dast/svn/archive-2002-08/1180.shtml).
I am using revision 5775.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Problem generating working project files for VS.NET
Posted by Martin Hauner <ha...@web.de>.
Hi,
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. */
+#if APR_MINOR_VERSION <= 9 && APR_PATCH_VERSION < 4
+#define SVN_FILESIZE_T_FMT APR_INT64_T_FMT
+#else
#define SVN_FILESIZE_T_FMT APR_UINT64_T_FMT
+#endif
/* FIXME: Have to fiddle with APR to define this function */
#define apr_atoui64(X) ((apr_uint64_t) apr_atoi64(X))
<---
--
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Problem generating working project files for VS.NET
Posted by cm...@collab.net.
"Tor Hovland" <to...@nidaros.homedns.org> writes:
> Before I elaborate on this unnecessarily, I'd like to ask whether this
> simply means that the vcproj option to gen-make is unfinished, or whether I
> must be doing something wrong.
gen-make is just unfinished right now for MSVC builds.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org