I ran into the same problem when trying to build the nightly, win10 64 bit, gcc 8.1.0.
I will try the same thing that Pecan "trial and error-ed", but then there is the discussion that actually that file can exist in 2 locations, ...
Can this please be documented somewhere on the wiki, this is a real breaking change (one could even argue it should not be allowed in such a quick commit), which actually breaks for many people on how to build CB, if we do such things, it should be clearly documented, and the forum is not a good place, things are hard to find. It should be very clear in some section of the wiki.
And a "proven, fact supported solution" if possible, and not trial and errors got it working.
Who can help ?
When there is a good documentation, I will merge it into my nightly cookbook article on the wiki.
I will also mention it in the nightly "Important changes" since it means redistribution of a new wx dll-s.
And while we are rebuilding wx anyway, how about step up to 3.1.2, at the moment nightly is still at 3.1.1 ?