Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse-PATH-g++...(Little Problem with path)
Eclipse-PATH-g++... [message #912040] Wed, 12 September 2012 20:54 Go to next message
Philipp Schmette is currently offline Philipp SchmetteFriend
Messages: 2
Registered: September 2012
Junior Member
Hi, I have been trying for one day but it just won´t work:
What I´ve already done:
downloaded MinWG-get-inst. installed all compontens
updated it via cmd
pasted that in my system+user env. C:\MinGW\bin;C:\Program Files\Java\jdk1.7.0\bin;

code:
/*
 ============================================================================
 Name        : HelloWorld.cpp
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : Hello World in C++,
 ============================================================================
 */

#include <iostream>

using namespace std;

int main(void) {
	cout << "Hello World" << endl; /* prints Hello World */
	return 0;
}

I get these errors:
Description	Resource	Path	Location	Type
Program "g++" not found in PATH	HelloWorld		[Discovery Options] page in project properties	C/C++ Problem

Description	Resource	Path	Location	Type
Program "gcc" not found in PATH	HelloWorld		[Discovery Options] page in project properties	C/C++ Problem

Description	Resource	Path	Location	Type
sh -c "autoreconf -i" 
Cannot run program "sh": Launching failed

Error: Program "sh" not found in PATH
PATH=[C:/Program Files/Java/jdk1.7.0/bin/../jre/bin/server;C:/Program Files/Java/jdk1.7.0/bin/../jre/bin;C:/Program Files/Java/jdk1.7.0/bin/../jre/lib/amd64;C:\MinGW\bin;C:\Program Files\Java\jdk1.7.0\bin;H:\C\eclipse_32;C:/Program Files/Java/jdk1.7.0/bin/../jre/bin/server;C:/Program Files/Java/jdk1.7.0/bin/../jre/bin;C:/Program Files/Java/jdk1.7.0/bin/../jre/lib/amd64;C:\MinGW\bin;C:\Program Files\Java\jdk1.7.0\bin;H:\C\eclipse_32]
	HelloWorld		-1	Configure Problem


The 3. one I don´t understand.
Would be great if someone could tell me my little mistake.
I think that MinWG installs g++, gcc and I don´t have to install the toolkit on my own.
(http
//code.google
c0m/a/eclipselabs.org/p/wascana/)
Sry for posting this link that way:

best regards
Re: Eclipse-PATH-g++... [message #912285 is a reply to message #912040] Thu, 13 September 2012 09:07 Go to previous message
Philipp Schmette is currently offline Philipp SchmetteFriend
Messages: 2
Registered: September 2012
Junior Member
Solved - chose wrong execu.... Very Happy
Previous Topic:opening .H/.C/.CPP popps-up notepad
Next Topic:resolving imports from an ECOS library
Goto Forum:
  


Current Time: Fri Oct 11 01:32:26 GMT 2024

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

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

Back to the top