For example, suppose the existing path is like this:Originally Posted by Akkernight
You would then change it to:Code:%SystemRoot%\system32
Code:%SystemRoot%\system32;C:\MinGW\bin
For example, suppose the existing path is like this:Originally Posted by Akkernight
You would then change it to:Code:%SystemRoot%\system32
Code:%SystemRoot%\system32;C:\MinGW\bin
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Why o.o? C:\ ain't in system32, is it?
Currently research OpenGL
That's what the path separator is for. It says that you have one path, "%SystemRoot%\system32", and another "C:\MinGW\bin".Why o.o? C:\ ain't in system32, is it?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
ohh... Now I get it xD
But why does he use path=%path% then o.O?
Currently research OpenGL
The %XYZ% refers to an existing environment variable named XYZ. Anyway, you don't need to care too much about this when all you want to do is set the system path so you can use your C and C++ compilers without fully specifying their pathnamesOriginally Posted by Akkernight
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Yeah, I figured it out, feel dumb now xD anyways, I didn't have admin rights, so couldn't place it under system variables, but under this account's variables, and just named it Path :P oh and I got it working, so thanks for helping me with this! Learned how to compile using commandline and learned loads about how windows command stuff works ^^
Currently research OpenGL
I provided a link to a preinstalled copy of the mingw directory, you can use it directly from that, it sin self extracting format. Yes type it exactly as I did including the path= and the % signs.
You will have to do that every time you open a new dos box, unless you permanently add it tot ehpath variable through teh settigns menu as laserlight mentioned.
BLASPHEMER!!!!!Commandline or non-IDE compilation is clearly the worst thing ever invented! >.<
Last edited by abachler; 01-21-2009 at 05:38 PM.
I do indeed find no problems with the nuwen build. It used to include newer GCC (but I think the official distribution has been updated to 4.x, too) than the official distro. Another thing I like about it is that it includes a few common libraries - Boost, SDL, etc. Saves some time.