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

Re: [PATCH] Remove APR ICONV dependency on Windows (was SVN Win32 Developers -- need some help)

From: Ivan Zhakov <chemodax_at_gmail.com>
Date: 2007-07-05 15:25:23 CEST

On 7/5/07, Mark Phippard <markphip@gmail.com> wrote:
> On 7/5/07, Stefan Küng <tortoisesvn@gmail.com> wrote:
> > > Now when I build SVN it cannot create the libsvn_subr-1.dll The
> > > reason is that it cannot resolve the symbols for these new functions
> > > we are calling ... CoInitialize etc... I imagine there is some new
> > > .lib that we have to make available during the compile? I am using
> > > MSVC 6.0 with the latest SDK.
> >
> > Both CoInitialize() and CoUninitialize() are declared in objbase.h and
> > you must link against ole32.lib.
>
> Thanks. Isn't this detail usually handled by gen-make.py? I did
> re-run that before building. Or are we expecting that to be a default
> library provided by the IDE?
>
Hi Mark,
It builds for me with Visual Studio 2005. Could you try to apply
following patch, run gen-make.py and build Subversion.

Index: build.conf
===================================================================
--- build.conf (revision 25654)
+++ build.conf (working copy)
@@ -311,7 +311,7 @@
 install = fsmod-lib
 path = subversion/libsvn_subr
 libs = aprutil apriconv apr xml zlib
-msvc-libs = advapi32.lib shfolder.lib
+msvc-libs = advapi32.lib shfolder.lib ole32.lib
 msvc-export = svn_auth.h svn_base64.h svn_cmdline.h svn_config.h
svn_ctype.h svn_dso.h svn_error.h svn_hash.h svn_io.h svn_md5.h
svn_nls.h svn_opt.h svn_mergeinfo.h svn_path.h svn_pools.h svn_props.h
svn_quoprint.h svn_sorts.h svn_string.h svn_subst.h svn_time.h
svn_types.h svn_user.h svn_utf.h svn_version.h svn_xml.h
private\svn_atomic.h private\svn_mergeinfo_private.h

 # Low-level grab bag of utilities

-- 
Ivan Zhakov
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 5 15:25:09 2007

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