Can anyone help me set up mingw to get it working? i installed the package from http://sourceforge.net/project/downl...3.exe&17992591
and i check g++ and mingw make, it installed but i can't compile in windows command window
Can anyone help me set up mingw to get it working? i installed the package from http://sourceforge.net/project/downl...3.exe&17992591
and i check g++ and mingw make, it installed but i can't compile in windows command window
Is this a continuation of previous threads? If so, you may not be doing yourself a favor by spreading it out.
What is the actual question?
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
no its not. the problem is that it doen't work. i get the error g++ is not a recognized command.
Is the executable in your path?
[edit]How are you calling it? Etc., etc.?
I can't see what's on you monitor, and I'd bet that very few can.
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
i cd into the directory then do g++ -c file.cpp
Ah, so is C:\MinGW\bin (or the relevant path) in your system path?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
i did what you said in the pm and where path was i edited and deleted the whole line and put that. But when i compile my project folder is in just c so i cd into there then compile.
implementation directory? i have the mingw director and the project directory which are separate from each other, when i try to compile i go into the project directory and g++ and get the error. If your talking about putting the headers and .cpp files together than yes. I can compile in linux but am trying in windows as u can see.
Try "g++ --version" to check it is properly installed or not?
yea it comes up saying its installed
oK i can get it to compile my programs but how do i now get make to work?
when i type make it says make is not a recognized command
Same deal, make must be in your PATH. Find out where make is, and do so.
I'm not sure if make comes with MinGW by default. There might be a make called "mingw32-make" (try calling that from the cmd line). "make" itself is available from MinGW's website.
I suggest you google for some tutorials on what exactly the PATH variable does. Specifically, the PATH is "directories that will be searched for programs not in the current directory".
long time; /* know C? */
Unprecedented performance: Nothing ever ran this slow before.
Any sufficiently advanced bug is indistinguishable from a feature.
Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31.
The best way to accelerate an IBM is at 9.8 m/s/s.
recursion (re - cur' - zhun) n. 1. (see recursion)
does someone have a more difinitive answer for this
Last edited by DarkDot; 04-16-2007 at 06:47 PM.