Include path not found

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

Include path not found

2,754 次查看
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 回复数

2,631 次查看
ErichStyger
Senior Contributor V

I'm really not sure what is going on.

Desperate try:

ErichS_0-1634200081698.png

 

Otherwise: can you share your project?

0 项奖励

2,625 次查看
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 项奖励

2,652 次查看
ErichStyger
Senior Contributor V

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

0 项奖励

2,656 次查看
chobin
Contributor III

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

0 项奖励

2,651 次查看
ErichStyger
Senior Contributor V

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

2,646 次查看
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 项奖励

2,690 次查看
ErichStyger
Senior Contributor V

have you checked the 'Path and Symbols' too?

0 项奖励

2,670 次查看
chobin
Contributor III

In 'Path and Symbols' I have the following:

chobin_0-1634140289869.png

 

Chobin

 

0 项奖励

2,746 次查看
ErichStyger
Senior Contributor V

Check the directories listed with the -I option:

ErichS_0-1633677554599.png

 

2,715 次查看
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 项奖励

2,707 次查看
ErichStyger
Senior Contributor V

You need to use

"${ProjName}/board"

 

Remove the leading slash.

Erich

0 项奖励

2,696 次查看
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 项奖励