Skip to main content
MFawzy
Associate III
January 22, 2021
Question

adding Path Variable to the project isn't working

  • January 22, 2021
  • 2 replies
  • 1093 views

I Added a path variable to the project

and when i'm using this variable with the include files, it can't be recognized

so what is problem?

This topic has been closed for replies.

2 replies

MFawzy
MFawzyAuthor
Associate III
January 22, 2021

it seems that the images aren't attached to my post0693W000007CG3NQAW.png0693W000007CG38QAG.png

Pavel A.
Super User
January 22, 2021

Unfortunately Path variables cannot be used in CDT settings (Paths and symbols, etc). For this you should define a Build variable (under C++ Build).

At least in this version of Eclipse CDT.

Path variables only work in definition of linked resources.

Yes, very annoying and silly :(

--pa

MFawzy
MFawzyAuthor
Associate III
January 22, 2021

unbelievable, I'm using this feature with code composer from TI which is based on eclipse from about 7 years ago and this feature was supported.

Thank you very much for your answer!

Mohammed