Hi Guys and Gals,
I am trying to use the svn c API's with in c++, I only need status, update and checkin. When I get to the link I get all sorts of errors so I am not too sure aht I have done.
If any one has a simple vc++ project (does not need to be gui) that they could send me I would be much appreciated.
With the errors below.
I have tried
ERROR link 2005
ignore MSVCRT.lib and LIBCMTD.lib, then re including them on the command line
ERROR ibsvn_client-1.lib(status.obj) : error LNK2001:
adding all libsvn*.libs to the include lib
just a little confused at the moment and not too sure if the libs I downloaded are right for me.
I was trying not to rebuild the libs for my self (lazy I guess)
thanks
Matt
Linking...
Searching Libraries
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\gdi32.lib:
......
B\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\MSVCRT.lib:
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncmp already defined in LIBCMTD.lib(strncmp.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __assert already defined in LIBCMTD.lib(assert.obj)
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\user32.lib:
....
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\comsupp.lib:
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\libcpmtd.lib:
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\LIBCMTD.lib:
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\OLDNAMES.lib:
Done Searching Libraries
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _strncmp already defined in LIBCMTD.lib(strncmp.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __assert already defined in LIBCMTD.lib(assert.obj); second definition ignored
Creating library Debug/DMSPlugin.lib and object Debug/DMSPlugin.exp
Searching Libraries
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\gdi32.lib:
...
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\LIBCMTD.lib:
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio\VC98\LIB\MSVCRT.lib:
Done Searching Libraries
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:library
libsvn_client-1.lib(status.obj) : error LNK2001: unresolved external symbol _svn_path_get_longest_ancestor
libsvn_client-1.lib(status.obj) : error LNK2001: unresolved external symbol _svn_wc_status_set_repos_locks
libsvn_client-1.lib(export.obj) : error LNK2001: unresolved external symbol __imp__apr_pool_destroy@4
libsvn_client-1.lib(status.obj) : error LNK2001: unresolved external symbol __imp__apr_pool_destroy@4
libsvn_client-1.lib(ra.obj) : error LNK2001: unresolved external symbol __imp__apr_pool_destroy@4
libsvn_client-1.lib(externals.obj) : error LNK2001: unresolved external symbol __imp__apr_pool_destroy@4
libsvn_client-1.lib(update.obj) : error LNK2001: unresolved external symbol __imp__apr_pool_destroy@4
libsvn_client-1.lib(status.obj) : error LNK2001: unresolved external symbol __imp__apr_pstrdup@8
libsvn_client-1.lib(ra.obj) : error LNK2001: unresolved external symbol __imp__apr_pstrdup@8
libsvn_client-1.lib(export.obj) : error LNK2001: unresolved external symbol __imp__apr_pstrdup@8
libsvn_client-1.lib(status.obj) : error LNK2001: unresolved external symbol _svn_ra_get_repos_root
libsvn_client-1.lib(ra.obj) : error LNK2001: unresolved external symbol _svn_ra_get_repos_root
libsvn_client-1.lib(status.obj) : error LNK2001: unresolved external symbol __imp__apr_hash_make@4
libsvn_client-1.lib(externals.obj) : error LNK2001: unresolved external symbol __imp__apr_hash_make@4
libsvn_client-1.lib(export.obj) : error LNK2001: unresolved external symbol __imp__apr_hash_make@4
libsvn_client-1.lib(export.obj) : error LNK2001: unresolved external symbol _svn_error_clear
libsvn_client-1.lib(status.obj) : error LNK2001: unresolved external symbol _svn_error_clear
libsvn_client-1.lib(ra.obj) : error LNK2001: unresolved external symbol _svn_error_clear
libsvn_client-1.lib(externals.obj) : error LNK2001: unresolved external symbol _svn_error_clear
libsvn_client-1.lib(update.obj) : error LNK2001: unresolved external symbol _svn_error_clear
libsvn_client-1.lib(status.obj) : error LNK2001: unresolved external symbol _svn_ra_get_locks
libsvn_client-1.lib(export.obj) : error LNK2001: unresolved external symbol _svn_pool_create_ex
....
libsvn_client-1.lib(export.obj) : error LNK2001: unresolved external symbol __imp__apr_file_remove@8
libsvn_client-1.lib(export.obj) : error LNK2001: unresolved external symbol _svn_time_from_cstring
libsvn_client-1.lib(export.obj) : error LNK2001: unresolved external symbol _svn_string_dup
libsvn_client-1.lib(export.obj) : error LNK2001: unresolved external symbol __imp__apr_pstrmemdup@12
libsvn_client-1.lib(export.obj) : error LNK2001: unresolved external symbol __imp__apr_hash_pool_get@4
libsvn_client-1.lib(export.obj) : error LNK2001: unresolved external symbol _svn_md5_digest_to_cstring
libsvn_client-1.lib(export.obj) : error LNK2001: unresolved external symbol _svn_io_file_close
Debug/DMSPlugin.dll : fatal error LNK1120: 105 unresolved externals
Error executing link.exe.
DMSPlugin.dll - 205 error(s), 13 warning(s)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 10 06:16:42 2005