I just downloaded the last version on github and that problem disappeared.
Compiling an example -the very 3DPrimitiveExample- threw no problems but when executing it, look like it cannot find the libraries
C:/msys64/home/Studio/of_v0.9.0_msys2_release/examples/3d/3DPrimitivesExample/bin/3DPrimitivesExample.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory
Seems it can not find fmodex.dll library