Discussion:
[Scid-users] tkscid.cpp build error
Jessica Crouch
2016-11-09 21:46:44 UTC
Permalink
I downloaded the current code snapshot today and am trying to build it on a
Windows 7 machine using Visual Studio 10. I am getting the error shown
below. Has anyone seen this before or have thoughts as to why this error
is occurring?

Thanks,
Jessica


Z:\Chess\scidvspc-code-2638>nmake -f makefile.vc release
TCL_DIR="Z:\Chess\Tcl"

Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.

tkscid.cpp
c:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\xlocale(323) :
warning C4530: C++ exception handler used, but unwind semantics are not
enabled. Specify /EHsc
src\tkscid.cpp(3361) : error C2660: 'std::_Hash<_Traits>::cbegin' :
function does not take 1 arguments
with
[

_Traits=std::tr1::_Uset_traits<Tourney,std::_Hash_compare<Tourney,st
d::hash<Tourney>,std::equal_to<Tourney>>,std::allocator<Tourney>,false>
]
src\tkscid.cpp(3361) : fatal error C1903: unable to recover from previous
error(s); stopping compilation
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 10.0
\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
Fulvio
2016-11-10 08:17:38 UTC
Permalink
Z:\Chess\scidvspc-code-2638>nmake -f makefile.vc <http://makefile.vc>
release TCL_DIR="Z:\Chess\Tcl"
Hi,
you can download Scid source code here:
https://sourceforge.net/projects/scid/files/Scid/Scid%204.6/scid-4.6.4.zip/download
Jessica Crouch
2016-11-10 13:22:02 UTC
Permalink
Thank you. I downloaded the source in the .zip file, but I got exactly the
same error message when I tried to build that code.

Adding the /EHsc compile flag to Makefile.vc eliminated the warning
message, but the error message remained.
Jessica Crouch
2016-11-10 13:27:17 UTC
Permalink
Please disregard my question. I just realized I posted a SCID vs. PC
question to the SCID list.

My apologies.

I did in fact download and build the SCID code, also on Windows 7 with
MSVC++, and that worked fine.

Jessica
Post by Jessica Crouch
Thank you. I downloaded the source in the .zip file, but I got exactly
the same error message when I tried to build that code.
Adding the /EHsc compile flag to Makefile.vc eliminated the warning
message, but the error message remained.
Loading...