Include path not found

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Include path not found

2,531 Views
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 Kudos
12 Replies

2,408 Views
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 Kudos

2,402 Views
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 Kudos

2,429 Views
ErichStyger
Senior Contributor V

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

0 Kudos

2,433 Views
chobin
Contributor III

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

0 Kudos

2,428 Views
ErichStyger
Senior Contributor V

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

2,423 Views
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 Kudos

2,467 Views
ErichStyger
Senior Contributor V

have you checked the 'Path and Symbols' too?

0 Kudos

2,447 Views
chobin
Contributor III

In 'Path and Symbols' I have the following:

chobin_0-1634140289869.png

 

Chobin

 

0 Kudos

2,523 Views
ErichStyger
Senior Contributor V

Check the directories listed with the -I option:

ErichS_0-1633677554599.png

 

2,492 Views
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 Kudos

2,484 Views
ErichStyger
Senior Contributor V

You need to use

"${ProjName}/board"

 

Remove the leading slash.

Erich

0 Kudos

2,473 Views
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 Kudos