Closed JiahaoYao closed 5 years ago
@JiahaoYao The stockfish executable environment variable has to point to the actual executable, not the directory that has it. Try updating your variable accordingly and let me know if this works.
@calyri acutally, this is the point I am confused about here. Could you tell me which should be executable directory?
.
├── AUTHORS
├── Copying.txt
├── Linux
│ ├── stockfish_10_x64
│ ├── stockfish_10_x64_bmi2
│ └── stockfish_10_x64_modern
├── Readme.md
├── Top\ CPU\ Contributors.txt
├── appveyor.yml
├── src
│ ├── Makefile
│ ├── benchmark.cpp
│ ├── bitbase.cpp
│ ├── bitboard.cpp
│ ├── bitboard.h
│ ├── endgame.cpp
│ ├── endgame.h
│ ├── evaluate.cpp
│ ├── evaluate.h
│ ├── main.cpp
│ ├── material.cpp
│ ├── material.h
│ ├── misc.cpp
│ ├── misc.h
│ ├── movegen.cpp
│ ├── movegen.h
│ ├── movepick.cpp
│ ├── movepick.h
│ ├── pawns.cpp
│ ├── pawns.h
│ ├── position.cpp
│ ├── position.h
│ ├── psqt.cpp
│ ├── search.cpp
│ ├── search.h
│ ├── syzygy
│ │ ├── tbprobe.cpp
│ │ └── tbprobe.h
│ ├── thread.cpp
│ ├── thread.h
│ ├── thread_win32.h
│ ├── timeman.cpp
│ ├── timeman.h
│ ├── tt.cpp
│ ├── tt.h
│ ├── types.h
│ ├── uci.cpp
│ ├── uci.h
│ └── ucioption.cpp
└── tests
├── instrumented.sh
├── perft.sh
├── reprosearch.sh
└── signature.sh
Thank you so much!
If I understand your directories, then your environment variable should be set as: export STOCKFISH_EXECUTABLE="/home/jimmy/Downloads/stockfish-10-linux/Linux/stockfish_10_x64
so that it points to the actual executable for your platform under the Linux folder.
Thanks @calyri !
Hi @calyri,
I followed the stockfish installation instruction to install. I can successfully make the
src
file. Then, I set the env valexport STOCKFISH_EXECUTABLE="/home/jimmy/Downloads/stockfish-10-linux/src"
.However, when I run the stockfish bot, I have the following bugs.
So, could you please tell me what is the right way to install the stockfish engine?