I have tried Dev-Cpp several times (many versions). I like the ease of use and project management. Even with the Hello World example the .exe file produced fails to execute. I tried setting path, include and lib variables but I have never had an executable .exe file produced. Does anybody have any suggestions what I am missing? I'm on WinXP sp3 and have several other C compilers installed which work ok.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You're probably using 32bit Windows and are compiling for 64bit Windows. Although the compiler itself will run on 32bit, the created executables won't.
Please select a 32bit profile at Tools >> Compiler Options. If it's not there, try the profile finder button (the two yellow plus signs). Alternatively, try to manually pass -m32 to the compiler.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have tried Dev-Cpp several times (many versions). I like the ease of use and project management. Even with the Hello World example the .exe file produced fails to execute. I tried setting path, include and lib variables but I have never had an executable .exe file produced. Does anybody have any suggestions what I am missing? I'm on WinXP sp3 and have several other C compilers installed which work ok.
Which Compiler did you choose when installing Dev-C++?
Last edit: Giles Evans 2013-04-16
You're probably using 32bit Windows and are compiling for 64bit Windows. Although the compiler itself will run on 32bit, the created executables won't.
Please select a 32bit profile at Tools >> Compiler Options. If it's not there, try the profile finder button (the two yellow plus signs). Alternatively, try to manually pass -m32 to the compiler.
hi! actually i dont know what is the speacial problem with? but if u save as your file in drive F or another drive and then run it. it will be ok!.