jdart1 / arasan-chess

Arasan chess engine
Other
124 stars 30 forks source link

Missing nnue.h file #33

Closed ScallyBag closed 3 years ago

ScallyBag commented 3 years ago

Hi John,

Arasan has been one of our main engines since the start of Picochess and the on the DGT Pi and up to the 12 Aug 2021 I’ve never had a problem compiling your engine for the Raspberry Pi.

Today I noticed your update where you’ve added NNUE, however when I try to compile it a file appears to be missing, or do I need to add something in its place?

In file included from arasanx.cpp:8: globals.h:18:10: fatal error: nnue/nnue.h: No such file or directory

include "nnue/nnue.h"

Folder arasan/src/nnue is empty, where can I get file nnue.h from please?

Thanks,

Al.

tissatussa commented 3 years ago

i had no problem with this : the nnue.h file is in /src/nnue .. probably you did not add the option "--recursive" to the git clone line : this also downloads any submodules (if i remember correctly) ..

jdart1 commented 3 years ago

See the build instructions in the doc subdirectory. You need to do "git submodule update --init --recursive" in your local clone to obtain all dependencies.

ScallyBag commented 3 years ago

Thanks very much, working fine now 👍

Al.