2025-03-11 6:49 AM
Hello
I was trying to follow the matter and thread protocol to create my own project. I was following step 1.2.2.5 where the documentation suggest to rename the project in the Cube IDE from "Lighting-App" to "my_light-app". After this step most of my files are unable to open in the cube IDE, it gave me the following error ( I included a screenshot in this post). The problem didn't go away after I changed the included path according to the last step of the documentation.
Thanks
Brady
2025-03-12 2:15 AM
@Ouadi
Hopefully you can help me with this!
Thanks
Brady
2025-03-12 2:24 AM
Hi @bradyc17,
Have you changed the location of the copied project ? It seems this is a link issue, please follow the files location to identify the problem.
Best regards,
Ouadi
2025-03-12 3:13 AM
Hi @Ouadi
Yes I copy and paste the whole STM32CubeExpansion_Matter_V1.1.0 folder into my document folder from the download folder. One thing I noticed when comparing the project lighting-app project v.s the my_light-app project ( the difference is that I renamed the latter from the former in cube IDE) is that the location of each file is different. For example, the app_entry.cpp file in the lighting-app has the location of PROJECT_LOC\..... ; however app_entry.cpp in the renamed project ( my_light-app) has the location of copy_parent\Core\....
( I have included two screenshots of the location of the file below)
I tried to manually copy the file location of the not renamed ones to the file location of the renamed ones, and it seemed to work.
But is there a more efficient way to fix the problem instead of manually changing them one by one? As basically all the files in the project has the same problem.
Thanks
Brady