Toby Johnson wrote:
> Stefan Küng wrote:
>> Toby Johnson wrote:
>>
>>> OK, thanks for the clarification... at this point I'll be happy just
>>> getting the Subversion libs built, but I'm still getting the same
>>> link errors, even with Nant 0.85RC4, with both the TSVN 1.3.5 and
>>> 1.4.0RC tags. However, if I don't specify the "release" target,
>>> everything builds fine; these symbols all seem to be for debugging.
>>>
>>> [link] Linking 62 files.
>>> [link] Creating library .\release_win32/libapr.lib and object
>>> .\release_win32/libapr.exp
>>> [link] internal.obj : error LNK2019: unresolved external symbol
>>> __imp___realloc_dbg referenced in function _apr_wastrtoastr
>>> [link] start.obj : error LNK2001: unresolved external symbol
>>> __imp___realloc_dbg
>>> [link] internal.obj : error LNK2019: unresolved external symbol
>>> __imp___malloc_dbg referenced in function _apr_wastrtoastr
>>> [link] start.obj : error LNK2001: unresolved external symbol
>>> __imp___malloc_dbg
>>> [link] c:\svn\TortoiseSVN\ext\apr\release_win32\libapr.dll : fatal
>>> error LNK1120: 2 unresolved externals
>>
>> Check your settings in VS2005:
>> Tools->Options->Projects and Solutions->VC++ Directories, Include Files
>> here I have:
>> $(VCInstallDir)include
>> $(VCInstallDir)atlmfc\include
>> $(VCInstallDir)PlatformSDK\include
>> $(VCInstallDir)PlatformSDK\common\include
>> $(FrameworkSDKDir)include
>> $(VCInstallDir)WTL\include
> I don't have the "$(VCInstallDir)PlatformSDK\common\include" entry, and
> that directory doesn't exist in my VC++ install directory. I installed
> the latest Win2003 Server Platform SDK separately, but it installed
> under Program Files. Is there something else I need to download here?
I don't think so. But it's strange that directory doesn't exist on your
machine. It was installed with VS2005 on mine.
The link error happens because those debug functions are used, but the
release libs don't have them. If you check the header files where those
functions are defined, you'll see that those are only used if DEBUG is
defined. So at least one of the header files included on your machine
must define that.
> Also, I notice that the APR dll's now all end with _tsvn; was this a
> change in 1.4.0? (My "official install" of TortoiseSVN doesn't have the
> _tsvn endings.)
Yes, I changed them to avoid loading apr dlls which are not shipped with
TSVN. I had some problems once because of such an issue (known also as
"dll hell"). That's why I renamed them.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Aug 15 21:42:52 2006