cancel
Showing results for 
Search instead for 
Did you mean: 

Renaming Project Causing files failed to open

bradyc17
Associate

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. 

 

 

bradyc17_0-1741700814321.png

bradyc17_1-1741700926352.png

Thanks

Brady 

 

 

3 REPLIES 3
bradyc17
Associate

@Ouadi 
Hopefully you can help me with this!

Thanks
Brady 

 

Ouadi
ST Employee

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

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.

bradyc17_0-1741774172516.png

bradyc17_1-1741774196201.png

Thanks
Brady