glinscott / leela-chess

**MOVED TO https://github.com/LeelaChessZero/leela-chess ** A chess adaption of GCP's Leela Zero
http://lczero.org
GNU General Public License v3.0
758 stars 298 forks source link

"undefined reference" while building lczero #440

Open Metagross31 opened 6 years ago

Metagross31 commented 6 years ago

Hello folks,

I was trying to build leela on Linux Mint 18.3, but I get an error when trying to do so. I can use the cmake .. command without errors while in the build directory, but as soon as I run make I get the error $HOME/leela-chess/src/UCTSearch.cpp:29:44: fatal error: /usr/local/include/boost/range/adaptor/reversed.hpp: No permissions

Trying sudo make gives an error while trying to link the executable /usr/bin/ld: CMakeFiles/lczero.dir/src/main.cpp.o: undefined reference to symbol '_ZN5boost6system16generic_categoryEv'

The full outputs of cmake, make and sudo make can be found in https://pastebin.com/0cFef4wV

smatovic commented 6 years ago

maybe you can try to compile from src folder via Makefile, https://github.com/glinscott/leela-chess/issues/403