[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-10 16:14:34 CET

On 3/9/06, Kevin Aubuchon <kevin.aubuchon@charter.net> wrote:
> No, the dependencies are not being add to the svn project.

What do you mean by added? Nothing will be added to the linker
settings, but if you select the svn project and choose the Project ->
Project Dependencies menu item you should see checks on all the
library projects that svn depends on -- which will cause VS to
automatically link those libraries or import libraries. Are you
deleting projects from the solution before you build or something?

I do automated trunk builds every night on VS2003 and VS2005.

Are you building trunk or 1.3.0 or what? Using VS2005 Pro, or VC2005
Express or what? What apr/apr-util/apr-iconv are you using? What
version of BDB are you using? What version of neon?

>
> I've set up the src-trunk dir structure as in INSTALL, with the exception of
> Apache and SWIG (have not installed Apache or SWIG). When executing
> gen-make.py I get an error
> "DB not found;assuming db-4.2.x in db4-win32". I've used
> the --with-berkeley-db switch with different paths and still get the error.

The BDB headers and files are expected to be in a specific tree layout
-- if you are building your own BDB then you will have to copy a few
files into the right tree structure as INSTALL indicates for it to be
recognized.

> All project files are created. But I there aren't any import libs added to
> dependencies. I don't know if this DB error is related
> to the lack of dependencies.
>
>
> When I add the libs manually, libsvn_client-1.lib has 100+ unresolved
> externals such as apr_pool..... If I remember correctly from
> previous efforts, one of the libsvn_ra.... libs are required but I don't
> know which one and which preprocessor defines to set.

You shouldn't have to do anything manually if you are building trunk
in VS2005. I'm not sure about 1.3.x -- VS2005 was released after that
branch was created. At worst you may have to manually add
neon-path\libneon[D].lib to the linker inputs, if I remember
correctly.

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 10 16:15:31 2006

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

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