Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling v19.1 for Mac #28

Closed
ArminHHJ opened this issue Oct 27, 2021 · 1 comment
Closed

Error compiling v19.1 for Mac #28

ArminHHJ opened this issue Oct 27, 2021 · 1 comment

Comments

@ArminHHJ
Copy link

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
Copy link
Owner

amchess commented Oct 28, 2021

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

@amchess amchess closed this as completed Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants