Bring
Up
My
Post
This is a discussion on Starting with Dev C ; a problem within the C++ Programming forums, part of the General Programming Boards category; Bring Up My Post...
Bring
Up
My
Post
This is called bumping and considered very rude.
You don't have a C++ problem but a compiler/IDE setup problem. DevC++ has its own support forum (but be sure to read the FAQ's first).
I might be wrong.
Quoted more than 1000 times (I hope).Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
Thank you anon![]()
So, Dev-C++'s g++ works manually.
In that case, it seems most likely to me that the Makefiles in the examples are not working properly. Try re-creating the project -- create a new project and add in the Hello.cpp source file that is part of the example.
I would hazard a guess that your path is not the problem, because g++ is being executed
and because it works manually.Code:g++.exe -c Hello.cpp -o Hello.o -I"D:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"\ -I"D:/Dev-Cpp/include/c++/3.4.2/backward" -I"D:/Dev-Cpp/include/c++/3.4.2/mingw32"\ -I"D:/Dev-Cpp/include/c++/3.4.2" -I"D:/Dev-Cpp/include" g++.exe: Hello.cpp: No such file or directory g++.exe: no input files
Something that will almost certainly work, but will require a bit of effort, is this. Edit the makefile, that is, D:\Dev-Cpp\Examples\Hello\Makefile.win. Where ever it says "Hello.cpp" or "Hello.o" or "Hello.exe" in this makefile, put the full path -- i.e., change "Hello.cpp" to "D:\Dev-Cpp\Examples\Hello\Hello.cpp", and so on.
The animated attached image is really neat.![]()
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.