To make a successful wxWidgets program, the compiler must use the same version of the library at both the compile and link steps.
In the 2.2, 2.3 and 2.4 versions of wxWidgets the makefiles had a common make.env code block which ensured a match.
In 2.5.1 and the CVS head
versions of wxWidgets, the program and library have complelty
separate
makefiles, with the makefiles for both program and library
generated by
another program called bakefile
to ensure a match.
wxHatch has been tested
to generate makefiles for new projects in both <=2.4.2 and
>= 2.5.1 and
produces makefiles according to the currently selected wxWidgets
version
Makefiles are provided to
build wxHatch 1.3 for the stable wxWindows 2.4.2
release.
Makefiles for 2.5
Please note these points
Bakefiles
Bakefiles provide a
standard way of applying consistent compiler settings. At the time of
writing they are at version 0.1.4. If an update to the wxWidgets
bakefiles occurs, you may wish to update them for your projects. To do
this, regenerate the templates used by wxhatch in codedir/bake and future
wxhatch-generated makefiles will use the new templates. To
regenerate: