Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse PATH environment variable in 64-bit on Win7 not working
Eclipse PATH environment variable in 64-bit on Win7 not working [message #633426] Sun, 17 October 2010 14:51 Go to next message
No real name is currently offline No real name
Messages: 1
Registered: October 2010
Junior Member
I have the 64-bit version of Eclipse Helios SR1 with CDT on Windows 7 64-bit. I am using MinGW as my toolset. I have an environment variable set under Project > Properties > C/C++ Build > Environment for PATH that points to "c:\mingw\bin". Eclipse is set to Append these environment variables.

When I try and build with this configuration, I get:

Internal Builder: Cannot run program "gcc" (in directory "C:\Users\<me>\workspace\test\Release"): CreateProcess error=2, The system cannot find the file specified
Build error occurred, build is stopped


When I quit out of Eclipse and manually set my PATH environment variable in Windows to include "c:\mingw\bin" (through System > Advanced System Settings... > Environment Variables...) everything compiles fine without changing any of the options in Eclipse.

TLDR: The only way I can get my project to build is by setting my environment PATH variable manually through Windows -- the Eclipse-set environment variables aren't taking.
Re: Eclipse PATH environment variable in 64-bit on Win7 not working [message #662414 is a reply to message #633426] Wed, 30 March 2011 11:12 Go to previous messageGo to next message
Loaden  is currently offline Loaden
Messages: 14
Registered: September 2009
Junior Member
I can confirm this issue.
May be we need submit a bug report?
Re: Eclipse PATH environment variable in 64-bit on Win7 not working [message #662416 is a reply to message #662414] Wed, 30 March 2011 11:23 Go to previous message
Loaden  is currently offline Loaden
Messages: 14
Registered: September 2009
Junior Member
This bug reported in here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=341379
Previous Topic:CDT debugger internal error at launch
Next Topic:VARIABLE problems
Goto Forum:
  


Current Time: Thu Apr 17 08:46:26 EDT 2014

Powered by FUDForum. Page generated in 0.14949 seconds