News:

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

Main Menu

undefined reference to `__strtod'

Started by yy, March 31, 2011, 11:30:44 AM

Previous topic - Next topic

yy

 I am a new user, but the even the most simple example of cout , there is a error like following:

c:\programme\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\libstdc++.a(c++locale.o):c++locale.cc|| undefined reference to `__strtod'|
||=== Build finished: 1 errors, 0 warnings ===|
I use the global compiler settings with GUN GCC Complier.

How to solve this problem. Ask your kind help.
Thanks!

MortenMacFly

Quote from: yy on March 31, 2011, 11:30:44 AM
How to solve this problem.
Ask in the appropriate forum. This is a forum related to the development of Code::Blocks itself, not how to use any (of the many) compiler(s) Code::Blocks supports.

I'd suggest you search for a GCC/MinGW related forum.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]