NetBeans + MinGW 的 C/C++ 开发环境配置

前面的文章《搭建基于 NetBeans 的 OpenGL 开发环境》提到了 NetBeans 和 MinGW 的配置,当时记得好像以前写过步骤,就随手略过了。今天收到网友的提醒才发现是我记错了,在这里补上,同时谢谢你!
  步骤如下:

  1. 下载自动 MinGW 安装程序,这对初学者来说是比较方便的方式,缺点就是下载速度慢得不如蜗牛。
  2. 运行下载的 MinGW-x.y.z.exe,一直点“Next”,接着选择“Current”,直到出现组件选择。
  3. 至少要选择“MinGW base tools”和“g++ compiler”。其他组件还不受 NetBeans 支持。
  4. 然后就是下载、安装,运气不好的话用的时间都可以看一部电影了。
  5. 下载 GNU 源级别调试器(也就是 GDB),安装到 MinGW 目录下。
  6. 下载并安装 MSYS:最小系统,安装后有些简单的配置向导。
  7. 安装 NetBeans 5.5.1 和 NetBeans 5.5.1 C/C++ 开发包。

  现在已经能正常编译和运行标准的 C/C++ 程序了。只要对 Makefile、GCC 这些工具有所了解,NetBeans 足以应付大多数开发,虽然有时还是不太方便。目前 NetBeans 6.0 Beta 出来了,不知道 C/C++ 开发组件有什么改进。

Configuring Development Environment of NetBeans + MinGW
    My former article "Building OpenGL Development Environment Based on NetBeans" noticed the configeration of NetBeans and MinGW, and at that time I just skipped it since I remembered the steps had been written before. Today I received a notice from a net friend and realized my memery was wrong, so I supply the missing and meanwhile thank you!
    Below are the steps:

  1. Download Automated MinGW Installer, which is a good method to primers, and the shortcoming is the downloading speed is slower than a snail.
  2. Run the downloaded MinGW-x.y.z.exe, click "Next" straight forward, select "Current", until the components selection.
  3. Choose at least "MinGW base tools" and "g++ compiler". The other components are not supported by NetBeans yet.
  4. Then is download and installation, and if you're unluck, the consumed time is enough for watching a film.
  5. Download GNU Source-Level Debugger (aka GDB), and install it to MinGW directory.
  6. Download and install MSYS: Minimal System, and after that there is a simple configuration wizard.
  7. Install NetBeans 5.5.1 and NetBeans 5.5.1 C/C++ development pack.

    Now standard C/C++ applications can be compiled and run correctly. If you have a basic knowledge of these tools like Mafile and GCC, NetBeans can handle most developments, though not very convenient sometimes. NetBeans 6.0 Beta has been out, but I don't know the improvements of C/C++ development components.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值