Latest Nemorino compile problems:

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
User avatar
Scally
Posts: 125
Joined: Thu Sep 28, 2017 7:34 pm
Location: Bermondsey, London
Full name: Alan Cooper
Contact:

Latest Nemorino compile problems:

Post by Scally » Fri Feb 28, 2020 3:21 pm

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.
Alan Cooper
My Chess Computers

User avatar
Deberger
Posts: 47
Joined: Sat Nov 02, 2019 5:42 pm
Full name: ɹǝƃɹǝqǝᗡ ǝɔnɹꓭ

Re: Latest Nemorino compile problems:

Post by Deberger » Fri Feb 28, 2020 6:31 pm

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: 125
Joined: Thu Sep 28, 2017 7:34 pm
Location: Bermondsey, London
Full name: Alan Cooper
Contact:

Re: Latest Nemorino compile problems:

Post by Scally » Fri Feb 28, 2020 6:59 pm

Hi Deberger,

Nemorino v5.32 has now compiled perfectly.

I had to make both your suggested changes.

Thanks very much ....


Al.
Alan Cooper
My Chess Computers

carldaman
Posts: 1894
Joined: Sat Jun 02, 2012 12:13 am

Re: Latest Nemorino compile problems:

Post by carldaman » Sat Feb 29, 2020 1:23 am

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: 31
Joined: Tue Mar 25, 2014 9:34 pm
Contact:

Re: Latest Nemorino compile problems:

Post by Florentino » Sat Feb 29, 2020 8:58 am

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

Post Reply