Build failure
Closed this issue · 2 comments
jas14 commented
make -C node_modules/capacitor-stockfish/stockfish/src/ build
...
main.cpp:49:8: error: no member named 'loop' in namespace 'Stockfish::UCI'
UCI::loop(argc, argv);
~~~~~^
1 error generated.
make[1]: *** [main.o] Error 1
make: *** [build] Error 2
I'm not sure how this happened, but it appears UCI::loop
was renamed UCI::command
, but is still expected to be the latter:
capacitor-stockfish/stockfish/src/uci.cpp
Lines 225 to 231 in 9bdcefe
jas14 commented
Ah, I see. This has been rewritten to take single commands from the caller instead of running a CLI loop.
veloce commented
You cannot directly build the project anymore from stockfish/src
indeed, it has to be built from gradle and android ndk.