Latest Nemorino compile problems:

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
Scally
Posts: 232
Joined: Thu Sep 28, 2017 9:34 pm
Location: Bermondsey, London
Full name: Alan Cooper

Latest Nemorino compile problems:

Post by Scally »

Hi all,

Nemorino is not on GitHub where I can raise an issue, it’s on BitBucket where I can’t find how to raise an issue, so apologies to raise this here.

I’m having problems compiling the latest Nemorino code on my Raspberry Pi 3b+ (Linux 32 bit), I’ve had no problems compiling it up to and including v5.28

However since the latest update I’m Getting this error:

In file included from hashtables.h:8:0,
from position.h:7,
from tbprobe.cpp:33:
settings.h:249:44: error: invalid conversion from ‘int’ to ‘Value’ [-fpermissive]
Value MALUS_KNIGHT_DISLOCATED = Value{ 4 };
^
Makefile:16: recipe for target 'make' failed
make: *** [make] Error 1

Can Christian or anyone else help please?


Thanks,

Al.
User avatar
Deberger
Posts: 91
Joined: Sat Nov 02, 2019 6:42 pm
Full name: ɹǝƃɹǝqǝᗡ ǝɔnɹꓭ

Re: Latest Nemorino compile problems:

Post by Deberger »

Looks like a typo;

> Value MALUS_KNIGHT_DISLOCATED = Value{ 4 };

Change the curly braces to parentheses:
Value MALUS_KNIGHT_DISLOCATED = Value(4);

If you also get error: ‘make_unique’ is not a member of ‘std’, bump the version to 14:

> FLAGS = -O3 -Wmain -std=c++11 -flto -pthread -DNDEBUG -g
> FLAGS_BMI2 = -O3 -Wmain -std=c++11 -flto -pthread -DNDEBUG -DUSE_PEXT -march=native -g

FLAGS = -O3 -Wmain -std=c++14 -flto -pthread -DNDEBUG -g
FLAGS_BMI2 = -O3 -Wmain -std=c++14 -flto -pthread -DNDEBUG -DUSE_PEXT -march=native -g
User avatar
Scally
Posts: 232
Joined: Thu Sep 28, 2017 9:34 pm
Location: Bermondsey, London
Full name: Alan Cooper

Re: Latest Nemorino compile problems:

Post by Scally »

Hi Deberger,

Nemorino v5.32 has now compiled perfectly.

I had to make both your suggested changes.

Thanks very much ....


Al.
carldaman
Posts: 2283
Joined: Sat Jun 02, 2012 2:13 am

Re: Latest Nemorino compile problems:

Post by carldaman »

https://ci.appveyor.com/project/christi ... r/nemorino

According to the Nemorino site above, the latest build is v5.29 - where did you find v5.32?

Thanks,
Carl
Florentino
Posts: 43
Joined: Tue Mar 25, 2014 10:34 pm

Re: Latest Nemorino compile problems:

Post by Florentino »

Hello Alan and Carl,
Sorry. I added som C++14 constructs without updating the Makefile. I will fix this in 5.34.
I don't provide precompiled binaries for dev versions anymore, so to get 5.32 you have to compile it yourself.
Thanks for reporting that issue,
Christian