svn 1.0.6 lib dev issues on win32
From: Ed Curren <ecurren_at_adelphia.net>
Date: 2004-08-17 01:47:06 CEST
Hello all,
I'm using the subversion 1.0.6 library for Windows (i.e.
int main(int argc, char* argv[])
{
struct apr_allocator_t *allocator;
struct apr_getopt_t *getopt;
struct svnadmin_opt_state *opt_state;
struct apr_pool_t *pool;
if (apr_allocator_create (&allocator)) return EXIT_FAILURE;
apr_allocator_max_free_set (allocator,
struct svn_error_t *svn_error = subcommand_create(getopt,
return 0;
}
When I have only "return 0;" in the main function the project compiles with
Compiling...
Test.cpp
C:\SourceCode\Sandbox\SubversionApi\Test.cpp(49) : warning C4042: 'open_fn'
C:\SourceCode\Sandbox\SubversionApi\Test.cpp(799) : warning C4700: local
C:\SourceCode\Sandbox\SubversionApi\Test.cpp(799) : warning C4700: local
C:\SourceCode\Sandbox\SubversionApi\Test.cpp(799) : warning C4700: local
Linking...
Test.obj : error LNK2001: unresolved external symbol
Debug/Test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Test.exe - 2 error(s), 4 warning(s)
The warnings are obviously nothing to worry about, but I can't figure out
Can anyone help with this? I'm quite baffled.
Thanks much.
Ed
|
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.