[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-28 18:52:34 CET

Thanks a lot

My application returns:
test1: PROPFIND request failed on '/svn/KG810'
test1: PROPFIND of '/svn/KG810': SSL negotiation failed: SSL disabled due to
library version mismatch (https://172.26.40.85)

I'm trying to understand what does it mean...

By the way, when I tried to use
        svn_handle_error2(err, stderr, FALSE, "test1: ");
        svn_error_clear(err);
instead of
        return svn_cmdline_handle_exit_error(err, pool, "test1: ");

Windows exception happens and my appliation dies. Does anybody know why this
thing appears?

On 11/28/06, Erik Huelsmann <ehuels@gmail.com> wrote:
>
> > err = svn_client_checkout2(NULL, true_url, target_dir,
> > &peg_revision,
> > &revision,
> > TRUE,
> > FALSE,
> > ctx, pool);
> > if (err) {printf("%s\n", err->message);}
>
> If you want more information from the error, you should use something like
> this:
>
> rv = svn_cmdline_handle_exit_error(err, pool, "my-util");
>
> > svn_pool_destroy(pool);
> return rv;
> > }
>
> It will print out all error information in the error chain. It might
> also contain information on why the PROPFIND failed.
>
> HTH,
>
> Erik.
>
>
> > 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 Tue Nov 28 18:53:32 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.