Skip to main content


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
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 35
Registered: September 2010
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.6.2 (Neon)
v 4.7.3a (Oxygen)
v 4.8r (Photon)
v 2018_09

PyDev

MinGW
MSys
GNU Toolchain
Perforce
Previous Topic:convert long string to multi-line string
Next Topic:User-defined include path recursive?
Goto Forum:
  


Current Time: Wed May 15 00:25:45 GMT 2024

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

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

Back to the top