As identified on the mailing list, it is required that "Haskell and wxwidgets must use the same architecture, i.e. both 32-bit or both 64-bit" [1].
It would be nice if wxc could check the architectures, fail gracefully and emit a message if they are not consistent.
[1] https://sourceforge.net/mailarchive/message.php?msg_id=28665899
A bitness check is implemented in wxc and pushed to the repository.