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

[NCS v1.7.0]Matter light_bulb example compilation error

Dear friend,

I followed the steps below and failed to compile the v1.7.0\nrf\samples\matter\light_bulb program:
1. Enter the v1.7.0\toolchain directory and double-click "SEGGER Embedded Studio.cmd" to open SEGGER.
2. Click "File"->"Open nRF Connect SDK Project"
3. Select the light_bulb project in matter in the Project column, as shown in the figure below:


4. Click "Rebuild" and the following error appears:

Rebuilding ‘zephyr/linker_zephyr_prebuilt.cmd’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘zephyr/linker_zephyr_prebuilt.cmd’
1> zephyr\CMakeFiles\linker_zephyr_prebuilt.cmd-a833d9e.bat b9ac94e79f037c6a
1> Error starting process zephyr\CMakeFiles\linker_zephyr_prebuilt.cmd-a833d9e.bat
Build failed

The same operation, compiling v1.7.0\nrf\samples\matter\light_switch is successful.
How is matter\light_bulb compiled?

Best Regards,

Zero

  • Now I loaded the same project in the same NCS 1.7.0 environment into nRF Connect for VSC and here it is built without any problems. It's meanwhile already running on the devkit.

    So it is definitely an SES problem, or at least something which relates to SES. I will now no longer investigate on this as we anyway will switch over to nRF Connect for VSC.

    My final recommendation now would definitely be to switch over to nRF Connect for VSC for new projects like Matter.

  • I find it strange that you both experienced this with SES, but since I am unable to reproduce it it will also be hard for me to investigate further.
    I am however happy to hear that this is no longer an issue for you, and that you are now switching to using nRF Connect for VSC.

    Armin said:
    My final recommendation now would definitely be to switch over to nRF Connect for VSC for new projects like Matter.

    It is also my definite recommendation to switch to nRF Connect for VSC for all new projects.

    Best regards,
    Karl

Related