Jump to content
  • Advertisement
Sign in to follow this  
Q-Parser

What's wrong with my Dev-C++?

This topic is 5059 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, I started a new project in C. The default code is:
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
  
  system("PAUSE");	
  return 0;
}
But it didn't compile! I got message "unable to run program file". Could anybody help me with this? Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Is there another copy running? There is a menu item to kill it if it is, try doing that first. (I mean YOUR program, not DevC++ itself.)

Share this post


Link to post
Share on other sites
I did so, but nothing changed. I can't understand it. Whatever program I did I know about that it worked suddenly doesn't work!
That's weird. Maybe I shoud reistall it...

Share this post


Link to post
Share on other sites
There isn't any except for that I already mentioned. In a line column of compiler output is number 2. However this is output for all programs.

Compiler log:

Compiler: Default compiler
Building Makefile: "D:\Dev-Cpp\Projects\Makefile.win"
Executing make...
make.exe -f "D:\Dev-Cpp\Projects\Makefile.win" all
Execution terminated

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
...
make.exe -f "D:\Dev-Cpp\Projects\Makefile.win" all
Execution terminated

hmm... if it's teriminated, then it didn't build, hmmm...

Share this post


Link to post
Share on other sites
Okay maybe this is a stupid question but....
Are you trying to write to a read only drive?

I accidentally left the write protection switch on on my key drive once then tried to compile something on it and got a similar warning.

Share this post


Link to post
Share on other sites
The only time that ever used to happen to me, was when a copy of the .exe I was trying to compile was still running, so it couldn't overwrite it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!