ninja command error on crostini

  • derpninja23
    12th May 2021 Member 0 Permalink

    i'm building TPT on crostini and when running 

    "meson build-debug
    cd build-debug
    ninja"

    ninja returns

    "ninja: error: loading 'build.ninja': No such file or directory"

    anyone know why?

  • jacob1
    12th May 2021 Developer 0 Permalink
    Did the meson command work successfully?

    If you type "ls build-debug" do you see a file "build.ninja" that was generated from meson?

    Something failed, we'll need to see the original error to debug this.
    Edited once by jacob1. Last: 12th May 2021
  • derpninja23
    12th May 2021 Member 0 Permalink

    @jacob1 (View Post)

    this is the full error log

    derpninja23@penguin:~/powder$ meson build-debug

    ERROR: Neither directory contains a build file meson.build.
    derpninja23@penguin:~/powder$ cd build-debug
    derpninja23@penguin:~/powder/build-debug$ ninja
    ninja: error: loading 'build.ninja': No such file or directory

     

  • jacob1
    12th May 2021 Developer 0 Permalink
    You need to run these commands from the directory containing the TPT Source code
  • derpninja23
    12th May 2021 Member 0 Permalink

    @jacob1 (View Post)

     Thank you!