How to setup Eclipse C/C++ Development Tools on Windows 7?
Ok, so I download Eclipse C/C++ Development Tools and create a Hello World application and it didn’t run. It failed to compile with this error:
(Cannot run program “make”: Launching failed)
So obviously it is not download and extract and it works…so lets figure it out.
- First, install the other dependencies as described here:
- Add c:\mingw\bin to the path of your environment variables.
- Then download Eclipse from http://www.eclipse.org.
After doing it all right, I still go this error when I tried to compile the simple Hello World program.
undefined reference to `WinMain@16′
Yeah, I fixed this error by saving my C++ file, as found at this site: http://www.peetm.com/blog/?p=278