Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: The program can't start because libstdc++-6.dll is missing?  (Read 12495 times)

0 Members and 1 Guest are viewing this topic.

zachy64

  • Newbie
  • *
  • Posts: 1
    • View Profile
The program can't start because libstdc++-6.dll is missing?
« on: March 05, 2012, 11:22:59 pm »
Hello, I was trying to install SFML with Code::Blocks. I set up everything, placed the .a files in /lib and .hpp files in /include, and I linked everything. The program compiles fine, but when I start it, it says "The program can't start because libstdc++-6.dll is missing" (You can see it at http://prntscr.com/6r4kb)
If someone could tell me why this is happening, it would help so much!
Thanks in advance.

Grimshaw

  • Hero Member
  • *****
  • Posts: 631
  • Nephilim SDK
    • View Profile
The program can't start because libstdc++-6.dll is missing?
« Reply #1 on: March 06, 2012, 01:13:19 am »
Well, copy that dll to the exe directory. It should be in a bin dir, somewhere within the mingw compiler dir.

pacifistcottage

  • Newbie
  • *
  • Posts: 13
    • View Profile
The program can't start because libstdc++-6.dll is missing?
« Reply #2 on: March 06, 2012, 03:45:44 pm »
You will probably need to include libgcc_s_dw2-1.dll as well. Should be in the same folder as libstdc++-6.dll.

mateandmetal

  • Full Member
  • ***
  • Posts: 171
  • The bird is the word
    • View Profile
    • my blog
The program can't start because libstdc++-6.dll is missing?
« Reply #3 on: March 06, 2012, 10:24:21 pm »
You can link the std C++ lib statically .. just add -static-libstdc++ to your link options
- Mate (beverage) addict
- Heavy metal addict _lml
- SFML 2 addict
- My first (and free) game: BichingISH!

 

anything