updating the SDK to 2.8.0 resulting in non working cmake compilation.

I have a sample app (hellow world from the zephyr samples).

It compiled well on my system in vscode using 2.7.0 and sysbuild.

I then installed 2.8.0 and suddenly the build fails, the cmake cannot find the python libraries.

The reason seemed to be that even though i have defined the default SDK and toolchain to be 2.7.0 when calling ncsconfig.cmake it finds toolchain for 2.8.0 and not 2.7.0

i tried to set -DNCS_TOOLCHAIN_VERSION=v2.7.0 instead of None in west call, but it did not help.

Any idea how to resolve it ?

If i remove 2.8.0 then everything goes back to normal, but i want the ability to move some of the new projects to 2.8.0 without docker.

Please advise.

Parents
  • Hello,

    I am sorry for the late reply. How did you install NCS and the toolchain? 

    Is it possible to upload the application that triggers this issue, so that I may have a look, and see if I can replicate the issue or not?

    Best regards,

    Edvin

  • Hi Edvin!

    Please check above i have described in details how i installed things from scratch on a VM with ubuntu 22.04.5.
    as for your questions:

    1. i installed all toolchains and SDKs using vs code plugin.

    2. i have installed 2.7.0 first and then i installed JUST the 2.8.0 toolchain, i never installed the SDK.

    3. i run a zephyr blinky sample from the 2.7.0 sdk, i didn't change configuration. Anyone can replicate it.

    Eyal.

Reply
  • Hi Edvin!

    Please check above i have described in details how i installed things from scratch on a VM with ubuntu 22.04.5.
    as for your questions:

    1. i installed all toolchains and SDKs using vs code plugin.

    2. i have installed 2.7.0 first and then i installed JUST the 2.8.0 toolchain, i never installed the SDK.

    3. i run a zephyr blinky sample from the 2.7.0 sdk, i didn't change configuration. Anyone can replicate it.

    Eyal.

Children
No Data
Related