How to build C++ IDE on Windows Platform (64bit)

As we all konwn, it's easy to develop C++ project on linux, there so many powerful open source libraries, but how to use gcc and g++ on WindowsNT platform?

1. eclipse install

eclipse with CDT package can be found from USTC mirror.
https://mirrors.ustc.edu.cn/eclipse/technology/epp/downloads/release/
don't forget install java runtime enviroment(jre)

2. msys2 install

msys2 can be found here
https://mirrors.ustc.edu.cn/msys2/distrib/
https://lug.ustc.edu.cn/wiki/mirrors/help/msys2
or
https://mirrors.tuna.tsinghua.edu.cn/msys2/distrib/
https://mirrors.tuna.tsinghua.edu.cn/help/msys2/
after install and set software source, use those command to update and install gcc

pacman -Syu
pacman -S gcc mingw-w64-x86_64-gcc gdb mingw-w64-x86_64-gdb

3. set path enviroment

add MINGW_HOME to you path enviroment which value is your msys2 mingw install home dir C:\msys64\mingw64

4. create project

Ctrl+n>>C++ project>>Toolchain: MinGW GCC
happy coding.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Qt是属于一个跨平台的GUI开发软件,支持的平台有Unix、Linux、Windows/WinCE、IOS等。 Q...
    一叶之界阅读 8,238评论 0 17
  • 更新软件源 软件源使用国内比较知名的软件源例如163,清华,中科大等的软件源这些软件源的访问速度在国内也是比较快的...
    x贝塔阅读 2,817评论 0 1
  • 非教育网: 网易开源镜像站:http://mirrors.163.com/ 阿里开源镜像站:http://mirr...
    无极生两仪阅读 5,421评论 1 9
  • 清华镜像站 Anaconda 镜像使用帮助 Anaconda 是一个用于科学计算的 Python 发行版,支持 L...
    waterchinap阅读 313评论 0 1
  • 原文内容过多,我做了些删减。 目录: 1.我们平时如何做决定 2.两类无知 3.空套装的人 4.利用故事认识无知 ...
    李绅Luis阅读 632评论 0 4