User forums > Using Code::Blocks
program can't start because libgcc_s_dw2-1.dll is missing from your computer
yuk.f:
I came across a problem that when I double click on the .exe file to run a demo, it promotes a system error says "The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem" I have reinstalled the code block(10.05), but the problem still stands. Anybody know something about it?
ps: my env[ Win7 enterprise edition, 64bit ]
Jenna:
If it works from inside C::B, but not from outside (explorer or commandline), it means, that the dll can not be found by the system, because it's neither in the search path, nor in the same folder as the exe.
yuk.f:
--- Quote from: jens on August 15, 2012, 06:22:53 am ---If it works from inside C::B, but not from outside (explorer or commandline), it means, that the dll can not be found by the system, because it's neither in the search path, nor in the same folder as the exe.
--- End quote ---
yes as you said, it works inside the C::B. Even a simple demo "HELLO WORLD" can't exec outside the C::B. Do you have any idea how to fix it? Thanks!
Jenna:
--- Quote from: yuk.f on August 15, 2012, 06:44:48 am ---
--- Quote from: jens on August 15, 2012, 06:22:53 am ---If it works from inside C::B, but not from outside (explorer or commandline), it means, that the dll can not be found by the system, because it's neither in the search path, nor in the same folder as the exe.
--- End quote ---
yes as you said, it works inside the C::B. Even a simple demo "HELLO WORLD" can't exec outside the C::B. Do you have any idea how to fix it? Thanks!
--- End quote ---
Saerdus:
I had the EXACT same problem when i downloaded some demo projects to experiment with.
If you have the same problem I did there's an easy fix.
Simply open the project with Code::Blocks and build/run the project within Code:Blocks; assuming the code runs smoothly with no errors the .exe should work now.
If not, I'm afraid i don't know what else to suggest as I'm still learning C++ as well. :)
Navigation
[0] Message Index
[#] Next page
Go to full version