Include path not found

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

Include path not found

5,506 次查看
chobin
Contributor III

Hallo,

 

I'm using MCUXpresso IDE v11.0.0.

I have the following warning: 
Invalid project path: Include path not found (\Project name\board). Location: pathentry Type: Path Entry Problem.

I checked in Properties->C/C++ General->Paths and symbols->GNU C and I have tthe following situation:

chobin_0-1633615922668.png

Could you please help me to remove the warning?

Many thaks in advance for you support.

Kinds Regards,

Chobin

0 项奖励
回复
12 回复数

5,383 次查看
ErichStyger
Specialist I

I'm really not sure what is going on.

Desperate try:

ErichS_0-1634200081698.png

 

Otherwise: can you share your project?

0 项奖励
回复

5,377 次查看
chobin
Contributor III

I've tried it already, but haven't solved it.

The strange thing is that I removed a path from "Path & Symbols" and include sections, but when I compile the software there is a warning that it doesn't find that path...I don't understand why it tries to find that path.

 

I think I will leave these warnings

0 项奖励
回复

5,404 次查看
ErichStyger
Specialist I

The ones with the '/' at the beginning are all wrong: remove them.

0 项奖励
回复

5,408 次查看
chobin
Contributor III

I removed the / at the begging of each path, but it doesn't resolve the warning

0 项奖励
回复

5,403 次查看
ErichStyger
Specialist I

sometimes you have to remove the warning manually from the Problems view. Did you already try that?

5,398 次查看
chobin
Contributor III

I delated it, but the warning appears again.

When I removed the "/" at the beginning of the path, MCUxpresso replaces it with the project name and appears the warning symbol on each path...please lock the following image

chobin_0-1634196339126.png

If I compile the project, I have errors

0 项奖励
回复

5,442 次查看
ErichStyger
Specialist I

have you checked the 'Path and Symbols' too?

0 项奖励
回复

5,422 次查看
chobin
Contributor III

In 'Path and Symbols' I have the following:

chobin_0-1634140289869.png

 

Chobin

 

0 项奖励
回复

5,498 次查看
ErichStyger
Specialist I

Check the directories listed with the -I option:

ErichS_0-1633677554599.png

 

5,467 次查看
chobin
Contributor III

Dear Erich,

 

thank you for your replay.

I checked the directories listed with the -I option and I found this:

chobin_0-1634136683818.png

I haven't fond the error.

Do you see it?

Many thanks for your support.

Kind Regards,

Chobin

0 项奖励
回复

5,459 次查看
ErichStyger
Specialist I

You need to use

"${ProjName}/board"

 

Remove the leading slash.

Erich

0 项奖励
回复

5,448 次查看
chobin
Contributor III

Dear Erich,

I wrote "${ProjName}/board", but the warning appears again.

 

chobin_1-1634138878940.png

 

I'm sorry, but I don't find the mistake.

Chobin

0 项奖励
回复