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 22:29 Go to next message
Ben Frey is currently offline Ben FreyFriend
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 21:21 Go to previous message
Tim Cook is currently offline Tim CookFriend
Messages: 15
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.



Previous Topic:convert long string to multi-line string
Next Topic:User-defined include path recursive?
Goto Forum:

Current Time: Thu Feb 23 14:44:48 GMT 2017

Powered by FUDForum. Page generated in 0.04009 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software