Last time I compiled with VS Express 2008 (32-bit). (Aug 02, 2010)
This time I compiled with VS Express 2010 (32-bit).
Here's what I find:
For Windows -> Makefile.xp
Default:
Code: Select all
C:\WinBoard\crafty-23.4>nmake -f Makefile.xp
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
cl /D_CONSOLE /DWIN32 /D_CRT_SECURE_NO_DEPRECATE /Ox /Gr /GL /MT /DSMP /
DCPUS=4 /DNT_i386 /c crafty.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
crafty.c
c:\winboard\crafty-23.4\lock.h(14) : error C2061: syntax error : identifier 'Num
aStartThread'
c:\winboard\crafty-23.4\lock.h(14) : error C2059: syntax error : ';'
c:\winboard\crafty-23.4\lock.h(14) : error C2059: syntax error : 'type'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\cl.EXE"' : return code '0x2'
Stop.
lock.h (14)
Code: Select all
//extern pthread_t NumaStartThread(void *func, void *args);
Code: Select all
C:\WinBoard\crafty-23.4>nmake -f Makefile.xp
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
cl /D_CONSOLE /DWIN32 /D_CRT_SECURE_NO_DEPRECATE /Ox /Gr /GL /MT /DSMP /
DCPUS=4 /DNT_i386 /c crafty.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
crafty.c
cl /D_CONSOLE /DWIN32 /D_CRT_SECURE_NO_DEPRECATE /Ox /Gr /GL /MT /DSMP /
DCPUS=4 /DNT_i386 /Zm500 /c egtb.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
egtb.cpp
link /LTCG crafty.obj egtb.obj /out:crafty.exe
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
Generating code
Finished generating code
Code: Select all
C:\WinBoard\crafty-23.4>crafty
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].
Initializing multiple threads.
System is SMP, not NUMA.
Crafty v23.4 (1 cpus)
White(1): mt 2
Warning-- xboard 'cores' option disabled
max threads set to 2.
White(1): bench
Running benchmark. . .
......
Total nodes: 285658677
Raw nodes per second: 1947628
Total elapsed time: 146.67
White(1):
I uploaded Crafty 23.4 for anyone...
http://www.mediafire.com/?ynocbae3slncsqw
Joshua D. Haglund