Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Help on Crafty SMP build with MSVC 6 please

Author: Jens Kahlenberg

Date: 17:48:50 07/08/03

Go up one level in this thread


On July 08, 2003 at 20:16:10, Slater Wold wrote:

>On July 08, 2003 at 18:44:51, Ralph Stoesser wrote:
>
>>I cannot build Crafty 19.03 for SMP with MSVC 6 SP5.
>>
>>I have uncommented the line
>>
>>COPTS    = /MT /DSMP /DCPUS=2
>>
>>from file 'Makefile.nt'. No other changes made.
>>
>>The compiler claims that it cannot find the Lock/Unlock macros used in file
>>'egtb.cpp', but file 'lock.h' (that's where the Lock/Unlock macros are defined)
>>is included.
>>
>>Anyone run into the same trouble?
>>
>>-Ralph
>
>Yea.  Bob broke it.  Used some files from an older version, I think.  Aaron
>Gordon told me about it.  He might be more help.

Ok, if it's broken one can at least _try_ to fix it ;-)


Hi Ralph,

take a close look at lock.h and find out what kind of lock/unlock meet your
architecture and your needs. There are some nested #ifdef ... #elif ... #endif
sections to setup the appropriate lock/unlock macros and so on. Think a
condition macro is not defined, so you can fix it in makefile or just by #define
<missing-condition> at the beginning and #undef <missing-condition> at the end
of lock.h - BUT that's only a rather unpleasant workaround to get a compiled
version ... I don't know, if exe will be working then.

Regards,
Jens



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.