richardf

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Builds runs on one Pi 4 and not two others. #29445
    richardf
    Participant

    I build a simple ap from start. When I try to build on one of my Raspberry pi’s, I get:

    rm -rf “/tmp/VisualGDB/c/RaspberryPi/RaspAps/LinuxProject1/VisualGDB/Debug”
    C:\RaspberryPi\RaspAps\LinuxProject1 => /tmp/VisualGDB/c/RaspberryPi/RaspAps/LinuxProject1: 1 files copied (253 bytes).
    ninja -f “VisualGDB/Debug/LinuxProject1.msbuild-ninja”
    log: ninja version 0.1.3 initializing
    die: error: must run as root
    ————————————————————-
    Command exited with code 1
    Executable: ninja
    Arguments: -f “VisualGDB/Debug/LinuxProject1.msbuild-ninja”
    Directory: /tmp/VisualGDB/c/RaspberryPi/RaspAps/LinuxProject1
    Command-line action failed

    in reply to: Builds runs on one Pi 4 and not two others. #29437
    richardf
    Participant

    I then built an ap from start. When I try to build, I get:

    rm -rf “/tmp/VisualGDB/c/RaspberryPi/RaspAps/LinuxProject1/VisualGDB/Debug”
    C:\RaspberryPi\RaspAps\LinuxProject1 => /tmp/VisualGDB/c/RaspberryPi/RaspAps/LinuxProject1: 1 files copied (253 bytes).
    ninja -f “VisualGDB/Debug/LinuxProject1.msbuild-ninja”
    log: ninja version 0.1.3 initializing
    die: error: must run as root
    ————————————————————-
    Command exited with code 1
    Executable: ninja
    Arguments: -f “VisualGDB/Debug/LinuxProject1.msbuild-ninja”
    Directory: /tmp/VisualGDB/c/RaspberryPi/RaspAps/LinuxProject1
    Command-line action failed

    ========== Project Rebuild Summary ==========
    LinuxProject1 rebuilt in 00:02
    ========== Rebuild: 0 Succeeded, 1 Failed, 0 Skipped ==========

    in reply to: Builds runs on one Pi 4 and not two others. #29436
    richardf
    Participant

    rm -rf “/tmp/VisualGDB/c/RaspGlo/GloR/VisualGDB/Debug”
    C:\RaspGlo\GloR => /tmp/VisualGDB/c/RaspGlo/GloR: 147 files copied (686KB).
    ninja -f “VisualGDB/Debug/GloR.msbuild-ninja”
    bash: ninja: command not found
    ————————————————————-
    Command exited with code 127
    Executable: ninja
    Arguments: -f “VisualGDB/Debug/GloR.msbuild-ninja”
    Directory: /tmp/VisualGDB/c/RaspGlo/GloR
    Command-line action failed

    ========== Project Rebuild Summary ==========
    GloR rebuilt in 00:00
    ========== Rebuild: 0 Succeeded, 1 Failed, 0 Skipped ==========

     

    I performed sudo apt install ninja. I rebooted.  I am logged in as pi.

    If I type ninja I get

    pi@ablack:~ $ ninja
    log: warning: no configuration file specified, using default values
    log: ninja version 0.1.3 initializing
    die: error: must run as root

    I can build and run successfully using GNU make except it is painfully slow.

    thanks

Viewing 3 posts - 1 through 3 (of 3 total)