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