well, i m using Dev C++(v 4.9.9.2) to compile hello world project but i m getting error in making an exe file. any guidance about correcting this problem plz?
here is the code:
include <windows.h>
include <stdio.h>
include <stdlib.h>
int main(int argc, char *argv[])
{
printf("Hello World!\n");
printf("Press ENTER to continue...\n");
getchar();
return 0;
}
and here is the compile log:
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Administrator\My Documents\New Folder\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Administrator\My Documents\New Folder\Makefile.win" all
gcc.exe -c Untitled1.c -o Untitled1.o -I"C:/install/Dev-Cpp/include"
You have spaces in your path where your creating ur exe. i.e. "C:\Documents and Settings\Administrator\My Documents\New Folder\Makefile.win" if you read the FAQ you would get a better idea.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
well, i m using Dev C++(v 4.9.9.2) to compile hello world project but i m getting error in making an exe file. any guidance about correcting this problem plz?
here is the code:
include <windows.h>
include <stdio.h>
include <stdlib.h>
int main(int argc, char *argv[])
{
printf("Hello World!\n");
printf("Press ENTER to continue...\n");
getchar();
return 0;
}
and here is the compile log:
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Administrator\My Documents\New Folder\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Administrator\My Documents\New Folder\Makefile.win" all
gcc.exe -c Untitled1.c -o Untitled1.o -I"C:/install/Dev-Cpp/include"
windres.exe -i Project1_private.rc --input-format=rc -o Project1_private.res -O coff
windres.exe: no resources
make.exe: *** [Project1_private.res] Error 1
Execution terminated
You have spaces in your path where your creating ur exe. i.e. "C:\Documents and Settings\Administrator\My Documents\New Folder\Makefile.win" if you read the FAQ you would get a better idea.