Do you normally call up the doctor and say "I'm don't feel good, whats wrong with me?" That is about as much information that you have given. You should really check out the thread titled "Read This Before Asking a Question", the part talking about how to formulate a decent question.
Basic information for a question like yours
(1) What version number of Dev are you using, with what OS?
(2) Provide a simple example program that shows the effect you are seeing. Simple as possible.
(3) Provide your FULL compile log, not just the errors. The compile log is on the tab labeled "Compile Log", and the right mouse button brings up the copy menu.
Providing this basic information keeps down our bill at the psychic hotline.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
having this problem of compiling it gives:
[Build Error] [main4.o] Error 1
what does that mean and how should you solve the problem?
It would help us to help you if you gave a full compile log as well as the code you were tring to compile.
*Note that the "Read This" thread http://sourceforge.net/forum/forum.php?thread_id=959971&forum_id=48211 may contain your answer...
Curtis
Do you normally call up the doctor and say "I'm don't feel good, whats wrong with me?" That is about as much information that you have given. You should really check out the thread titled "Read This Before Asking a Question", the part talking about how to formulate a decent question.
Basic information for a question like yours
(1) What version number of Dev are you using, with what OS?
(2) Provide a simple example program that shows the effect you are seeing. Simple as possible.
(3) Provide your FULL compile log, not just the errors. The compile log is on the tab labeled "Compile Log", and the right mouse button brings up the copy menu.
Providing this basic information keeps down our bill at the psychic hotline.
Wayne
Happendes when create a projectfile .dev that is and wan to compile like for example:
#include <iostream>
#include <stdlib.h>
using namespace std;
int main()
{
system("PAUSE");
return 0;
}
The version is the latest 4.9.8.5 ....and I use Xp and it worked well before....
Compile Log
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Milad (private)\Skrivbord\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Milad (private)\Skrivbord\Makefile.win" all
g++.exe -c main01.cpp -o main01.o -I"C:/Program/Dev-Cpp/include/c++" -I"C:/Program/Dev-Cpp/include/c++/mingw32" -I"C:/Program/Dev-Cpp/include/c++/backward" -I"C:/Program/Dev-Cpp/include"
C:\DOCUME~1\MILAD r inte ett internt kommando, externt kommando,
program eller kommandofil.
make.exe: *** [main01.o] Error 1
Execution terminated
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Milad (private)\Skrivbord\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Milad (private)\Skrivbord\Makefile.win" all
g++.exe -c main01.cpp -o main01.o -I"C:/Program/Dev-Cpp/include/c++" -I"C:/Program/Dev-Cpp/include/c++/mingw32" -I"C:/Program/Dev-Cpp/include/c++/backward" -I"C:/Program/Dev-Cpp/include"
C:\DOCUME~1\MILAD r inte ett internt kommando, externt kommando,
program eller kommandofil.
make.exe: *** [main01.o] Error 1
Execution terminated
DId you read the "Read This Before Posting" thread?
You're building things in a directory structure that has spaces. Don't do that.
Watson (the pencil neck) Davis
"C:\Documents and Settings\Milad (private)\Skrivbord\Makefile.win"
Don't put your projects in directories with spaces in them, like all the spaces here...
Wayne
Oh, I missed something obvious:
It looks like you tried to install Dev in "Program Files", but it did not parse right:
C:/Program/Dev-Cpp/include/c++/backward
You need to go to the "Read This Before Asking A Question" thread, and follow the directions to uninstall/delete/reinstall
Follow them with EXTREME care. You have XP, so some files are in hidden directories.
Install Dev where it asks to go, c:\dev-cpp - NOT "Program Files"
Repeat after me:
SPACES ARE BAD!
Wayne