That means the wxWidgets versions used for building C::B is not binary compatible with the one you have build yourself.
Either you install the one used for creating the binary package (if possible), or you have to build C::B yourself.
The second is not so hard, if you use autotools.