Revision of Building a program giving me error messages from 2008, October 27 - 16:24

Printer-friendly version


TODO: Reformat for MediaWiki formatting.


stdio.h: no such file or directory

(or another standard header)

This may be occur if you install GCC but not the w32api and mingw-runtime packages. The MinGW installer (e.g. MinGW-3.1.0-1.exe) includes all the basic packages you need: GCC, binutils, w32api, mingw-runtime and mingw32-make. See


gcc: no input files

This error may be caused by installing MinGW and MSYS in the same path. This is not permitted, so you will need to remove them and install again in separate directories. However, one may be a subdirectory of another, e.g. MSYS in c:\msys\1.0 and MinGW in c:\msys\1.0\mingw.

This wiki is not a forum for discussion of usage issues. Please use the list instead. We do not allow creation of comments by anonymous or untrusted users, on any page.
Site Status

Site maintenance performed successfully, site online Dec 13th 12:00 AM Eastern.