amchess / ShashChess

A try to implement Alexander Shashin's theory on a Stockfish's derived chess engine
GNU General Public License v3.0
130 stars 28 forks source link

Error compiling v19.1 for Mac #28

Closed ArminHHJ closed 2 years ago

ArminHHJ commented 2 years ago

some warnings and error on this version. Last version (18.2) was good. Enviroment on Mac should be clean. Stockfish (last dev) and corchess (last dev, 25.10.) compiles without any warnings and error.

Log: montecarlo.cpp:68:14: warning: unused variable 'REWARD_MATE' [-Wunused-const-variable] const Reward REWARD_MATE = Reward(1.0); ^ In file included from montecarlo.cpp:30: ./montecarlo.h:110:10: warning: private field 'max_epsilon' is not used [-Wunused-private-field] double max_epsilon = 0.99; ^ ./montecarlo.h:111:10: warning: private field 'min_epsilon' is not used [-Wunused-private-field] double min_epsilon = 0.00; ^ ./montecarlo.h:112:10: warning: private field 'decay_rate' is not used [-Wunused-private-field] double decay_rate = 0.8;

clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: [shashchess] Error 1 make: [build] Error 2

amchess commented 2 years ago

Hi. We didn't change the montecarlo code. Andrea