SiliconLabs / matter

Matter is creating more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://www.silabs.com/wireless/matter
Apache License 2.0
151 stars 45 forks source link

MatterDishwasherOverThread build error: ../src/AppTask.cpp:25:10: fatal error: app/clusters/on-off-server/on-off-server.h: No such file or directory #143

Closed lboue closed 4 months ago

lboue commented 4 months ago

Description of the issue

MatterDishwasherOverThread build error with SimplicityStudio v5 and Gecko_sdk_4.4.1

Error:

-I"C:\Users\INTEL-N100\SimplicityStudio\v5_workspace\MatterDishwasherOverThread\gecko_sdk_4.4.1\util\silicon_labs\silabs_core\memory_manager" -I"C:\Users\INTEL-N100\SimplicityStudio\v5_workspace\MatterDishwasherOverThread\gecko_sdk_4.4.1\platform\common\toolchain\inc" -I"C:\Users\INTEL-N100\SimplicityStudio\v5_workspace\MatterDishwasherOverThread\gecko_sdk_4.4.1\protocol\openthread\include" -I"C:\Users\INTEL-N100\SimplicityStudio\v5_workspace\MatterDishwasherOverThread\gecko_sdk_4.4.1\platform\service\system\inc" -I"C:\Users\INTEL-N100\SimplicityStudio\v5_workspace\MatterDishwasherOverThread\gecko_sdk_4.4.1\platform\service\sleeptimer\inc" -I"C:\Users\INTEL-N100\SimplicityStudio\v5_workspace\MatterDishwasherOverThread\gecko_sdk_4.4.1\platform\security\sl_component\sl_protocol_crypto\src" -I"C:\Users\INTEL-N100\SimplicityStudio\v5_workspace\MatterDishwasherOverThread\gecko_sdk_4.4.1\platform\emdrv\uartdrv\inc" -I"C:\Users\INTEL-N100\SimplicityStudio\v5_workspace\MatterDishwasherOverThread\gecko_sdk_4.4.1\platform\service\udelay\inc" -I"C:\Users\INTEL-N100\SimplicityStudio\v5_workspace\MatterDishwasherOverThread\autogen" -I"C:\Users\INTEL-N100\SimplicityStudio\v5_workspace\MatterDishwasherOverThread\autogen\zap-generated" -I"C:\Users\INTEL-N100\SimplicityStudio\v5_workspace\MatterDishwasherOverThread\autogen\zap-generated\app" -Os -Wall -Wextra -ffunction-sections -fdata-sections -imacrossl_openthread_ble_cli_config.h -imacrossl_gcc_preinclude.h -mfpu=fpv5-sp-d16 -mfloat-abi=hard -fno-rtti -fno-exceptions -std=gnu++17 -Wno-deprecated-declarations -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -Wno-cast-function-type -Wno-psabi -fno-strict-aliasing -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-common -Werror=unused-variable -Werror=unused-function -Wno-sign-compare -mcmse --specs=nano.specs -c -fmessage-length=0 -MMD -MP -MF"matter_2.2.0/zzz_generated/app-common/app-common/zap-generated/cluster-objects.d" -MT"matter_2.2.0/zzz_generated/app-common/app-common/zap-generated/cluster-objects.o" -o "matter_2.2.0/zzz_generated/app-common/app-common/zap-generated/cluster-objects.o" "../matter_2.2.0/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp"
../src/AppTask.cpp:25:10: fatal error: app/clusters/on-off-server/on-off-server.h: No such file or directory
   25 | #include <app/clusters/on-off-server/on-off-server.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [src/subdir.mk:32: src/AppTask.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Finished building: ../src/operational-state-delegate-impl.cpp

Finished building: ../matter_2.2.0/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp

Finished building: ../matter_2.2.0/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp

make: *** [makefile:191: all] Error 2
"make -j4 all" terminated with exit code 2. Build might be incomplete.

15:52:31 Build Failed. 4 errors, 0 warnings. (took 21s.584ms)

Steps to reproduce the issue

Build MatterDishwasherOverThread build error with SimplicityStudio v5 and Gecko_sdk_4.4.1

MatterDishwasher

Preferred SDK

image

Device type(s) and network topology

N/A

Proposed solution(s)

No response

SMG version

release_2.2.0-1.2

Protocol(s)

Thread

Hardware platform(s)

EFR32xG24 Explorer Kit BRD2703A

Development platform(s)

SimplicityStudio v5

Captured data or logs

Build log: on-off-server_error.log