directory and files not found by the compiler

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

directory and files not found by the compiler

跳至解决方案
877 次查看
Shreyas_Bhat_Karkala
Contributor III

hello,  i am trying to add two folders to the project CFG and LIB but it is not detected by the compiler. i have attached the project for reference, also if there is a procedure to add folders and files please share .

标记 (1)
0 项奖励
回复
1 解答
749 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Shreyas_Bhat_Karkala

Have you tried adding the build path to the specific configuration you are using?

"Right click -> Build path -> Add to -> Release_XXX"

Julin_AragnM_0-1751995786107.png

There are no specific guides for includes and such for S32DS, but since it is based in eclipse, you can use the same guides for normal eclipse:

Hope this helps.

在原帖中查看解决方案

6 回复数
864 次查看
Shreyas_Bhat_Karkala
Contributor III

Shreyas_Bhat_Karkala_0-1751610062850.png

the following folder does not have the yellow bullet point as the other files instead  it has a bult line in the symbol  this is a screen shot from the S32ds version3.5.

0 项奖励
回复
833 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Shreyas_Bhat_Karkala

Are you using a repository with the project? The question mark means the code is not yet added and committed to your repository. This is normal and would disappear as soon as you commit your code to git.

This is eclipse functionality. It should not affect building, as long as the folders are included in the project's properties.

Best regards,
Julián

 

785 次查看
Shreyas_Bhat_Karkala
Contributor III

hi @Julián_AragónM, my project is building in debug flash but give file not detected in the release mode i checked the paths and symbol and the includes both are same but its not able to detect the files, i had attached the project can you check why is it giving this error

0 项奖励
回复
750 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Shreyas_Bhat_Karkala

Have you tried adding the build path to the specific configuration you are using?

"Right click -> Build path -> Add to -> Release_XXX"

Julin_AragnM_0-1751995786107.png

There are no specific guides for includes and such for S32DS, but since it is based in eclipse, you can use the same guides for normal eclipse:

Hope this helps.

635 次查看
Shreyas_Bhat_Karkala
Contributor III

hi @Julián_AragónM i had tried this before this too isn't working , i have to check the .h calls maybe if its called in the loop inside different module 

thank you

799 次查看
Shreyas_Bhat_Karkala
Contributor III

hi @Julián_AragónM thank you for the symbol definitions , is there any document as how to add directory , header file and source file to the project as i tried to add it in many ways like a source folder and as normal folder. 

0 项奖励
回复