On Thu, Aug 28, 2008 at 3:06 AM, Tony Butt <tjb_at_cea.com.au> wrote:
> Dear svn users,
>
> I am trying to rebuild an application we have which uses the subversion
> development libraries.
>
> My build tool is Visual Studio 2003.NET on Windows XP, and I can build
> the application against the svn 1.3.2 development libaries, and the
> 1.4.3 development libraries, and run it successfully.
>
> I can build against the current 1.5.1 libraries (after changing 1 option
> - now don't exclude LIBCD), but whenever I try to run it, I get an
> access violation on calling svn_cmdline_init().
>
> I have totally removed all other subversion binaries and libraries from
> the build system, and checked the startup messages from the debug
> session, only the development libraries are being called.
>
> I have even simplified the application, so that the first few lines look
> like:
>
> int main(int argc, const char * const argv[])
> {
>
> printf("Starting up\n");
>
> svn_cmdline_init ("versioner", stderr); // Crashes here without fail.
>
> ...
>
>
> }
>
> and there is still a crash on svn_cmdline_init
>
> I have tried both the apache2.0 and apache2.2 binaries, and I see the
> same behaviour.
You have to initialize APR runtime using apr_initialize().
--
Ivan Zhakov
VisualSVN Team
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-28 08:37:45 CEST