I only just saw that there is no error regarding wx-config at all, but it is about a generated header file. So maybe the problem is not about running wx-config?
Have you checked whether that file is really not created at all (i.e. wx-config does not run or does not run properly), or maybe it
is created, just not where the compiler expects it?
Have you tried the "explicitely add currently compiling dir" compiler option? It is a dim hope, but hey, it doesn't cost to try it
