You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Monte Krol <MK...@blizzard.com> on 2004/09/17 23:19:26 UTC
Building svn-1.1.0 on MS VC++.NET 2003
Hi all,
I thought I'd have a patch to post, but instead it's just a hazard
report:
I am building svn-1.1.0-rc3 on VC++.NET 2K3. VC is mostly able to import
the .dsp/.dsw and build svn, but there is one issue I had to fix:
Microsoft unhelpfully changed the resource compiler from VC++ 6 to
VC++.NET such that it no longer accepts preprocessor definitions that
include a double=quoted string.
Example, from svnadmin, is like this:
SVN_FILE_NAME="svnadmin.exe"
This compiles on VC++ 6 RC but not on VC++.NET 2003 RC. The resource
compiler emits the unhelpful message "invalid usage". :)
Changing it to this:
SVN_FILE_NAME='svnadmin.exe'
compiles on VC++.NET 2003 RC, but not VC++ 6 RC.
These preprocessor definitions exist in the emitted dsps for all of the
command-line tools (svn, svnadmin, svndumpfilter, svnlook, svnserver,
svnversion), so if you run across this problem, you'll need to update
all of these project files.
--
So I was going to patch the script that emits the .dsps to emit single
quotes, but that doesn't work on VC++ 6, which is really what the .dsps
are targeted to. So instead, I will just report this problem I worked
around. Hopefully it will help somebody else.
Monte
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Building svn-1.1.0 on MS VC++.NET 2003
Posted by Branko Čibej <br...@xbc.nu>.
Monte Krol wrote:
>Hi all,
>
>I thought I'd have a patch to post, but instead it's just a hazard
>report:
>
>I am building svn-1.1.0-rc3 on VC++.NET 2K3. VC is mostly able to import
>the .dsp/.dsw and build svn, but there is one issue I had to fix:
>
>
Yes, we know, that's why gen-make.py can generate VS.NET project files.
You shouldn't have to import .dsp files into VS.NET.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org