Monday, September 8, 2014

Eclipse CDT no print out message to its console in Windows 64bit

How to fix it:

My environment is Windows 8, 64bit. Eclipse for Windows 64bit.
Either you install Mingw-w64 32bit or 64bit version ( Then you might face with the problem that Eclipse doesn't print out message to its console.
Assuming that you setup your environment correctly, but it seems that Eclipse does not recognize GCC in PATH environment variable.
So, In order to fix this issue, in your project, do:

  Right click in C/C++ project -> Run As ->  Run Configurations... and select tab Environment.

Update PATH variable to your GCC installation directory accordingly. That all! but quite waste time to finding ;(

Eclipse for Windows 64bit, MinGW-W64 64bit

No comments: