Latest Stockfish [developmental] builds

Discussion about chess-playing software (engines, hosts, opening books, platforms, etc...)
Prima
Posts: 328
Joined: Tue Dec 14, 2010 6:12 am

Latest Stockfish [developmental] builds

Post by Prima » Fri Feb 22, 2013 8:25 pm

For the latest & on-going developmental Stockfish builds: http://abrok.eu/stockfish/

ThinkingALot
Posts: 144
Joined: Sun Jun 13, 2010 7:32 am
Contact:

Re: Latest Stockfish [developmental] builds

Post by ThinkingALot » Sun Oct 27, 2013 10:27 am

I've got a problem with compiling SF for Windows.

Here's what I did:
Downloaded tdm-gcc-4.8.1-3.exe from https://sourceforge.net/projects/tdm-gcc/. (MinGW-get doesn't work due to some sourceforge problems).
Installed the x64 version.

Now I create a make.bat file in the SF directory with a single line in it: "mingw32-make profile-build ARCH=x86-64-modern COMP=mingw".
If I run it the following output is displayed:

Code: Select all

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Administrator>cd C:\Users\Administrator\Downloads\stockfish-3-win\src

C:\Users\Administrator\Downloads\stockfish-3-win\src>make

C:\Users\Administrator\Downloads\stockfish-3-win\src>mingw32-make profile-build
ARCH=x86-64-modern COMP=mingw
process_begin: CreateProcess(NULL, uname, ...) failed.
mingw32-make ARCH=x86-64-modern COMP=mingw config-sanity
process_begin: CreateProcess(NULL, uname, ...) failed.
mingw32-make[1]: Entering directory 'C:/Users/Administrator/Downloads/stockfish-
3-win/src'
""
"Config:"
"debug: 'no'"
"optimize: 'yes'"
"arch: 'x86_64'"
"os: 'any'"
"bits: '64'"
"prefetch: 'yes'"
"bsfq: 'yes'"
"popcnt: 'yes'"
"sse: 'yes'"
""
"Flags:"
"CXX: g++"
"CXXFLAGS: -Wall -Wcast-qual -fno-exceptions -fno-rtti  -Wextra -Wshadow -DNDEBU
G -O3 -DIS_64BIT -msse -DUSE_BSFQ -msse3 -DUSE_POPCNT"
"LDFLAGS:  -static-libstdc++ -static-libgcc"
""
"Testing config sanity. If this fails, try 'make help' ..."
""
The command 'no' is not valid.

Usage
    Test {operator} [options] [arguments]
Where
    operator:
        /? or /help   - Display this help message
        Add           - Adds a new test to the diagnostics service
        Remove        - Remove an existing test from diagnostic service
        Cancel        - Cancel a test run
        Run           - Starts a new test run
        ListRuns      - Lists tests that have been or are running on the cluster

        ListTests     - Lists the currently installed tests
        ViewResult    - Fetches the result files for a test
        ViewRun       - View information about a test run
        ViewTest      - View the details of a test
        SetCreds      - Set the default credentials to run a test on the cluster

The command 'no' is not valid.

Usage
    Test {operator} [options] [arguments]
Where
    operator:
        /? or /help   - Display this help message
        Add           - Adds a new test to the diagnostics service
        Remove        - Remove an existing test from diagnostic service
        Cancel        - Cancel a test run
        Run           - Starts a new test run
        ListRuns      - Lists tests that have been or are running on the cluster

        ListTests     - Lists the currently installed tests
        ViewResult    - Fetches the result files for a test
        ViewRun       - View information about a test run
        ViewTest      - View the details of a test
        SetCreds      - Set the default credentials to run a test on the cluster

Makefile:483: recipe for target 'config-sanity' failed
mingw32-make[1]: *** [config-sanity] Error -1
mingw32-make[1]: Leaving directory 'C:/Users/Administrator/Downloads/stockfish-3
-win/src'
Makefile:431: recipe for target 'profile-build' failed
mingw32-make: *** [profile-build] Error 2
C:\Users\Administrator\Downloads\stockfish-3-win\src>
The sources in the \stockfish-3-win\src directory are those of some recent SF version (several days old).
Any suggestions on how to fix this?

andreio
Posts: 12
Joined: Mon Apr 09, 2012 12:40 am

Re: Latest Stockfish [developmental] builds

Post by andreio » Mon Oct 28, 2013 5:32 am

uname and test are missing. You can download these from here (dependencies too). Personally, I would rather use MSYS (msys.bat to start the shell and mount mingw with "mount c:/mingw /mingw" or set up the path in /etc/fstab).

ThinkingALot
Posts: 144
Joined: Sun Jun 13, 2010 7:32 am
Contact:

Re: Latest Stockfish [developmental] builds

Post by ThinkingALot » Mon Oct 28, 2013 7:12 am

andreio wrote:Personally, I would rather use MSYS (msys.bat to start the shell and mount mingw with "mount c:/mingw /mingw" or set up the path in /etc/fstab).
No msys.bat :(
Is there an all in one gcc installer for Windows, which produces a ready to use installation?

ThinkingALot
Posts: 144
Joined: Sun Jun 13, 2010 7:32 am
Contact:

Re: Latest Stockfish [developmental] builds

Post by ThinkingALot » Mon Oct 28, 2013 7:25 am

andreio wrote:You can download these from here (dependencies too).
Installed this. Nothing changed, same output. How do I tell gcc where to find uname.exe?

andreio
Posts: 12
Joined: Mon Apr 09, 2012 12:40 am

Re: Latest Stockfish [developmental] builds

Post by andreio » Mon Oct 28, 2013 7:34 am

No msys.bat
What do you mean? Here is the latest MSYS at MinGW-builds. Unzip somewhere, msys.bat is in msys directory.

ThinkingALot
Posts: 144
Joined: Sun Jun 13, 2010 7:32 am
Contact:

Re: Latest Stockfish [developmental] builds

Post by ThinkingALot » Mon Oct 28, 2013 7:39 am

andreio wrote:What do you mean?
I see now. Used an exe installer first.
OK, unpacked to C:\msys. Do I need to download MinGW from somewhere (having TDM-GCC-64 installed)?

ChessDrone
Posts: 78
Joined: Mon Jan 28, 2013 10:56 am

Re: Latest Stockfish [developmental] builds

Post by ChessDrone » Mon Oct 28, 2013 7:48 am

ThinkingALot wrote:
andreio wrote:Personally, I would rather use MSYS (msys.bat to start the shell and mount mingw with "mount c:/mingw /mingw" or set up the path in /etc/fstab).
No msys.bat :(
Is there an all in one gcc installer for Windows, which produces a ready to use installation?
Yes, almost, at least for me.
http://nuwen.net/mingw.html http://nuwen.net/files/mingw/mingw-11.2-without-git.exe
You will need msys http://www.mingw.org/wiki/MSYS you can find it in another regular mingw installation package
Here is batch:

Code: Select all

@ECHO OFF
SET PATH=C:\MinGW\bin;C:\MinGW\msys\1.0\bin;%PATH%
Other way is http://kent.dl.sourceforge.net/project/ ... -setup.exe

ThinkingALot
Posts: 144
Joined: Sun Jun 13, 2010 7:32 am
Contact:

Re: Latest Stockfish [developmental] builds

Post by ThinkingALot » Mon Oct 28, 2013 7:49 am

ChessDrone wrote:

Code: Select all

@ECHO OFF
SET PATH=C:\MinGW\bin;C:\MinGW\msys\1.0\bin;%PATH%
How do I execute this?
Other way is http://kent.dl.sourceforge.net/project/ ... -setup.exe
Doesn't work: can't connect to prdownloads.sourceforge.net/smth.

ThinkingALot
Posts: 144
Joined: Sun Jun 13, 2010 7:32 am
Contact:

Re: Latest Stockfish [developmental] builds

Post by ThinkingALot » Mon Oct 28, 2013 8:15 am

Typing in msys.bat I get this:

Code: Select all

Administrator@Sandy ~
$ echo off
off

Administrator@Sandy ~
$ set PATH=C:\MinGW\bin;C:\MinGW\msys\1.0\bin;%PATH%
sh: C:MinGWmsys1.0bin: command not found
sh: fg: %PATH%: no such job

Administrator@Sandy ~
$
"mount c:/mingw /mingw" worked.
Yeah :) Compilation works also! andreio, ChessDrone, thank you very much!

Post Reply