I believe you have some conversions to fix;
For instance:
controls.h:173: error: invalid conversion from `const wxChar*' to
`char'
or
controls.h:174: error: conversion from `const char*' to `wxString' is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::
wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note: wxString::
wxString(int) <near match>
Those are the main ones. Repeated a few dozen times. I have
wxGTK 2.6.0 installed. I tried the previous release as well (wxGTK
2.4.2, although that one isn't supported as you said).
Ps./ I suggest you change this:
# Replace the value below with the output of wx-config --cxxflags
WXINC_REL = -I/usr/local/lib/wx/include/gtk2-ansi-release-2.5 -I/
usr/local/include/wx-2.5 -DGTK_NO_CHECK_CASTS -
D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -
DWX_PRECOMP -DNO_GCC_PRAGMA
into this:
WXINC_REL = `wx-config --cxxflags`
Portability, ease of use, no need for everybody to go changing your
Makefile, and it all works without any sort of trouble. (Except for
what I'm witnessing, of course).