Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 216:This version of %1 is not compatible with the version of Windows you're running. #83

Open
GumpChaos opened this issue Nov 16, 2020 · 6 comments
Labels
question Further information is requested

Comments

@GumpChaos
Copy link

From https://github.com/Embarcadero/Dev-Cpp/releases, and download Embarcadero_Dev-Cpp_6.2_TDM-GCC_9.2_Setup.zip.
Then I installed it successfully on my Windows-10 Education, 32-bit Operating system, x64-based processor.
Then I test it with a very simple Cpp code to calculate the area of a rectangle.
the compilation is also successful. However ,when I press F10 to run it, the systems says:
"failed to execute C:***\6.rectangle.exe":
Error 216:This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.

Do you have any idea about this issue?

Thank you very much!

Gump

@FMXExpress
Copy link
Collaborator

Post the c code or project you used to generate the error?

@FMXExpress FMXExpress added the question Further information is requested label Nov 16, 2020
@FMXExpress
Copy link
Collaborator

Re-reading it. It sounds like you compiled a 64bit EXE and tried to run it on 32bit Windows. Change to the 32bit compile.

@GumpChaos
Copy link
Author

Hi FMXExpress,

Here is the code I used:

#include
using namespace std;

int main() {

int a, b;
cin >> a >> b;
cout << 2 * (a   b) << endl;
cout << a * b << endl;
return 0;

}

It is very simple.
I will follow your suggestion to set it to 32-bit compilation. Could you please tell me how to set the 32-bit compilation? This is my first time to use DevC .
Thank you very much!

Gump

@GumpChaos
Copy link
Author

GumpChaos commented Nov 17, 2020 via email

@FMXExpress
Copy link
Collaborator

There is a drop down box at the top that says TDM-GCC 9.2.0 64-Bit Release. Change it to TDM-GCC 9.2.0 32-Bit Release.

@bushrakhalid802
Copy link

There is a drop down box at the top that says TDM-GCC 9.2.0 64-Bit Release. Change it to TDM-GCC 9.2.0 32-Bit Release.

this didn't work for me.is there any other way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants