Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8134943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T10:14:02+00:00 2026-06-06T10:14:02+00:00

I’m using MinGW (originally installed with mingw-get-inst-20120426.exe) in combination with Eclipse for C/C++ (Indigo

  • 0

I’m using MinGW (originally installed with mingw-get-inst-20120426.exe) in combination with Eclipse for C/C++ (Indigo SR2) under Windows 7 Starter 32bit and I’ve just upgraded to gcc/g++ 4.7.0 :

mingw-get update
mingw-get upgrade

I fixed the problem of Eclipse keeping the old version’s reference ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=206372#c2 )

But when I try to run a program as simple as this one, it crashes:

#include <iostream>
#include <cstdlib>
using namespace std;
int main (int argc, char* argv[])
{
    cout << "one = " << 1 << "\n";
    return EXIT_SUCCESS;
}

When I tried debugging, the problem seems to come from the cout line:

cout << "one = " << 1 << "\n";

If I step over it, Eclipse signals me this error:

No source available for "libstdc++-6!_ZNSo9_M_insertIlEERSoT_() at 0x6fc868a8" 

Here is a screenshot of the IDE just after clicking “Step Over” that line: https://i.stack.imgur.com/QexxQ.png

The same program worked fine before, but now it doesn’t.

I’ve even created a new project (I didn’t touch anything in the compiler/linker options), but the same problem remains.

Does anyone have a solution, please ?

Thank you in advance for your help 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T10:14:03+00:00Added an answer on June 6, 2026 at 10:14 am

    Found it ! 😀

    As mentioned by Dennis it appears that the runtime dll is different than the one using when linking.

    Actually, Eclipse linked against C:\mingw\bin\libstdc++-6.dll but when executing, another one was used (i.e. C:\Program Files\gnuplot\bin\libstdc++-6.dll >_<) because gnuplot (that I installed a long time ago, nice piece of software by the way 😉 ) added its installation directory to the PATH (even though C:\mingw\bin was in the PATH too) (it added some other environment variables as well)

    I was so mad, I removed everything related to gnuplot lol (i.e. its path from PATH, its environment variables and I uninstalled the program). I also removed Cygwin (even though it wasn’t in the PATH, but I haven’t use it for a long time, so…)

    Then, I upgraded to 4.7

    mingw-get update
    mingw-get upgrade
    

    I also did the Eclipse thing

    And now everything is fine:

    one = 1
    

    🙂

    C:\Windows\System32>gcc --version
    gcc (GCC) 4.7.0
    Copyright (C) 2012 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    
    C:\Windows\System32>g++ --version
    g++ (GCC) 4.7.0
    Copyright (C) 2012 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    

    If it helps, I used Dependency Walker to determine what runtime dll was used by the executable (just load the exe in Dependency Walker, then, right-click on LIBSTDC++-6.DLL > Properties )

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am reading a book about Javascript and jQuery and using one of the
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
We're building an app, our first using Rails 3, and we're having to build
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I have thousands of HTML files to process using Groovy/Java and I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.