Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
When does this happen, i.e. what are you building?
If it's not wxWidgets itself or one of the samples, show the list of #includes that lead to the error.