I've recently started using eclipse to develop c++ applications(or at least im trying to) but I'm having trouble because something seems to be wrong with my PATH variable, as in order to get eclipse to compile my c++ applications correctly I have to go to the projects properties and manually add the cygwin64 bin folder's path as the PATH variable EVERY time, this isn't a HUGE deal, but it'd be nice if i could just set it as default or something, I've tried setting the PATH default in the advanced windows settings but to no avail..
Asked
Active
Viewed 732 times
1
-
Is there a way to echo the value of the PATH variable within the context of the program? I wonder if the path you set in windows is being overwritten. – macsj200 Aug 16 '14 at 07:24
-
what exactly do you mean by that? – austinphilp Aug 16 '14 at 07:32
-
The PATH is an environment variable. It is possible that eclipse is overwriting the global PATH variable and supplying a different one for the program, thus eliminating the changes you performed in Windows. – macsj200 Aug 16 '14 at 07:33
1 Answers
0
I've tried setting the PATH default in the advanced windows settings but to no avail..
If you have done that, then you would need to open a new cmd Windows, check that the PATH is correct (type set PATH
) and launch eclipse from there.
Then you should see the cygwin tool chain will be shown when you open a new c/cpp project wizard.
(from this blog post)
More on: