From: mingw124 <for...@li...> - 2012-08-13 19:16:07
|
Ah yes I see, g++ wasn't updated strangely enough. Updating g++ fixed the problem. Thanks. K. Frank wrote: > > Hi mingw124! > > On Mon, Aug 13, 2012 at 11:17 AM, mingw124 <for...@li...> wrote: >> >> I recently updated/reinstalled my mingw gcc. I simply typed "mingw-get >> install --reinstall gcc". >> >> And now I can't compile a thing anymore. It seems to look in the old gcc >> directory for files that are obviously only in the newer gcc folder. >> >> This is the errors I get compiling even a hello world program: >> >> [code] >> In file included from >> c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/cwchar:44:0, >> from >> ... >> As you can see it looks in the older 4.5.2 folder while the newer >> installed >> gcc is 4.6.2. > > Yes, it is looking for version 4.5.2. > > One possibility is that your Path environment variable is pointing to > the old version. > > Could you show us the output of > > g++ --version (or gcc --version) > > show us the value of your Path variable, and show us the exact > compile command you issued that generated the errors, together > with from which directory you issued that command? > >> I hope its an easy problem to fix. > > If your problem is just an out-of-date Path variable, the fix should be > easy -- just update your Path variable to point to the new 4.6.2 mingw > installation, instead of the old 4.5.2 installation. > > > Good luck, and Happy Hacking! > > > K. Frank > -- View this message in context: http://old.nabble.com/Problem-while-updating-mingw-tp34291197p34293490.html Sent from the MinGW - User mailing list archive at Nabble.com. |