Dev-Cpp
Dev-Cpp copied to clipboard
Error 216:This version of %1 is not compatible with the version of Windows you're running.
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
Post the c++ code or project you used to generate the error?
Re-reading it. It sounds like you compiled a 64bit EXE and tried to run it on 32bit Windows. Change to the 32bit compile.
Hi FMXExpress,
Here is the code I used:
#include
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
Hi Embarcadero/Dev-Cpp, Could you tell me how to set to 32-bit compilation? Thank you! Regards, Gump
On Mon, Nov 16, 2020 at 12:15 AM FMXExpress [email protected] wrote:
Re-reading it. It sounds like you compiled a 64bit EXE and tried to run it on 32bit Windows. Change to the 32bit compile.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Embarcadero/Dev-Cpp/issues/83#issuecomment-727739237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKYWVPDAMXSMHESLVY6OAX3SQCYO7ANCNFSM4TWS37OA .
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.
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?