LudiKalell
11.06.2004, 18:38
Tjha nu, ich rauf mir nun schon STUNDEN die Haare aus, und weil ich die Suchfunktion benutzt hab weiss ich zumindets dass einige hier diese Kombi wohl benutzen..
ALSO:
WIE Gott verdammt nochmal arrrrggg
also nochmal..
Wie krieg ich den Mist zum Laufen ?
1. Installiere Eclipse latest Release
2. installe CDT 1.2
3. Schritt: benutze Online Installer von CygWin, zusätzlich markiere ich dort (warum verdammt nochmal is das nich Standard ?!?!?, und warum muss ich für son was 128 MB installn ?) :
g++
make
gdb
Nun mach ich es GENAU wie auf der Eclipse Seite in der FAQ beschrieben:
"
In the C/C++ Projects View right click and select "New Project ..."
Select "C++" in the left pane and the select "Managed Make C++ Project"
Enter a name for the new project and select Finish. Note: you can determine the "Build Settings" from this dialog, but we will do so later, in the build section.
In the C/C++ Projects View right click and select "New" > "Simple" > "File". Name your file hello.cpp
Copy the following text into the "hello.cpp" file:
#include <stdio.h>
int main()
{
printf("Hello World\n");
//block until user types something
fgetc(stdin);
return 0;
}
Now, save the file.
Building a simple C++ Project -- "Hello World" on a Windows Platform :
Follow the instructions, on the respective web site, to install your GNU tools.
Create a new C++ project (Link zum obigen Text)
In the C/C++ Projects View, select your new C/C++ project, right click and select "Rebuild Project"
You will have two additional files. "hello.o" and "hello.exe"
Double click on "hello.exe" or right click and select "Open With" > "Default Editor" to launch your simple program.
"
Doll ! Von wegen ! Bei mir kommt einfach nur im C-Build View:
"Build error
(Exec error:Launching failed)"
Als ich noch Eclipse 3.0 mit CDT2.0 M9 verwendet hatte erkannte er IRGENDWIE automatisch die Include Paths von MinGW, obwoh ich CygWin executable angegeben hatte, und kompilierte das auch.. nur da hatte ich keinen Bock auf so nen "du hast keinen Zugriff" Scheiss.. und wollte eben dass er die CygWin Tools benutzte (ich will nicht wie ein unmündiger behandelt werden)
WO VERDAMMT KANN ICH DEN COMPILER KONTROLLIEREN *ausrast*
Ich dachte Eclipse soll ach so toll sein, dann sollte es auch intuitiv sein ! Wo kann ich nun in 2.1 Include Paths angeben, oder noch besser: wie verkicker ich ihm einfach die CygWin Tool Chain zu benutzen ?
automatisch würde er angeblich make, g++ und gdb benutzen.. aber wenn er in der MS-DOs Konsole schon nich die Befehle findet, wie soll das erst Eclipse können ??? Und CDT selbst besitzt kein make/g++/gdb
Man bin ich gefrustet......
ALSO:
WIE Gott verdammt nochmal arrrrggg
also nochmal..
Wie krieg ich den Mist zum Laufen ?
1. Installiere Eclipse latest Release
2. installe CDT 1.2
3. Schritt: benutze Online Installer von CygWin, zusätzlich markiere ich dort (warum verdammt nochmal is das nich Standard ?!?!?, und warum muss ich für son was 128 MB installn ?) :
g++
make
gdb
Nun mach ich es GENAU wie auf der Eclipse Seite in der FAQ beschrieben:
"
In the C/C++ Projects View right click and select "New Project ..."
Select "C++" in the left pane and the select "Managed Make C++ Project"
Enter a name for the new project and select Finish. Note: you can determine the "Build Settings" from this dialog, but we will do so later, in the build section.
In the C/C++ Projects View right click and select "New" > "Simple" > "File". Name your file hello.cpp
Copy the following text into the "hello.cpp" file:
#include <stdio.h>
int main()
{
printf("Hello World\n");
//block until user types something
fgetc(stdin);
return 0;
}
Now, save the file.
Building a simple C++ Project -- "Hello World" on a Windows Platform :
Follow the instructions, on the respective web site, to install your GNU tools.
Create a new C++ project (Link zum obigen Text)
In the C/C++ Projects View, select your new C/C++ project, right click and select "Rebuild Project"
You will have two additional files. "hello.o" and "hello.exe"
Double click on "hello.exe" or right click and select "Open With" > "Default Editor" to launch your simple program.
"
Doll ! Von wegen ! Bei mir kommt einfach nur im C-Build View:
"Build error
(Exec error:Launching failed)"
Als ich noch Eclipse 3.0 mit CDT2.0 M9 verwendet hatte erkannte er IRGENDWIE automatisch die Include Paths von MinGW, obwoh ich CygWin executable angegeben hatte, und kompilierte das auch.. nur da hatte ich keinen Bock auf so nen "du hast keinen Zugriff" Scheiss.. und wollte eben dass er die CygWin Tools benutzte (ich will nicht wie ein unmündiger behandelt werden)
WO VERDAMMT KANN ICH DEN COMPILER KONTROLLIEREN *ausrast*
Ich dachte Eclipse soll ach so toll sein, dann sollte es auch intuitiv sein ! Wo kann ich nun in 2.1 Include Paths angeben, oder noch besser: wie verkicker ich ihm einfach die CygWin Tool Chain zu benutzen ?
automatisch würde er angeblich make, g++ und gdb benutzen.. aber wenn er in der MS-DOs Konsole schon nich die Befehle findet, wie soll das erst Eclipse können ??? Und CDT selbst besitzt kein make/g++/gdb
Man bin ich gefrustet......