Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Cryogen on December 28, 2010, 04:31:38 pm

Title: Won't compile
Post by: Cryogen on December 28, 2010, 04:31:38 pm
 Hi Guys,

Following yet another machine rebuild I get this error with the latest SVNs I've tried:

c:\utilities\programming\tdmmingw32\bin\..\lib\gcc\mingw32\4.5.1\include\c++\string|40|fatal error: bits/c++config.h: No such file or directory|

at

#include <bits/c++config.h>

in the source file "string".

Versions up to about 6 or 8 weeks ago were fine.
I have TDM MinGW32 installed. Seems like a pathing problem but I can't find it. Any ideas?

Thanks.
Title: Re: Won't compile
Post by: stahta01 on December 28, 2010, 07:55:30 pm
Verify that the right MinGW is being called.
Verify that the no other MinGW is in x:\MinGW where X is any drive letter.
Verify that no other MinGW/MSys/Cygwin is in the system path.

Tim S.
Title: Re: Won't compile
Post by: TDragon on December 29, 2010, 02:51:15 am
First, make sure that "c:\utilities\programming\tdmmingw32\lib\gcc\mingw32\4.5.1\include\c++\mingw32\bits\c++config.h" exists. If it doesn't, your installation is botched and you should reinstall.

If it does exist, please add "-v" (for verbosity) to your compiler options, then post the output, starting with the command itself that causes the error (which you omitted in your first post), including all verbose output, and ending with the error message.
Title: Re: Won't compile
Post by: Cryogen on December 29, 2010, 03:04:09 am

 Thanks for that. Re-installing several times hadn't fixed things but removing it and then re-installing seems to have sorted it.

Cheers.