nRF Connect Documentation Build

I'm trying to build the documentation on a Windows 10 system. I've installed all of the required tools and made it to step 4 when I get the following:

C:\ncs\v1.9.1\nrf\doc>cmake -GNinja -S. -B_build
-- Configuring done
-- Generating done
-- Build files have been written to: C:/ncs/v1.9.1/nrf/doc/_build

C:\ncs\v1.9.1\nrf\doc>cd _build

C:\ncs\v1.9.1\nrf\doc\_build>ninja
ninja: error: '/scripts/requirements.txt', needed by 'nrf/src/versions.txt', missing and no known rule to make it

Any clue as to the ninja error?

Steve

Parents
  • Hi Marte,

    When I run the pips, I got "Requirement already satisfied:..." for all requirements.

    Obviously I shouldn't delete all of the files in c:/ncs/v1.9.1/nrf/doc so I deleted just the _build folder as it was the only one recently created.

    The results are essentially the same:

    C:\ncs\v1.9.1\nrf\doc>cmake -GNinja -S. -B_build
    -- Found PythonInterp: C:/ncs/v1.9.1/toolchain/opt/bin/python.exe (found suitable version "3.8.2", minimum required is "3.4")
    -- Found Doxygen: C:/Program Files/doxygen/bin/doxygen.exe (found suitable version "1.9.3 (c0b9eafbfb53286ce31e75e2b6c976ee4d345473)", minimum required is "1.8.18") found components: doxygen
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v1.9.1/nrf/doc/_build

    C:\ncs\v1.9.1\nrf\doc>cd _build

    C:\ncs\v1.9.1\nrf\doc\_build>ninja
    ninja: error: '/scripts/requirements.txt', needed by 'nrf/src/versions.txt', missing and no known rule to make it

    I've gone so far as to install the entire toolchain on a clean Windows 7 machine then trying to build the documentation there with the same issue occurring.

    Regards

    Steve

Reply
  • Hi Marte,

    When I run the pips, I got "Requirement already satisfied:..." for all requirements.

    Obviously I shouldn't delete all of the files in c:/ncs/v1.9.1/nrf/doc so I deleted just the _build folder as it was the only one recently created.

    The results are essentially the same:

    C:\ncs\v1.9.1\nrf\doc>cmake -GNinja -S. -B_build
    -- Found PythonInterp: C:/ncs/v1.9.1/toolchain/opt/bin/python.exe (found suitable version "3.8.2", minimum required is "3.4")
    -- Found Doxygen: C:/Program Files/doxygen/bin/doxygen.exe (found suitable version "1.9.3 (c0b9eafbfb53286ce31e75e2b6c976ee4d345473)", minimum required is "1.8.18") found components: doxygen
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v1.9.1/nrf/doc/_build

    C:\ncs\v1.9.1\nrf\doc>cd _build

    C:\ncs\v1.9.1\nrf\doc\_build>ninja
    ninja: error: '/scripts/requirements.txt', needed by 'nrf/src/versions.txt', missing and no known rule to make it

    I've gone so far as to install the entire toolchain on a clean Windows 7 machine then trying to build the documentation there with the same issue occurring.

    Regards

    Steve

Children
No Data
Related