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

Re: link errors

From: D.J. Heap <djheap_at_gmail.com>
Date: 2006-03-08 17:58:58 CET

On 3/7/06, kevin.aubuchon@charter.net <kevin.aubuchon@charter.net> wrote:
> I'm loading the subversion_vcnet solution with all projects (VS2005 on WindowsXP). I'm trying to build SVN. I get 500+ external link errors.
> Here is a sample:
>
> unresolved external symbol __imp__apr_pool_destroy@4 referenced in function _svn_cl__switch switch-cmd.obj
> unresolved external symbol _svn_client_add3 referenced in function _svn_cl__add add-cmd.obj
> unresolved external symbol _svn_pool_create_ex propedit-cmd.obj
> unresolved external symbol _svn_xml_make_close_tag info-cmd.obj
>
> I don't understand how the projects can link when none of the other projects import libs are included.
> What am I not doing?

VS2005 automatically links in a project's dependencies if the
dependency is a static or dynamic library (as did previous versions of
VS).

It looks like you've lost the dependency information or something in
the solution. What steps did you follow to generate the solution and
project files and then build?

If you've got the support libraries setup already (neon, bdb, etc. as
indicated in INSTALL) then you should just need to do something like
this from the VS2005 Command Prompt:

C:\Projects\Subversion>gen-make.py -t vcproj --vsnet-version=2005
<generator runs>
C:\Projects\Subversion>devenv subversion_vcnet.sln /build Release
/project __ALL__
<devenv builds stuff>

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 8 18:49:11 2006

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