Minimalist GNU for Windows

Why do I get error messages when building a simple program using MinGW?

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 http://www.mingw.org/download.shtml.

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.

PHP Warning

lib/XmlElement.php:43 Warning[2]: get_class() expects parameter 1 to be object, string given (...repeated 9 times)

lib/XmlElement.php (In template 'navbar' < 'top' < 'body' < 'html'):43 Warning[2]: get_class() expects parameter 1 to be object, string given:

lib/XmlElement.php (In template 'navbar' < 'top' < 'body' < 'html'):43 Warning[2]: get_class() expects parameter 1 to be object, string given:

Valid XHTML 1.0! Valid CSS!
Page Execution took real: 0.062, user: 0.050, sys: 0.010 seconds , Memory: 2484456

lib/XmlElement.php (In template 'actionbar' < 'browse-footer'):43 Warning[2]: get_class() expects parameter 1 to be object, string given:

lib/XmlElement.php (In template 'actionbar' < 'browse-footer'):43 Warning[2]: get_class() expects parameter 1 to be object, string given: