I have tried compile Scid vs PC 4.20 on win10, but failed. I have installed Activae TCL/Tk and VS 2017 and use nmake to compile, but it always report errors.
Could you please post a detail compile procedure on win10? Thank you.
You'll have to update Makefile.vc, as this hasn't been done in a couple of years.
Compare the Makefile.conf from 4.17 or 4.18 with the current Makefile.conf.
You may wish to remove the cql code, if so, have a look at "patches/no_cql.diff"
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please help. I tried to compile scid vs pc 4.20 using command nmake -f makefile.vc all TCL_DIR="C:\CODE\Tcl86" TK_DIR="C:\CODE\Tcl86" , but i get error:
src\game.cpp(1126): error C2131: expression did not evaluate to a constant
src\game.cpp(1124): note: failure was caused by a read of a variable outside its lifetime
src\game.cpp(1124): note: see usage of 'this'
src\game.cpp(3092): warning C4244: 'initializing': conversion from 'int' to 'float', possible loss of data
NMAKE : fatal error U1077: '"J:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\HostX86\x86\cl.EXE"' : return code '0x2'
Stop.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok - I have replaced that dynamic array with a malloc (in subversion)
but Makefile.vc is not up to date.
If someone would care to update it (as per instructions higher up), please send the new version to me.
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You'll have to update Makefile.vc, as this hasn't been done in a couple of years.
Compare the Makefile.conf from 4.17 or 4.18 with the current Makefile.conf.
You may wish to remove the cql code, if so, have a look at "patches/no_cql.diff"
Cheers
Thanks Steven.
Finally I compiled it on win10 by using Mingw. There was an error duing copile, but I fixed it.
Please help. I tried to compile scid vs pc 4.20 using command nmake -f makefile.vc all TCL_DIR="C:\CODE\Tcl86" TK_DIR="C:\CODE\Tcl86" , but i get error:
src\game.cpp(1126): error C2131: expression did not evaluate to a constant
src\game.cpp(1124): note: failure was caused by a read of a variable outside its lifetime
src\game.cpp(1124): note: see usage of 'this'
src\game.cpp(3092): warning C4244: 'initializing': conversion from 'int' to 'float', possible loss of data
NMAKE : fatal error U1077: '"J:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\HostX86\x86\cl.EXE"' : return code '0x2'
Stop.
Ok - I have replaced that dynamic array with a malloc (in subversion)
but Makefile.vc is not up to date.
If someone would care to update it (as per instructions higher up), please send the new version to me.
Cheers
But maybe it's not too hard compiling with windows gcc nowadays. Install Mingw, then follow Ozkan's brief instructions in the Makefile.mingw