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 Steve,

    From the error it seems like the Python dependencies were not installed correctly. Please go to the C:/ncs/v1.9.1 folder and run the following commands:

    pip3 install -r zephyr/scripts/requirements.txt
    pip3 install -r nrf/scripts/requirements.txt
    pip3 install -r bootloader/mcuboot/scripts/requirements.txt

    After this delete all files and folders in C:/ncs/v1.9.1/nrf/doc that was created when you tried to build the documentation previously before trying again.

    Best regards,

    Marte

Reply
  • Hi Steve,

    From the error it seems like the Python dependencies were not installed correctly. Please go to the C:/ncs/v1.9.1 folder and run the following commands:

    pip3 install -r zephyr/scripts/requirements.txt
    pip3 install -r nrf/scripts/requirements.txt
    pip3 install -r bootloader/mcuboot/scripts/requirements.txt

    After this delete all files and folders in C:/ncs/v1.9.1/nrf/doc that was created when you tried to build the documentation previously before trying again.

    Best regards,

    Marte

Children
No Data
Related