Step 2 - Install Eclipse C++
- Download eclipse-cpp-galileo-SR2-win32.zip
- Extract the files to c:\eclipse
- Download Java_Portable_6_Update_19_online.paf.exe
- Install to c:\java
- start > run > cmd > enter
- path=c:\java;c:\eclipse;c:\mingw\bin;%path%
- eclipse > enter
- The "workspace launcher" dialog will appear
- Set workspace to "c:\work"
- file > new > c++ project
- set the project name to "hello-c++"
- set the project type to "makefile project > hello world c++ project"
- select "finish"
- In there bottom pane there are tabs for "problems", "tasks", "console" and "properties"
- Select "console"
- properties > c/c++ build
- deselect "use default build command"
- change "make" to "mingw32-make"
- Click "run hello-c++.exe"
- The "launch debug configuration selection" dialog will appear
- Select "mingw gdb debugger"
- Select "ok"
No comments:
Post a Comment