This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Project fails to build due to "Failed to find mbedtls, cannot build security libraries"

Hi, i am using ncs version 1.6.1. I am able to build the project on my windows computer. A few months ago i set up a CI build on a Linux machine which also worked. However i have come to use the Linux machine again to run a CI build and run into the error when trying to build "Failed to find mbedtls, cannot build security libraries". It still works on my windows machine. It should be noted that ncs is downloaded each time before a CI build. I have also tried setting the ARM_MBEDTLS_PATH variable to the correct mbedtls path but this also doesn't work. Any idea as to what config might be wrong?

Parents
  • Hello, 

    The technical support team will be out due to Easter Holiday until Tuesday April 19. We're sorry for the inconvenience. 


    How have you installed the nRF Connecct SDK on you Windows machine? Can you please provide full log output from when you receive the error in Linux?

    Thanks. 

    Kind regards,
    Øyvind

  • Steps to install on Linux are:

    sudo apt install --no-install-recommends git cmake ninja-build gperf \
              ccache dfu-util device-tree-compiler wget \
              python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file \
              make gcc gcc-multilib g++-multilib libsdl2-dev
    pip3 install --user west
    west init -m https://github.com/nrfconnect/sdk-nrf --mr v1.6.1
    cd $NCS_PATH
    west update
    west zephyr-export
    pip3 install --user -r zephyr/scripts/requirements.txt
    pip3 install --user -r nrf/scripts/requirements.txt
    pip3 install --user -r bootloader/mcuboot/scripts/requirements.txt

  • Thanks for confirming and providing the logs. Will get back to you with more information.

Reply Children
No Data
Related