kobanium / aobazero

Aoba Zero
Other
54 stars 8 forks source link

Compilation error `openblas` #16

Closed joeftiger closed 4 years ago

joeftiger commented 4 years ago

Hello,

I am trying to compile the source on Manjaro (Arch) with following errors:

Network.cpp:524:5: error: ‘openblas_set_num_threads’ was not declared in this scope
524 |     openblas_set_num_threads(1);
    |     ^~~~~~~~~~~~~~~~~~~~~~~~
Network.cpp:525:33: error: ‘openblas_get_corename’ was not declared in this scope
525 |     myprintf("BLAS Core: %s\n", openblas_get_corename());
    |                                 ^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:82: Network.o] Error 1
make[2]: Leaving directory '/.../aobazero/src/usi-engine'
make[1]: *** [Makefile:8: default] Error 2
make[1]: Leaving directory '/.../aobazero/src/usi-engine'
make: *** [Makefile:55: src/usi-engine/aobaz] Error 2

I have identified cblas, openblas to be dependencies, but it would be very nice to mention the dependencies in the README.

I am willing to provide a package for the AUR (Arch User Repository) for other users to install it comfortably.

joeftiger commented 4 years ago

won't invest.