Issue on release mode and not in debug

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

Issue on release mode and not in debug

2,025 次查看
sebastien_ledio
Contributor I

Hello Community,

I'm using S32DS IDE, and I have create a project.

In debug mode I can compile without problem but when I select release mode, the compiler stop due to "fatal error: XXX.h: No such file or directory"

And I saw too, on my workspace, only for release, the folder and files have a square on the left (see picture attached), so nobody knows where come from the problem ?

IssueRelease.bmp

Thanks by advances

Sebastien

0 项奖励
回复
2 回复数

1,882 次查看
sebastien_ledio
Contributor I

ok I found myself, in fact in click right on project -> Properties ->C/C++ Build -> Settings -> Standard S32DS C Compiler -> includes, there were not the same includes between debug and release.

So I copied these one of debug to release

But now on debug and release mode, on each folder and file, I have a square on the left, so somebody knows where comes from this issue ?

Best regards

Sebastien

0 项奖励
回复

1,882 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

if you are creating new project - good idea is add shared Includes/libraries for all configuration together:
pastedImage_1.png

Otherwise you need to add your includes/libs for each configuration manually. 

Hope it helps. 

Jiri 

0 项奖励
回复