Install Eclipse CDT

Environment
Eclipse CDT - Luna
MinGW - 4 Dec 2013 (x86 compiler)

Install and Create C\C++ project      Eclipse CDT with MinGW 

1. Install JRE, Eclipse CDT and MinGW

2. Add c:\MinGW\bin to Path in environment variable

3. Copy mingw32-make.ex eand name as make.exe

4. Run Eclipse Window->Peferences->C/C++ -> New C\C++ Project Wizard -> Makefile Project


5. Choose PE Windows Parser,  Apply,  OK

Create C\C++ Project

1. File -> New -> Project -> -> C\C++ -> Choose C Project of C++ Project

2. Empty Project, MinGW GCC

After Created a Project

3. Window -> Show View -> Make Target


4. Right Click Project -> New



5. type target name



6. Build and Run !


Reference (Chinese)
http://nknush.kh.edu.tw/~johnsirhp/Eclipse+CDT+MinGW.htm
http://www.dotblogs.com.tw/shunnien/archive/2013/12/19/135202.aspx
http://shaocian.blogspot.hk/2012/11/eclipse-cc-cdt-mingw.html

留言

此網誌的熱門文章

[OpenCV] RAW rgb data to IplImage | 以rgb原始資料建立IplImage指標

Monitoring System Spec.& IO Mapping

突如奇來的高科技電子零件