-
Notifications
You must be signed in to change notification settings - Fork 42
3. Build CrazyAra binary
Johannes Czech edited this page Oct 14, 2022
·
10 revisions
cd CrazyAra/engine
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j4
Note: You may change -j4 to e.g. -j2 or -j8 to use more or less threads while building.
set BLAZE_PATH=<path_to_blaze>/Blaze_3.6/
cd CrazyAra\engine
mkdir build
cd build
cmake -G "Visual Studio 15 2017 Win64" ..
msbuild CrazyAra.sln /p:Configuration=Release;Platform=x64 /maxcpucount
For newer Visual Studio versions use:
cmake -G "Visual Studio 17 2022" ..
Note: Better use cmd.exe
instead Windows Power Shell.
If you run into problems regarding a definition of min & max in your dependencies, you may have to add
#undef max
#undef min
in the corresponding dependency source file.
Reference: https://stackoverflow.com/questions/2561368/illegal-token-on-right-side-of
- Home
- Installation
- Engine settings
- Command line usage
- Build instructions
- Programmer's guide
- Setting up CrazyAra as a Lichess BOT
- Neural network
- Strength evaluation
- FAQ
- Stockfish 10 - Crazyhouse Self Play
- Paper Instructions