Latest Stockfish [developmental] builds
Latest Stockfish [developmental] builds
For the latest & on-going developmental Stockfish builds: http://abrok.eu/stockfish/
-
- Posts: 144
- Joined: Sun Jun 13, 2010 7:32 am
- Contact:
Re: Latest Stockfish [developmental] builds
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:
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?
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>
Any suggestions on how to fix this?
-
- Posts: 144
- Joined: Sun Jun 13, 2010 7:32 am
- Contact:
Re: Latest Stockfish [developmental] builds
No msys.batandreio 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).
Is there an all in one gcc installer for Windows, which produces a ready to use installation?
-
- Posts: 144
- Joined: Sun Jun 13, 2010 7:32 am
- Contact:
Re: Latest Stockfish [developmental] builds
Installed this. Nothing changed, same output. How do I tell gcc where to find uname.exe?andreio wrote:You can download these from here (dependencies too).
Re: Latest Stockfish [developmental] builds
What do you mean? Here is the latest MSYS at MinGW-builds. Unzip somewhere, msys.bat is in msys directory.No msys.bat
-
- Posts: 144
- Joined: Sun Jun 13, 2010 7:32 am
- Contact:
Re: Latest Stockfish [developmental] builds
I see now. Used an exe installer first.andreio wrote:What do you mean?
OK, unpacked to C:\msys. Do I need to download MinGW from somewhere (having TDM-GCC-64 installed)?
-
- Posts: 78
- Joined: Mon Jan 28, 2013 10:56 am
Re: Latest Stockfish [developmental] builds
Yes, almost, at least for me.ThinkingALot wrote:No msys.batandreio 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).
Is there an all in one gcc installer for Windows, which produces a ready to use installation?
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%
-
- Posts: 144
- Joined: Sun Jun 13, 2010 7:32 am
- Contact:
Re: Latest Stockfish [developmental] builds
How do I execute this?ChessDrone wrote:Code: Select all
@ECHO OFF SET PATH=C:\MinGW\bin;C:\MinGW\msys\1.0\bin;%PATH%
Doesn't work: can't connect to prdownloads.sourceforge.net/smth.Other way is http://kent.dl.sourceforge.net/project/ ... -setup.exe
-
- Posts: 144
- Joined: Sun Jun 13, 2010 7:32 am
- Contact:
Re: Latest Stockfish [developmental] builds
Typing in msys.bat I get this:
"mount c:/mingw /mingw" worked.
Yeah Compilation works also! andreio, ChessDrone, thank you very much!
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 ~
$
Yeah Compilation works also! andreio, ChessDrone, thank you very much!