You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jun Omae <ju...@gmail.com> on 2020/05/01 10:02:02 UTC

[PATCH] Fix unable to build with Visual Studio 2008

Hi,

I tried to build Subversion 1.10.x and trunk with Visual Studio 2008 for Python (2.7) bindings,
however I got the following error from `msbuild subversion_vcnet.sln /t:__MORE__
/p:Configuration=Release`.


"C:\usr\src\subversion\1.10.x\subversion_vcnet.sln" (__MORE__;__SWIG_PYTHON__ target) (1) ->
(Tests\conflicts-test target) ->
   ..\..\..\subversion\tests\libsvn_wc\utils.c : fatal error C1033: cannot open program database 'c:\usr\src\subversion\1.10.x\release\subversion\tests\libsvn_client\libsvn_wc\test_conflicts-..\libsvn_wc.pdb'


I think the following line in vcnet_vcproj.ezt is incorrect. The line is introduced in r873230.

    ProgramDataBaseFileName="$(IntDir)/[sources.reldir]/[target.proj_name]-[sources.reldir].pdb"/>

After attached patch, the error goes away and build successfully.

-- 
Jun Omae <ju...@gmail.com> (大前 潤)