espressif / esp-matter

Espressif's SDK for Matter
Apache License 2.0
694 stars 157 forks source link

Build causing error issues with connectedhomeip (CON-1399) #1137

Open farhan-syed opened 1 week ago

farhan-syed commented 1 week ago

Describe the bug

Not sure exactly what the bug is. When I add esp-matter as a component dependency. I then try to build and I get tons of errors seeming to do with connectedhomeip.

I have my project folder 'sample' inside a esp/ folder. Which also contains esp-idf along with esp-matter.

I tried to use the esp-matter that I installed through the guide but it wasn't working so I then tried to use the add-dependency way and that also didnt work.

Environment

Any additional details ...

shripad621git commented 1 week ago

@farhan-syed , you can refer to the managed_components_light example CMakeLists.txt if you wish to use the esp-matter as a managed_component on release/v1.3 branch as it has the esp-matter component 1.3.0. I got some similar errors when I commented this. Can you please ensure that these changes in CMakeLists.txt are encorporated in your example. In case you want to build without esp-matter as a component dependency using existing esp-matter installed , if you are building the project on top of existing esp-matter example, please build your example keeping the esp-matter example as template so that you can get the CMakeLists.txt changes already present.

shripad621git commented 2 days ago

@farhan-syed , any updates on the issue.

farhan-syed commented 1 day ago

Sorry! Been busy. Will take a look at the suggestions and give it a go to see if it resolves the issues. Will post back here with an update. Thanks!

edit: accidentally clicked close with comment.