what wxwidgets version do you have installed? ie. most likely install 3.1.5, then reinstall/compile erlang..