Advertisement
robingchan

libsvn - svn_create_pool() - Unresolved external.

Jul 4th, 2012
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.50 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include "svn_pools.h"
  3. #include "svn_client.h"
  4.  
  5. int main(int argc, char* argv[])
  6. {
  7.     svn_error_t *err;
  8.     apr_pool_t *pool;
  9.     svn_client_ctx_t *ctx;
  10.  
  11.     apr_initialize();
  12.     pool = svn_pool_create( NULL );
  13.  
  14.     if ( err = svn_client_create_context( &ctx, pool ) )
  15.     {
  16.         svn_pool_destroy( pool );
  17.         return 0;
  18.     }
  19.    
  20.     err = svn_client_checkout( NULL, "http://streetview-explorer.googlecode.com/svn/trunk/", "C:\\sve", NULL, true,  ctx, pool );
  21.     svn_pool_destroy( pool );
  22.  
  23.     return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement