News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Won't compile

Started by Cryogen, December 28, 2010, 04:31:38 PM

Previous topic - Next topic

Cryogen

 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.
DoxyBlocks: Now in contrib. Cool, baby.
DoxyDocs: [url="http://wxsmithaddons.sourceforge.net/docs/doxyblocks/"]http://wxsmithaddons.sourceforge.net/docs/doxyblocks/[/url]
wxSmith Add-ons: [url="http://wxsmithaddons.sourceforge.net/"]http://wxsmithaddons.sourceforge.net/[/url]
Cryo's Patchorama: [url="http://forums.next.codeblocks.org/index.php/topic,12619.0.html"]http://forums.next.codeblocks.org/index.php/topic,12619.0.html[/url]

stahta01

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

TDragon

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.
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Cryogen


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

Cheers.
DoxyBlocks: Now in contrib. Cool, baby.
DoxyDocs: [url="http://wxsmithaddons.sourceforge.net/docs/doxyblocks/"]http://wxsmithaddons.sourceforge.net/docs/doxyblocks/[/url]
wxSmith Add-ons: [url="http://wxsmithaddons.sourceforge.net/"]http://wxsmithaddons.sourceforge.net/[/url]
Cryo's Patchorama: [url="http://forums.next.codeblocks.org/index.php/topic,12619.0.html"]http://forums.next.codeblocks.org/index.php/topic,12619.0.html[/url]