I am beginner in C++; and I am using Dev. Before, I wrote just simple codes in Dev that they worked but now whatever that I write and then compile them; it says "Warning: Source File Not Compiled!" and I don't know what happens here. Because before such codes are compiled and runned without any problem.
Anyways, please help me as soon as possible.
Thanks...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-05-24
Are you using Windows Vista perhaps?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually, I don't know what has been changed in my Dev, I think there is a problem with the "compiler option". Now I added "-ansi -pedantic -Wall" when calling compiler. However, when I remove this, it cannot compile either.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I am beginner in C++; and I am using Dev. Before, I wrote just simple codes in Dev that they worked but now whatever that I write and then compile them; it says "Warning: Source File Not Compiled!" and I don't know what happens here. Because before such codes are compiled and runned without any problem.
Anyways, please help me as soon as possible.
Thanks...
Are you using Windows Vista perhaps?
okay, so what have you changed?
wayne: post the basic three!
snork
Actually, I don't know what has been changed in my Dev, I think there is a problem with the "compiler option". Now I added "-ansi -pedantic -Wall" when calling compiler. However, when I remove this, it cannot compile either.
Posting your "Basic 3" would do us a LOT more good.
Wayne
Program:
include<stdio.h>
int main()
{
}
My Compile Log :
Compiler: Default compiler
Executing gcc.exe...
gcc.exe "F:\g\acm\test.c" -o "F:\g\acm\test.exe" -I"E:\Dev-Cpp\App\devcpp\include" -L"E:\Dev-Cpp\App\devcpp\lib"
gcc.exe: installation problem, cannot exec `cc1': No such file or directory
Execution terminated
Compilation successful
Problem
On compiling everything goes ok.but when i hit run ... i get "Source file not compiled" ??
Did you ignore this error message????
Its right there in the log:
gcc.exe: installation problem, cannot exec `cc1': No such file or directory
I think if you search on that error message, you will find some suggested solutions.
Wayne
"gcc.exe: installation problem, cannot exec `cc1': No such file or directory "
I saw this but I am unable to find any solution to this problem ...(I searched the forums, googled,.. but no use )
Please help !!
You searched the forum?
Plug in "cannot exec `cc1'" to the search...
Note that you were also asked another question - are you using Vista?
Wayne
Have found that an errors in a *.rc file can cause the problem and it is not so easily noticeable.