hezhaoyun / chessroad-lite Goto Github PK
View Code? Open in Web Editor NEW棋路 Lite 版本,支持多种象棋引擎
License: GNU General Public License v3.0
棋路 Lite 版本,支持多种象棋引擎
License: GNU General Public License v3.0
【棋路-开源版】 =============== 【棋路】 「棋路」是一款在**广受欢迎的**象棋软件,由众多象棋爱好者共同开发和维护。 「用心娱乐,为爱传承」是棋路的精神指引! 【棋路-开源版】 「棋路-开源版」仅提供了人机对战功能,并不是完成的「棋路-象棋课堂」 【棋路-开源版】基于以下开源项目提供的象棋引擎: - 以下几款棋友们推崇开源象棋引擎,为【棋路-开源版】提代本地 AI 支持: - 象眼(Eleeye, https://github.com/xqbase/eleeye) - 皮卡鱼(Pikafish, https://github.com/PikaCat-OuO/Pikafish) - 挑战者(Challenger, https://github.com/grefen/challenger) - 此外【棋路-开源版】使用了云库的开局库支持: - http://www.chessdb.cn/ 【棋路-完整版】 - 大家可以访问棋路官网,下载完整版的【棋路-象棋课堂】: - https://mdevs.cn/ 【棋路-棋友根据地】 - 大家可以通过QQ群找到【棋路】棋友们的根据地: - 一群:67220535(大群) - 二群:179094728(满) - 三群:897145271(棋友招募中) 【开源协议】 - 【棋路-开源版】基于 GPL v3 协议开源,详情请查看 GPL-v3-License.txt - 【棋路-开源版】使用了皮卡鱼(Pikafish)提供的引擎功能(源自 Stockfish) - Stockfish 和 Pikafish 基于 GPL-v3 协议开源,详见 GPL-v3-License.txt - 【棋路-开源版】使用了皮卡鱼(Pikafish)引擎中的NNUE局面评估能力 - Pikafish 的 NNUE 书面评估部分使用了单独的开源协议,详见 Pikafish-NNUE-License.txt
目前基于 Stockfish 衍生的引擎不少,因此如果参考 Stockfish 的术语命名变量和函数的话,阅读起来感觉会更符合习惯。
有几个小建议:
step 重命名为 move,表示着法,棋步。
phase 重命名为 position,表示棋局,局面。一般 phase 是表示 opening/midgame/endgame 即开局、中局、残局三个阶段。
manual 重名名为 moveList,表示棋谱。
oppo 重命名为 them,表示对手,相对的,us 表示己方。sideToMove 表示行棋方。
kill 重名名为 checkmate,表示将死。
请求帮助,如何能跑起来
配置信息如下:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':pikafish_engine:buildCMakeDebug[arm64-v8a]'.
> Build command failed.
Error while executing process E:\AndroidSDK\cmake\3.18.1\bin\ninja.exe with arguments {-C E:\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\android\.cxx\Debug\5g2n1f4l\arm64-v8a pikafish}
ninja: Entering directory `E:\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\android\.cxx\Debug\5g2n1f4l\arm64-v8a'
[1/20] Building CXX object CMakeFiles/pikafish.dir/fc8daab2dd17d33d2ab8c0d7d6e96cc5/pikafish_engine-1.0.3/ios/Pikafish/src/nnue/features/half_ka_v2_hm.cpp.o
[2/20] Building CXX object CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/main.cpp.o
FAILED: CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/main.cpp.o
E:\AndroidSDK\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dpikafish_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -DNDEBUG -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/main.cpp.o -MF CMakeFiles\pikafish.dir\E_\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\ios\Pikafish\src\main.cpp.o.d -o CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/main.cpp.o -c E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/main.cpp
depfile has multiple output paths[3/20] Building CXX object CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/movepick.cpp.o
FAILED: CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/movepick.cpp.o
E:\AndroidSDK\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dpikafish_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -DNDEBUG -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/movepick.cpp.o -MF CMakeFiles\pikafish.dir\E_\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\ios\Pikafish\src\movepick.cpp.o.d -o CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/movepick.cpp.o -c E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/movepick.cpp
depfile has multiple output paths[4/20] Building CXX object CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/movegen.cpp.o
FAILED: CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/movegen.cpp.o
E:\AndroidSDK\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dpikafish_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -DNDEBUG -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/movegen.cpp.o -MF CMakeFiles\pikafish.dir\E_\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\ios\Pikafish\src\movegen.cpp.o.d -o CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/movegen.cpp.o -c E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/movegen.cpp
depfile has multiple output paths[5/20] Building CXX object CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/external/zip.cpp.o
FAILED: CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/external/zip.cpp.o
E:\AndroidSDK\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dpikafish_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -DNDEBUG -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/external/zip.cpp.o -MF CMakeFiles\pikafish.dir\E_\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\ios\Pikafish\src\external\zip.cpp.o.d -o CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/external/zip.cpp.o -c E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/external/zip.cpp
depfile has multiple output paths[6/20] Building CXX object CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/FlutterPikafish/ffi.cpp.o
FAILED: CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/FlutterPikafish/ffi.cpp.o
E:\AndroidSDK\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dpikafish_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -DNDEBUG -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/FlutterPikafish/ffi.cpp.o -MF CMakeFiles\pikafish.dir\E_\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\ios\FlutterPikafish\ffi.cpp.o.d -o CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/FlutterPikafish/ffi.cpp.o -c E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/FlutterPikafish/ffi.cpp
E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/FlutterPikafish/ffi.cpp:45:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
char *argv[] = {""};
^
1 warning generated.
depfile has multiple output paths[7/20] Building CXX object CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/benchmark.cpp.o
FAILED: CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/benchmark.cpp.o
E:\AndroidSDK\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dpikafish_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -DNDEBUG -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/benchmark.cpp.o -MF CMakeFiles\pikafish.dir\E_\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\ios\Pikafish\src\benchmark.cpp.o.d -o CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/benchmark.cpp.o -c E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/benchmark.cpp
depfile has multiple output paths[8/20] Building CXX object CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/tt.cpp.o
FAILED: CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/tt.cpp.o
E:\AndroidSDK\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dpikafish_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -DNDEBUG -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/tt.cpp.o -MF CMakeFiles\pikafish.dir\E_\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\ios\Pikafish\src\tt.cpp.o.d -o CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/tt.cpp.o -c E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/tt.cpp
depfile has multiple output paths[9/20] Building CXX object CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/tune.cpp.o
FAILED: CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/tune.cpp.o
E:\AndroidSDK\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dpikafish_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -DNDEBUG -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/tune.cpp.o -MF CMakeFiles\pikafish.dir\E_\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\ios\Pikafish\src\tune.cpp.o.d -o CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/tune.cpp.o -c E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/tune.cpp
depfile has multiple output paths[10/20] Building CXX object CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/evaluate.cpp.o
FAILED: CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/evaluate.cpp.o
E:\AndroidSDK\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dpikafish_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -DNDEBUG -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/evaluate.cpp.o -MF CMakeFiles\pikafish.dir\E_\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\ios\Pikafish\src\evaluate.cpp.o.d -o CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/evaluate.cpp.o -c E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/evaluate.cpp
depfile has multiple output paths[11/20] Building CXX object CMakeFiles/pikafish.dir/fc8daab2dd17d33d2ab8c0d7d6e96cc5/pikafish_engine-1.0.3/ios/Pikafish/src/nnue/evaluate_nnue.cpp.o
[12/20] Building CXX object CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/position.cpp.o
FAILED: CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/position.cpp.o
E:\AndroidSDK\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dpikafish_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -DNDEBUG -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/position.cpp.o -MF CMakeFiles\pikafish.dir\E_\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\ios\Pikafish\src\position.cpp.o.d -o CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/position.cpp.o -c E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/position.cpp
depfile has multiple output paths[13/20] Building CXX object CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/misc.cpp.o
FAILED: CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/misc.cpp.o
E:\AndroidSDK\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dpikafish_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -DNDEBUG -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/misc.cpp.o -MF CMakeFiles\pikafish.dir\E_\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\ios\Pikafish\src\misc.cpp.o.d -o CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/misc.cpp.o -c E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/misc.cpp
depfile has multiple output paths[14/20] Building CXX object CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/timeman.cpp.o
FAILED: CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/timeman.cpp.o
E:\AndroidSDK\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dpikafish_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -DNDEBUG -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/timeman.cpp.o -MF CMakeFiles\pikafish.dir\E_\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\ios\Pikafish\src\timeman.cpp.o.d -o CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/timeman.cpp.o -c E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/timeman.cpp
depfile has multiple output paths[15/20] Building CXX object CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/bitboard.cpp.o
FAILED: CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/bitboard.cpp.o
E:\AndroidSDK\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/AndroidSDK/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dpikafish_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -DNDEBUG -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/bitboard.cpp.o -MF CMakeFiles\pikafish.dir\E_\PUB-Cache\hosted\mirror.sjtu.edu.cn%47dart-pub%47\pikafish_engine-1.0.3\ios\Pikafish\src\bitboard.cpp.o.d -o CMakeFiles/pikafish.dir/E_/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/bitboard.cpp.o -c E:/PUB-Cache/hosted/mirror.sjtu.edu.cn%47dart-pub%47/pikafish_engine-1.0.3/ios/Pikafish/src/bitboard.cpp
depfile has multiple output paths
ninja: build stopped: subcommand failed.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 12s
Exception: Gradle task assembleDebug failed with exit code 1
目前项目是复制了几个引擎的代码到版本库中,而上游引擎更新比较频繁,这样就可能会给代码同步带来不便。建议通过 Git Submodules 管理源代码。如果担心上游引入不必要的修改,可以考虑对每个引擎单独开分支维护,这样 git merge 也方便一些。另外,nnue 文件也考虑分离到独立的仓库维护,因为频繁更新这个二进制文件的话,主仓库可能会膨胀较快。
一、用Rust语言重写棋路,Rust是专注安全的语言。
二、给Windows、GNU/Linux、Mac OS等电脑系统(注意这里有“等”这个字眼)发布可执行文件,便携版或安装包都行。
dev 分支,Android 平台,关闭云库,点新局->确定,走棋,崩溃。
Launching lib\main.dart on Pixel 3a XL in debug mode...
Running Gradle task 'assembleDebug'...
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Debug service listening on ws://127.0.0.1:53834/-3tWE614kfQ=/ws
Syncing files to device Pixel 3a XL...
I/Gralloc4( 6585): mapper 4.x is not supported
W/Gralloc3( 6585): mapper 3.x is not supported
W/Gralloc4( 6585): allocator 4.x is not supported
W/Gralloc3( 6585): allocator 3.x is not supported
I/flutter ( 6585): Profile.prepare: PathNotFoundException: Cannot open file, path = '/data/user/0/cn.mdevs.apps.chessroad/app_flutter/default-profile.json' (OS Error: No such file or directory, errno = 2)
I/flutter ( 6585): Kplayer: just_audio
I/flutter ( 6585): engine=> Pikafish 2023-02-05 by the Pikafish developers (see AUTHORS file)
I/flutter ( 6585): engine=< uci
I/flutter ( 6585): engine=< setoption name EvalFile value /data/user/0/cn.mdevs.apps.chessroad/app_flutter/pikafish.nnue
I/flutter ( 6585): ##### stopPonder: ready
I/flutter ( 6585): engine=< setoption name Threads value 1
I/flutter ( 6585): engine=< setoption name Hash value 16
I/flutter ( 6585): engine=< setoption name Ponder value false
I/flutter ( 6585): engine=< setoption name Skill Level value 20
I/flutter ( 6585): engine=< ucinewgame
I/flutter ( 6585): engine=> id name Pikafish 2023-02-05
I/flutter ( 6585): engine=> id author the Pikafish developers (see AUTHORS file)
I/flutter ( 6585): engine=>
I/flutter ( 6585): engine=> option name Debug Log File type string default
I/flutter ( 6585): engine=> option name Threads type spin default 1 min 1 max 1024
I/flutter ( 6585): engine=> option name Hash type spin default 16 min 1 max 2048
I/flutter ( 6585): engine=> option name Clear Hash type button
I/flutter ( 6585): engine=> option name Ponder type check default false
I/flutter ( 6585): engine=> option name MultiPV type spin default 1 min 1 max 500
I/flutter ( 6585): engine=> option name Skill Level type spin default 20 min 0 max 20
I/flutter ( 6585): engine=> option name Move Overhead type spin default 10 min 0 max 5000
I/flutter ( 6585): engine=> option name Slow Mover type spin default 100 min 10 max 1000
I/flutter ( 6585): engine=> option name nodestime type spin default 0 min 0 max 10000
I/flutter ( 6585): engine=> option name Rule60 type check default true
I/flutter ( 6585): engine=> option name Strict3Fold type check default false
I/flutter ( 6585): engine=> option name UCI_LimitStrength type check default false
I/flutter ( 6585): engine=> option name UCI_Elo type spin default 1350 min 1350 max 2850
I/flutter ( 6585): engine=> option name UCI_WDLCentipawn type check default true
I/flutter ( 6585): engine=> option name UCI_ShowWDL type check default false
I/flutter ( 6585): engine=> option name EvalFile type string default pikafish.nnue
I/flutter ( 6585): engine=> uciok
I/flutter ( 6585): BoardWidget build...
I/flutter ( 6585): ##### stop: ready
I/flutter ( 6585): engine=< ucinewgame
I/InAppReviewPlugin( 6585): onMethodCall: isAvailable
I/InAppReviewPlugin( 6585): isAvailable: called
I/InAppReviewPlugin( 6585): noContextOrActivity: called
I/InAppReviewPlugin( 6585): isAvailable: playStoreInstalled: true
I/InAppReviewPlugin( 6585): isAvailable: lollipopOrLater: true
I/InAppReviewPlugin( 6585): isAvailable: The Play Store is available and Android 5 or later is being used
I/InAppReviewPlugin( 6585): cacheReviewInfo: called
I/InAppReviewPlugin( 6585): noContextOrActivity: called
I/PlayCore( 6585): UID: [10357] PID: [6585] ReviewService : requestInAppReview (cn.mdevs.apps.chessroad)
I/flutter ( 6585): BoardWidget build...
I/InAppReviewPlugin( 6585): cacheReviewInfo: Requesting review flow
I/PlayCore( 6585): UID: [10357] PID: [6585] ReviewService : Initiate binding to the service.
I/PlayCore( 6585): UID: [10357] PID: [6585] ReviewService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.inappreviewservice.InAppReviewService})
I/PlayCore( 6585): UID: [10357] PID: [6585] ReviewService : linkToDeath
I/flutter ( 6585): ##### stop: ready
I/flutter ( 6585): engine=< ucinewgame
I/InAppReviewPlugin( 6585): onMethodCall: isAvailable
I/InAppReviewPlugin( 6585): isAvailable: called
I/InAppReviewPlugin( 6585): noContextOrActivity: called
I/InAppReviewPlugin( 6585): isAvailable: playStoreInstalled: true
I/InAppReviewPlugin( 6585): isAvailable: lollipopOrLater: true
I/InAppReviewPlugin( 6585): isAvailable: The Play Store is available and Android 5 or later is being used
I/InAppReviewPlugin( 6585): cacheReviewInfo: called
I/InAppReviewPlugin( 6585): noContextOrActivity: called
I/PlayCore( 6585): UID: [10357] PID: [6585] ReviewService : requestInAppReview (cn.mdevs.apps.chessroad)
I/InAppReviewPlugin( 6585): cacheReviewInfo: Requesting review flow
I/PlayCore( 6585): UID: [10357] PID: [6585] ReviewService : Initiate binding to the service.
I/PlayCore( 6585): UID: [10357] PID: [6585] ReviewService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.inappreviewservice.InAppReviewService})
I/PlayCore( 6585): UID: [10357] PID: [6585] ReviewService : linkToDeath
I/flutter ( 6585): BoardWidget build...
I/flutter ( 6585): ##### stopPonder: ready
I/flutter ( 6585): engine=< position fen rnbakabnr/9/1c5c1/p1p1p1p1p/9/9/P1P1P1P1P/1C5C1/9/RNBAKABNR w - - 0 1 moves b2e2
I/flutter ( 6585): engine=< go movetime 3000
I/flutter ( 6585): engine=> info string ERROR: Network evaluation parameters compatible with the engine must be available.
I/flutter ( 6585): *** Not match: info string ERROR: Network evaluation parameters compatible with the engine must be available.
F/flutter ( 6585): [FATAL:flutter/fml/thread_local.cc(32)] Check failed: false. pthread_setspecific failed (22): Invalid argument
F/libc ( 6585): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 6611 (1.ui), pid 6585 (.apps.chessroad)
Lost connection to device.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.