1.Use ubuntu software center install Eclipse IDE
2.Install GCC and G++ build in the termail input command :"sudo apt-get install build-essential"
3.Start eclipse
4.In to Help -> Install New Software -> Word With input : "Eclipse Galileo Repository - http://download.eclipse.org/releases/galileo"
5.Select Collaboration -> Mylyn Bridge : C/C++ Development -> Next
6.Install success "Mylyn Bridge : C/C++ Development",Restart Eclipse IDE
7.In to Help -> Install New Software -> Word With input : "Eclipse Galileo Repository - http://download.eclipse.org/releases/galileo"
8.Select Programming Languages -> Eclipse C/C++ Development Tools -> Next
9.Install Eclipse C/C++ Development Tools success, Restart Eclipse IDE
10.Create C/C++ project(defualt select "hello world program"), In the menu on right click select Build Project -> Select -> Debug
Config result.
提示Duplicate Location错误!!
解决方法:
在window/preferences install/Update/avaliable software site里面删除重复的项就可以了