If I include -DSKILL in my Makefile then compilation fails with
option.c(3429): error: identifier "reduce_depth" is undefined
reduce_depth = reduce_depth * skill / 100;
^
compilation aborted for crafty.c (code 2).
Without -DSKILL all is fine.
Crafty-22.2 compile failure
Moderator: Ras
-
zullil
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
-
zullil
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Crafty-22.2 compile failure
zullil wrote:If I include -DSKILL in my Makefile then compilation fails with
option.c(3429): error: identifier "reduce_depth" is undefined
reduce_depth = reduce_depth * skill / 100;
^
compilation aborted for crafty.c (code 2).
Without -DSKILL all is fine.
Should that be
Code: Select all
LMR_depth = LMR_depth * skill / 100;-
bob
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Crafty-22.2 compile failure
my error. "reduce_depth" should be "LMR_depth" now. I just fixed the source. Or you can replace both of the "reduce_depth" variables with "LMR_depth" and it will compile cleanly without downloading again.
-
zullil
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Crafty-22.2 compile failure
Thanks. By the way, there's a typo in line 499 of option.c. It's utterly insignificant, but has existed for a long time.bob wrote:my error. "reduce_depth" should be "LMR_depth" now. I just fixed the source. Or you can replace both of the "reduce_depth" variables with "LMR_depth" and it will compile cleanly without downloading again.
Code: Select all
Print(128, "don't.display statistics at end of each search.\n");
-
swami
- Posts: 6664
- Joined: Thu Mar 09, 2006 4:21 am
Re: Crafty-22.2 compile failure
Nah, I don't care about such typos, since they don't affect playing strength of the engine but you might have a pointzullil wrote:Thanks. By the way, there's a typo in line 499 of option.c. It's utterly insignificant, but has existed for a long time.bob wrote:my error. "reduce_depth" should be "LMR_depth" now. I just fixed the source. Or you can replace both of the "reduce_depth" variables with "LMR_depth" and it will compile cleanly without downloading again.
Code: Select all
Print(128, "don't.display statistics at end of each search.\n");
-
gerold
- Posts: 10121
- Joined: Thu Mar 09, 2006 12:57 am
- Location: van buren,missouri
Re: Crafty-22.2 compile failure
The last few version of Crafty including 22.2. I get messagebob wrote:my error. "reduce_depth" should be "LMR_depth" now. I just fixed the source. Or you can replace both of the "reduce_depth" variables with "LMR_depth" and it will compile cleanly without downloading again.
crafty win.32 exe has stopped working. Before all other ones
worked. Don't know how to get Crafty to work in Arena 1.1
Thanks for any reply.
Best,
Gerold.