Menu

#18 compile on win10

1.0
open
nobody
None
2021-07-25
2019-04-23
Charles He
No

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.

Discussion

  • Steven

    Steven - 2019-04-23

    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

     
  • Charles He

    Charles He - 2019-05-06

    Thanks Steven.
    Finally I compiled it on win10 by using Mingw. There was an error duing copile, but I fixed it.

     
  • Roman

    Roman - 2019-10-06

    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.

     
  • Steven

    Steven - 2019-10-07

    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

     
  • Steven

    Steven - 2021-07-25

    But maybe it's not too hard compiling with windows gcc nowadays. Install Mingw, then follow Ozkan's brief instructions in the Makefile.mingw

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.