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

Re: Linking problem with svnclient lib

From: Fedor Tyurin <fedor.tyurin_at_gmail.com>
Date: 2006-11-23 07:20:10 CET

Thank you for you response.

But main problem that my application fimd symbor svn_pool_destroy, but
didn't find symbol svn_pool_create_ex, so I don't understand which library
contains svn_pool_create_ex (I'm linking with libapr.lib and libsvn_client-
1.lib)

BR,
Fedor

On 11/22/06, Ulrich Eckhardt <eckhardt@satorlaser.com> wrote:
>
> On Wednesday 22 November 2006 16:50, Fedor Tyurin wrote:
> > I am trying to write an application that will used as a tool for
> > Subversion. I am using C++ with VS .NET 2003 on WinXP SP2. In the
> > properties page for the Solution I have pointed the links to the library
> > and include files. But when building the solution I get the following
> > linker errors:
> >
> > Linking...
> > RepositoryView.obj : error LNK2019: unresolved external symbol
> > _svn_repos_open referenced in function "private: void __thiscall
> > CRepositoryView::FillRepositoryTree(void)"
> > (?FillRepositoryTree@CRepositoryView@@AAEXXZ)
>
> You need to setup three things typically:
> 1. The path to the headers. Otherwise the compiler will complain when you
> try
> to #include them.
> 2. You need to tell the linker that it should link with the .lib files.
> Either
> you do that manually in the project setup or [this part is MS specific]
> you
> add a line in one of your sourcefiles containing
> #pragma comment( lib, "foobar.lib")
> 3. You need to tell the linker where to find the libraries. Either you
> move
> them or you add their location to you project/workspace/system setup.
>
> I'd say you forgot step #2.
>
> Uli
>
>
> **************************************************************************************
> Visit our website at <http://www.satorlaser.de/>
>
> **************************************************************************************
> Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten
> bestimmt und kann vertrauliche Informationen enthalten. Bitte
> benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte
> Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf
> weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt
> werden.
> E-Mails können durch Dritte gelesen werden und Viren sowie
> nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese
> Folgen nicht verantwortlich.
>
>
> **************************************************************************************
>
>
Received on Thu Nov 23 07:21:09 2006

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.