I built both the engine and this example project by running the cmake_generic.sh script and then running make, assuming that the resulting executable would work on any 64-bit system, but when I try to run it on another machine with a different CPU I get the “Illegal instruction” error. I also tried, instead of running the script, just running cmake with the URHO3D_DEPLOYMENT_TARGET option set to generic, but I still got the same error. Is there something I’m doing wrong?
Also, when I run cmake_generic.sh in the project directory, I get the error “post_cmake: command not found”, which I don’t get when running the same script to build the engine itself. Are there some other scripts I’m supposed to copy to the project directory?