Revision of Building a program giving me error messages from 2009, April 28 - 11:53

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 may not be an issue if you're using versions of MSYS later than 1.0.10.

Site Status

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