[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problems with BDB file access

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-01-20 21:04:38 CET

Jens Peters wrote:
>> But I got it working now - I admit it took quite a while, but
>> I'd rather have the bdb's compiled with VC8 than relying on a
>> VC6 build which uses an old CRT and might cause other problems.
>>
>
> Could you please describe what you did? I tried the define described in the
> last post at:
> http://groups.google.com/group/comp.databases.berkeley-db/browse_thread/thre
> ad/2828d6464dd8f742/5148ce01f0cca133#5148ce01f0cca133
>
> But it seems that its not enough. My own client still crashes after a
> complet recompilation. Are there other defines or settings in VS 2005?

That's what I first found out too.
You must add the line
#define _USE_32BIT_TIME_T
to the top of the file /build_win32/db_config.h, then recompile.

Oh, and don't forget to set the define for apr-util and the Subversion
libs too - otherwise you will still get crashs.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Jan 20 21:04:51 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.