The error message indicates that you are trying to run a binary file that is not compatible with the version of Windows you are running. In this case, it looks like you are trying to run a version of the protoc binary for Mac OS X on a Windows machine.
To resolve the issue, you will need to download and use the correct version of the protoc binary for your operating system. You can download the binaries from the Protocol Buffers GitHub page (https://github.com/protocolbuffers/protobuf/releases).
Make sure to select the binary that matches your operating system architecture (32 or 64-bit) as well as the correct platform (Windows, Mac, or Linux). Once you have the correct binary downloaded, update your program to use the new binary file path.