Closed saki-osive closed 1 year ago
What errors do you get?
@Disservin
Result obtained on running make build
:
Default net: nn-ad9b42354671.nnue
nn-ad9b42354671.nnue available.
Network validated
Config:
debug: 'no'
sanitize: 'none'
optimize: 'yes'
arch: 'x86_64'
bits: '64'
kernel: 'Linux'
os: 'GNU/Linux'
prefetch: 'yes'
popcnt: 'yes'
pext: 'no'
sse: 'yes'
mmx: 'no'
sse2: 'yes'
ssse3: 'yes'
sse41: 'yes'
avx2: 'no'
avxvnni: 'no'
avx512: 'no'
vnni256: 'no'
vnni512: 'no'
neon: 'no'
arm_version: '0'
Flags:
CXX: g++
CXXFLAGS: -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -m64 -DUSE_PTHREADS -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DGIT_SHA="8f817ef0" -DGIT_DATE="20221209" -flto -flto-partition=one
LDFLAGS: -m64 -Wl,--no-as-needed -lpthread -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -m64 -DUSE_PTHREADS -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DGIT_SHA="8f817ef0" -DGIT_DATE="20221209" -flto -flto-partition=one -flto=jobserver
Testing config sanity. If this fails, try 'make help' ...
make ARCH=x86-64-modern COMP=gcc all
make[1]: Entering directory '/home/arcturus/CLionProjects/Stockfish/src'
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -m64 -DUSE_PTHREADS -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DGIT_SHA=\"8f817ef0\" -DGIT_DATE=\"20221209\" -flto -flto-partition=one -c -o misc.o misc.cpp
g++ -o stockfish benchmark.o bitbase.o bitboard.o endgame.o evaluate.o main.o material.o misc.o movegen.o movepick.o pawns.o position.o psqt.o search.o thread.o timeman.o tt.o uci.o ucioption.o tune.o tbprobe.o evaluate_nnue.o half_ka_v2_hm.o -m64 -Wl,--no-as-needed -lpthread -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -m64 -DUSE_PTHREADS -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DGIT_SHA=\"8f817ef0\" -DGIT_DATE=\"20221209\" -flto -flto-partition=one -flto=jobserver
make[1]: Leaving directory '/home/arcturus/CLionProjects/Stockfish/src'
so, it looks like that generated the binary named stockfish
the folder Stockfish/src
Theres no error here, you should find the stockfish
in ./src
.
I tried it all over again in an Ubuntu 20.04 box and it worked, but still no success on 22.10
gcc version 12.2.0 (Ubuntu 12.2.0-3ubuntu1)
I can compile on Ubuntu 22.04 with gcc 12.1.0
There was some problem with my VM, I don't know for whatever strange reason, it didn't work. Created a new box and it worked. Thanks @vondele @Disservin
Describe the issue
Unable to compile the codebase to create the binary using the steps given in the README.md file.
Expected behavior
Binary should be generated after successful compilation.
Steps to reproduce
Anything else?
Are there any other missing steps/dependencies to compile it on Linux which are not mentioned in the README.md file?
Operating system
Linux
Stockfish version
Latest on master