Re: [Dev-C++] Problem compiling - file not found!
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: David M. <dml...@co...> - 2005-08-28 16:28:38
|
Have you checked for foo.exe in the same directory as foo.cpp? Have you tried hitting the execute button (the one that looks like a console window right next to the compile button)? As long as you don't see any error messages then the compilation went fine. The line "execution terminated" is simply telling you that the compiler is done and either you have some errors to fix or you code is ready to run. lordSauron wrote: >On 8/27/05, neo...@fu... <neo...@fu...> wrote: > > >>Whenever I attempt to compile a .cpp, even a single, self-contained .cpp file, I get this in the compiler log: >> >> > > > >>Compiler: Default compiler >>Executing g++.exe... >>g++.exe "foo.cpp" -o "foo.exe" >>Execution terminated >> >> > >What's it doing executing? I don't understand that. > > > >>I'm on Windows XP, though I've recently. How can I fix this? Am I doing something wrong? I've used other compilers before without issue on other machines... but I'm looking for one to work on for personal projects. >> >> > >Want to know a big secret? GCC is really one of the better C/C++ >compilers around. My dad, whose a defense contractor for the US DoD, >when they have something that they either can't get to run fast enough >on their expensive Microsoft and Borland compilers, use the G++, and >usually get far better performance and reliability. G++ is really >nice in that it's free, the best there is, and is so scalable that >it'll work like a charm for everything from helloworld.c to >missle_defense_algorithm.cpp and everything in between. > >As for your error, to me it sounds like you made files but no project. > DevC++ is odd in this manner. When you create a project, it keeps a >list of all the files it needs to send during compile. If you're not >developing with a project, you need to make one and add the files to >it. However, you were really vauge, so I could very easily be miles >from the truth of your problem. Good luck though > > |