Announcement

Collapse
No announcement yet.

Trying to install Leela Zero on 18.04

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [CONFIGURATION] Trying to install Leela Zero on 18.04

    I am trying to install Leela Chess Zero on my Kubuntu system from here https://github.com/LeelaChessZero/lc0

    I didnt install backend because I want to use Arena UCI.

    I followed the instructions ran scripts to install ninja-build and meson

    When I execute ./build.sh from the lc0 directory this is the error i get ,I dont see this error anywhere in Google or here- Please help.

    Code:
    [FONT=monospace]deep1@ardra:~/lc0$ ./build.sh
    [B]The Meson build system[/B]
    Version: 0.45.1
    Source dir: [B]/home/deep1/lc0[/B]
    Build dir: [B]/home/deep1/lc0/build/release[/B]
    Build type: [B]native build[/B]
    Project name: [B]lc0[/B]
    Native C++ compiler: [B]c++[/B] (gcc 7.3.0 "c++ (Ubuntu 7.3.0-16ubuntu3) 7.3.0")
    Build machine cpu family: [B]x86_64[/B]
    Build machine cpu: [B]x86_64[/B]
    Library [B]libprotobuf[/B] found: [COLOR=#54FF54][B]YES[/B][/COLOR]
    Program [B]protoc[/B] found: [COLOR=#54FF54][B]YES[/B][/COLOR] (/usr/bin/protoc)
    
    meson.build:55:4: [COLOR=#FF5454][B]ERROR: [/B][/COLOR]Include dir /usr/local/include/ does not exist.
    
    A full log can be found at [B]/home/deep1/lc0/build/release/meson-logs/meson-log.txt[/B]
    deep1@ardra:~/lc0$ 
    
    [/FONT]
    The log file contents is the same as whats pasted above.

    #2
    Did you review the README.md file?

    Down aways it states:
    Ubuntu 18.04

    For Ubuntu 18.04 you need the latest version of meson and clang-6.0 before performing the steps above:
    Make sure that ~/.local/bin is in your PATH environment variable. You can now type lc0 --help and start.
    Given that the error refers to meson, I'm guessing you didn't? I would review the README.md file and verify that you downloaded/installed everything that is required.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Originally posted by Snowhog View Post
      Did you review the README.md file?

      Down aways it states:

      Given that the error refers to meson, I'm guessing you didn't? I would review the README.md file and verify that you downloaded/installed everything that is required.
      I did make the entry, and here is my bash file


      export PATH=$PATH:$HOME/.local/bin
      export GOPATH="$HOME/workspace"
      export PATH="$PATH:$GOPATH/bin"
      export PATH="$PATH:/usr/local/include"

      Comment


        #4
        Originally posted by MacJT View Post
        meson.build:55:4: ERROR: Include dir /usr/local/include/ does not exist.
        That's weird, that directory should exist, perhaps with nothing in it. Is /usr/local/include there? If not, does sudo mkdir /usr/local/include fix that error?
        Regards, John Little

        Comment

        Working...
        X