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

RE: Linker issues building subversion on Windows

From: Bolstridge, Andrew <andy.bolstridge_at_intergraph.com>
Date: Wed, 9 Sep 2009 14:19:05 +0100

> -----Original Message-----
> From: Johan Corveleyn [mailto:johan.corveleyn_at_uz.kuleuven.ac.be]
> Sent: Wednesday, September 09, 2009 2:05 PM
> To: Bolstridge, Andrew
> Cc: users_at_subversion.tigris.org
> Subject: RE: Linker issues building subversion on Windows
>
> > Van: Bolstridge, Andrew [mailto:andy.bolstridge_at_intergraph.com]
> >
> > Possibly you don't have all the dependency dlls in the path. Run
> > depends.exe to see what its trying to pull in, and whether it can
> > find
> > those dlls.
>
> Thanks, that gave me some more insight.
> Running depends.exe on svn.exe reports two missing dependencies:
MSVCR90D.DLL
> and DWMAPI.DLL.
>
> * MSVCR90D.DLL: I presume this is because I compiled for "debug". I'll
try
> compiling again this evening, with a "release" compile. I quickly
fetched it
> from www.dll-files.com just to see what would happen. That seemed to
fix that
> missing dependency.
> * DWMAPI.DLL: some googling gave me some pointers (like
>
http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/bc7a7414
-6564-
> 40bb-b8d2-af86345f2bc2). It seems to be because on this pc I have IE7.
On the
> build machine I had IE8, some maybe that's why it linked against that
dll
> (that I don't have installed here).
>
> That last one is not easily solved I think. I wouldn't like to
downgrade IE on
> my build machine (my personal laptop), just to compile svn. OTOH, the
target
> pc is my work pc, where I don't have control over the installed IE
version.
>
> Apart from missing modules, it also complains about modules with
"unresolved
> import due to a missing export function in a delay-load dependent
module" in
> SHLWAPI.DLL and MPR.DLL.
>
> Mmmmm, getting slightly depressed again with these setbacks. How does
one
> create a decent windows binary that isn't as fragile? Maybe someone
can give
> me some hints on setting up a good environment for the build machine?
>
> Johan

I guess it's because the projects are Linux based ones, and Linux devs
don't have the same way of setting up projects for Windows. You just
have to take it on the chin and do the work required to make those
solutions. Well done, BTW. When you're finished, I'd like to know where
you store the VS project files and how to get the project code so I can
have a bash at it myself. :)

MSVCR90D. You have built with debug, and this is not on the target box.
Usually debug builds run n machines with VS installed, but I think you
can get it installed if you install the visual c++ runtime msi.

DWMAPI. This is some stupid dll from Microsoft for Vista. You don't need
it as it tends to be linked dynamically through the delay-load
mechanism. The same applies to SHLWAPI and MPR - these are loaded
dynamically and *always* give dependency errors. The quality of Windows
has gone very downhill since the early days of NT. Ignore these 'errors'
in dependency viewer.

http://stackoverflow.com/questions/173433/how-to-fix-dwmapi-dll-delay-lo
ad-dependency-under-winxp

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2392863

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-09 15:20:19 CEST

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