blaze/Math.h not found
Closed this issue · 1 comments
masterkni6 commented
Trying to build CrazyAra in ubuntu and followed the steps to install blaze dependencies but make cant find it during installation
masterkni6@masterkni6-X570-AORUS-ELITE:~/CrazyAra/engine/build$ cmake -DCMAKE_BUILD_TYPE=Release ..
- The CXX compiler identification is GNU 5.5.0
- Check for working CXX compiler: /home/linuxbrew/.linuxbrew/bin/c++
- Check for working CXX compiler: /home/linuxbrew/.linuxbrew/bin/c++ -- works
- Detecting CXX compiler ABI info
- Detecting CXX compiler ABI info - done
- Detecting CXX compile features
- Detecting CXX compile features - done
- BLAZE_PATH not set
- Found blaze
- Looking for C++ include pthread.h
- Looking for C++ include pthread.h - found
- Performing Test CMAKE_HAVE_LIBC_PTHREAD
- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
- Looking for pthread_create in pthreads
- Looking for pthread_create in pthreads - not found
- Looking for pthread_create in pthread
- Looking for pthread_create in pthread - found
- Found Threads: TRUE
- Enabled TensorRT support
- TensorRT path: /home/masterkni6/Downloads/TensorRT-7.2.3.4
- Found CUDA: /usr/local/cuda (found version "11.2")
- CUDA path:
- Configuring done
- Generating done
- Build files have been written to: /home/masterkni6/CrazyAra/engine/build
masterkni6@masterkni6-X570-AORUS-ELITE:~/CrazyAra/engine/build$ make
make[1]: Entering directory '/home/masterkni6/CrazyAra/engine/build'
make[2]: Entering directory '/home/masterkni6/CrazyAra/engine/build'
Scanning dependencies of target ClassicAra
make[2]: Leaving directory '/home/masterkni6/CrazyAra/engine/build'
make[2]: Entering directory '/home/masterkni6/CrazyAra/engine/build'
[ 1%] Building CXX object CMakeFiles/ClassicAra.dir/src/agents/agent.cpp.o
In file included from /home/masterkni6/CrazyAra/engine/src/agents/agent.h:31:0,
from /home/masterkni6/CrazyAra/engine/src/agents/agent.cpp:29:
/home/masterkni6/CrazyAra/engine/src/agents/../stateobj.h:33:24: fatal error: blaze/Math.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/ClassicAra.dir/build.make:63: CMakeFiles/ClassicAra.dir/src/agents/agent.cpp.o] Error 1
make[2]: Leaving directory '/home/masterkni6/CrazyAra/engine/build'
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/ClassicAra.dir/all] Error 2
make[1]: Leaving directory '/home/masterkni6/CrazyAra/engine/build'
make: *** [Makefile:84: all] Error 2
QueensGambit commented
Hi @masterkni666 ,
the file Blaze/math.h
is a file from the Blaze library.
The installation of Blaze is described in the wiki:
If this doesn't work, you can define an environment variable which points to the Blaze libary.
export BLAZE_PATH=/<path-to-blaze-intall-path>/
You can also refer to the Dockerfile for an automated installation.