Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty 19.11 SE [Karpov] vs Ruffian 2.02

Author: Mike Byrne

Date: 04:10:36 03/03/04

Go up one level in this thread


On March 03, 2004 at 00:57:04, Peter Skinner wrote:

>Are you compiling with assembly or no assembly?
>
>I still get errors when trying to compile Crafty.
>
>If I remove the /DVC_INLINE_ASM /DUSE_ASSEMBLY it compiles fine, with them I get
>errors about popcount is wrongly defined.
>
>Peter.

in chess.h , it should read this:

#if defined(NT_i386)
#  undef  HAS_64BITS    /* machine has 64-bit integers / operators    */
#  define HAS_LONGLONG  /* machine has 32-bit/64-bit integers         */
#  undef  UNIX          /* system is unix-based                       */
#  undef  STDCALL
#  define STDCALL __stdcall
#  ifdef  VC_INLINE_ASM
#    undef  CDECL
#    define CDECL __cdecl
#    define USE_ASSEMBLY  -> for some reason this line  got dropped
#  endif
#endif


then everywhere you see "INLINE_ASM" in boolean.c, data. and init.c -> change to
"USE_ASSEMBLY" and you should be fine



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.