Leela-zero: how can I install autogtp on OS X?

Created on 20 May 2018  路  3Comments  路  Source: leela-zero/leela-zero

fatal error:
'QString' file not found

include

->

I already installed qt5.9 library using Port.

leelaz work well. when I tried to build autogtp
I can show the error message.

when I made "build" directory on ~/autogtp and try "cmake .."
Also this meesage was shown.

-- Generating done
-- Build files have been written to: /Users/cenovis/Desktop/leela-zero-0.15/autogtp
Cenoviss-MacBook-Pro:build cenovis$ cmake ..
-- Configuring done
CMake Error at CMakeLists.txt:4 (add_executable):
Target "autogtp" links to target "Qt5::Core" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?

techsupport

Most helpful comment

There were some updated mac instructions here:
https://github.com/gcp/leela-zero/pull/1415/files

This seems to work for me:

$ cd autogtp
$ /usr/local/opt/qt/bin/qmake
$ make
$ ln -s ../src/leelaz
$ ./autogtp

All 3 comments

There were some updated mac instructions here:
https://github.com/gcp/leela-zero/pull/1415/files

This seems to work for me:

$ cd autogtp
$ /usr/local/opt/qt/bin/qmake
$ make
$ ln -s ../src/leelaz
$ ./autogtp

@Mardak Thx for your reply. lt works well

@Mardak They should definitely include this in the readme file in autogtp! I had a hard time finding a way to compile autogtp for Mac...

Was this page helpful?
0 / 5 - 0 ratings