Bad CPU type in executable

Can anyone help sort this out?

dynare test

Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.

/bin/bash: /Applications/Dynare/4.2.5/matlab/dynare_m: Bad CPU type in executable

Error using dynare (line 114)
DYNARE: preprocessing failed

@jpfeifer any thoughts? thanks

Are you on a Mac? If yes,

Thanks a lot @jpfeifer. Following the advice here is how I sorted it out. I downloaded dynare 4.5.0, cut the preprocessor file, and replaced the one in my Dynare 4.6.1. Worked awesome !