jnlt3 / blackmarlin

WIP Chess Engine
GNU General Public License v3.0
95 stars 7 forks source link

Compiling 9.0 release fails #276

Open gcp opened 1 week ago

gcp commented 1 week ago

Trying to compile the 9.0 release (tag from github):

rustc -V
rustc 1.82.0 (f6e511eec 2024-10-15)

make

   Compiling blackmarlin v0.1.0 (/home/morbo/git/blackmarlin)
warning: unexpected `cfg` condition value: `trace`
 --> src/bm/bm_console/mod.rs:5:7                                                                                                        
  |                                                                                                                                      
5 | #[cfg(feature = "trace")]

...

error: values of the type `[[i8; 1088216786]; 1886680168]` are too big for the current architecture
 --> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/boxed.rs:255:5

warning: `blackmarlin` (bin "blackmarlin") generated 5 warnings
error: could not compile `blackmarlin` (bin "blackmarlin") due to 1 previous error; 5 warnings emitted
jnlt3 commented 1 week ago

You need to have Git LFS to pull the network. I am not sure how you got the source code, if it was from releases, I unfortunately don't have a fix. Instead, you can always checkout the v9 branch on the git repo with Git LFS installed and it will automatically pull the neural network file.

gcp commented 1 week ago

Ok, I indeed don't have this "Git-LFS" installed. The releases didn't work:

./blackmarlin-linux-x86-64-v4: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./blackmarlin-linux-x86-64-v4)
./blackmarlin-linux-x86-64-v4: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./blackmarlin-linux-x86-64-v4)
./blackmarlin-linux-x86-64-v4: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./blackmarlin-linux-x86-64-v4)
jnlt3 commented 1 week ago

You might want to git checkout v9 while I am working on a fix. Apologies for the trouble.