在centos (linux) 搭建 eclipse c++开发分环境
网上说得很多,很烦,操作了很多,总有错误,但解决方案很简单。步骤就下面几步就OK了
安装gcc 、g++
yum install gcc
yum install gcc-c++
安装jdk,配置jdk的环境(网上很多,就不用多说了)
下载软件:
eclipse: http://www.eclipse.org/downloads/?osType=linux
CDT : http://www.eclipse.org/cdt/downloads.php
eclipse 解压就可以使用。
CDT可以解压后放在eclipse的安装目录,也可以按照主页上说明的那样安装:
The CDT can either be installed as part of the Eclipse C/C++ IDE packaged zip file or installed into an existing Eclipse using the "Install New Software..." dialog and entering the p2 repository URLs listed below.
p2 software repository: http://download.eclipse.org/tools/cdt/releases/juno.
这样就都OK了,可以使用了。(记得连网哦!)
还有一个东西,忘了呵呵,安装JDK ,这个简单 yum install java-1.6.0-openjdk.i686
安装完JDK ,eclipse会自动的找到JDK ,也不用做什么的环境变量的配置
重要问题:
“launch failed .binary not found linux”
新建了工程后,就在菜单-->project-->build project , 就可以正常运行了。
最新文章
- sql基础语句(技巧)
- 解决由OpenShift自带的APC加速器造成的代码无法及时生效的问题
- 算法与数据结构之选择排序(C语言)
- 【转】Hive配置文件中配置项的含义详解(收藏版)
- JavaSE配置文件java.util.Properties【单例模式Singleton】
- Maven学习小结(一 初探)
- 02_Jquery_04_属性选择器
- 【JS跨域请求】Ajax跨域请求JSONP
- hive大数据倾斜总结
- RabbitMQ 知识总结
- Git之(四)分支管理
- springboot+activemq中引入重发机制
- Arguments Optional 计算两个参数之和的 function
- Java基础——枚举详解
- php基础--来自网页转载
- python简说(十六)第三方模块安装
- 【x】 PAT/BasicLevel_C++/1002. 写出这个数 (20).cpp
- STL中map的遍历
- MySQL5.6的my.ini配置
- bitcoin双花
热门文章
- 字符串变量作mysql查询条件
- use of undeclared identifier 'xxxxxxx方法名'
- coco游戏android.mk
- Git remotes/origin/pr/* 分支清理
- Linux命令缩写来由
- Configuring HDFS High Availability
- 网站日志访问记录组件UserVisitLogsHelp开源了!
- Quartz2D-二维画图引擎 、自己定义UI控件
- Linux下删除相互依赖的包
- [Algorithm] Print All Subsets of a Set