[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: D.J. Heap <djheap_at_gmail.com>
Date: Thu, 3 Sep 2009 10:54:37 -0600

On Thu, Sep 3, 2009 at 9:08 AM, Robert Dailey<rcdailey_at_gmail.com> wrote:
[snip]
>
> I don't recall there being more than one kind of lib per SVN module. For
> example, you state there should be both an svn_client-1.lib and
> libsvn_client-1.lib. When I built subversion I do not recall seeing both.
> What do you mean exactly?

The libsvn_*.lib files are import libraries for dynamic linking --
linking to them will require that you have the .dll's present at
runtime because they do not actually pull the object code into your
program, they only have pointers to the .dll modules.

The svn_*.lib files are static libraries for static linking and will
not require the .dll's at runtime because they actually pull the
object code into your module.

It looks like you are mixing static APR libraries with dynamic
Subversion libraries and that is probably causing your issues.

I think both library types are automatically built by the default
build target -- do you not see them in your output folders?

DJ

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-03 18:55:31 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.