Yes !!! That solves my problem. Tim, you are right in saying I misunderstood Miguel's instruction to add the dll files "to your path." I thought he meant CodeBlock settings Search Directories. When I add the relevant folders to my Windows Path, those error messages don't appear and my exe executes perfectly.
Thanks to you both, Miguel and Tim, for educating me on this.