for some reason there's no problem compiling a basic c++ code.
i'm using the dev c++ on windows vista...
i tried nearly everything to solve this problem, i even reinstalled the dev c++ but nothing helps
i would be greatful if somone could help me through this problem
thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You mention that you are using Vista. Did you go through the section in the thread
titled "Please Read Before Posting a Question" on dealing with Vista related issues?
In addition, you really should post your full Basic 3. They are covered in the same
thread. The "Error 1" message is just a summation message, meaning in essense, "Something
is wrong and I quit".
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is not the error! That is simply make reporting that it terminated because a build step failed. You are reading teh log from teh bottom up!
the line:
>> gcc.exe: installation problem, cannot exec `cc1': No such file or directory
is the error that caused make to terminate.
This is why we ask you to post the whole log - because people who have problems don't always know what is and is not relevant.
You appear to have created your project in the root of Dev-C++'s installation folder. Apart from generally being a bad idea, there is a known bug in Dev-C++ that can cause project builds to fail in that folder or sub-folders thereof (not always, but sometimes - which is worse!). Use an entirely separate folder for your builds.
Also the error you are reporting is exactly that reported for problems related to installations on Vista, so you do need to apply that fix at least.
Now if you are relying on this tool to get your assignment in, and you cannot get it fixed in a timely manner, I would suggest using an alternative tool - getting work done is far more important than what tool you use to do it.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
i am new with the dev c++
i'm trying to compile a c(!) program a wrote but the dev c++ gives me the next error:
C:\Dev-Cpp\Makefile.win [Build Error] [main.o] Error 1
for some reason there's no problem compiling a basic c++ code.
i'm using the dev c++ on windows vista...
i tried nearly everything to solve this problem, i even reinstalled the dev c++ but nothing helps
i would be greatful if somone could help me through this problem
thanks!
You mention that you are using Vista. Did you go through the section in the thread
titled "Please Read Before Posting a Question" on dealing with Vista related issues?
In addition, you really should post your full Basic 3. They are covered in the same
thread. The "Error 1" message is just a summation message, meaning in essense, "Something
is wrong and I quit".
Wayne
thanks to you all i got the problem fixed
and once again, thanks!!!
indeed itried to seek for the problem in the "Please Read Before Posting a Question" thread with no succes obviously...sorry..
so, the "basic 3" :
for example:
include <stdio.h>
include <stdlib.h>
int main(int argc, char *argv[])
{
printf("should be printed/n");
system("PAUSE");
return 0;
}
C:\Dev-Cpp\Makefile.win [Build Error] [main.o] Error 1
log:
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make clean
rm -f main.o ex4.exe
gcc.exe -c main.c -o main.o -I"C:/Dev-Cpp/include"
gcc.exe: installation problem, cannot exec `cc1': No such file or directory
make.exe: *** [main.o] Error 1
Execution terminated
sorry for the trouble, i'm in a little hurry with this problem i have a c excersice to submit in university and the deadline is real soon
I guess you didn't see this?
(6) Post from a user that overcame some WINDOWS VISTA ISSUES
http://sourceforge.net/forum/message.php?msg_id=4156252
Wayne
I'm pretty sure your problem is covered in the "please read" thread. It has to do with Vista needing the full path rather than just the exe name.
>>C:\Dev-Cpp\Makefile.win [Build Error] [main.o] Error 1
Is not the error! That is simply make reporting that it terminated because a build step failed. You are reading teh log from teh bottom up!
the line:
>> gcc.exe: installation problem, cannot exec `cc1': No such file or directory
is the error that caused make to terminate.
This is why we ask you to post the whole log - because people who have problems don't always know what is and is not relevant.
You appear to have created your project in the root of Dev-C++'s installation folder. Apart from generally being a bad idea, there is a known bug in Dev-C++ that can cause project builds to fail in that folder or sub-folders thereof (not always, but sometimes - which is worse!). Use an entirely separate folder for your builds.
Also the error you are reporting is exactly that reported for problems related to installations on Vista, so you do need to apply that fix at least.
Now if you are relying on this tool to get your assignment in, and you cannot get it fixed in a timely manner, I would suggest using an alternative tool - getting work done is far more important than what tool you use to do it.
Clifford