Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Help with CDT on Windows 7 x64
Help with CDT on Windows 7 x64 [message #1087610] Thu, 15 August 2013 18:29 Go to next message
Ben Frey is currently offline Ben Frey
Messages: 2
Registered: August 2013
Junior Member
I've been using MSVS 2010 for a couple months while taking my first C++ class, and would like to move to eclipse because the support for C++11 on MSVS doesn't seem as extensive as on eclipse.

I was able to install eclipse and get it running, but can't get it to compile or run a program that did so fine on MSVS 2010. The errors I get in the "Problems" tab are that g++ and gcc aren't found in PATH. Here is my current PATH:
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\7-Zip\;C:\Program Files (x86)\Common Files\HP\Digital Imaging\bin;C:\Program Files (x86)\HP\Digital Imaging\bin\;C:\Program Files (x86)\HP\Digital Imaging\bin\Qt\Qt 4.3.3;C:\Program Files (x86)\QuickTime\QTSystem\;D:\Programs\Calibre2\;D:\MinGW\bin\g++.exe;D:\MinGW\bin\gcc.exe;


So g++.exe and gcc.exe ARE in PATH, but there's some disconnect somewhere. What's going wrong?
Re: Help with CDT on Windows 7 x64 [message #1088274 is a reply to message #1087610] Fri, 16 August 2013 17:21 Go to previous message
Tim Cook is currently offline Tim Cook
Messages: 12
Registered: September 2010
Junior Member
According to the path you've posted, you've included the executables in the path. The path should only contain pathes to executable files.

example:

D:\MinGW\bin;D:\MinGW\bin




Major System Configuration:
Windows 7 64-bit
Eclipse IDE for C/C++ Developers
v 4.3(Kepler)
MinGW
MSys
GNU Toolchain
SVN
Previous Topic:No Console Output (MinGW, CDT)
Next Topic:User-defined include path recursive?
Goto Forum:
  


Current Time: Fri Aug 22 09:45:19 EDT 2014

Powered by FUDForum. Page generated in 0.03017 seconds