libgcc_s_dw2-1.dll not found

Problems building or running the engine, queries about how to use features etc.
WhirledPeas
Kobold
Posts: 27
Joined: Thu Mar 10, 2011 7:51 pm
x 1

Re: libgcc_s_dw2-1.dll not found

Post by WhirledPeas »

yeah, that's pretty standard procedure for a runtime error, which is what we have here.
WhirledPeas
Kobold
Posts: 27
Joined: Thu Mar 10, 2011 7:51 pm
x 1

Re: libgcc_s_dw2-1.dll not found

Post by WhirledPeas »

Okay, I've tried to run the program while having the Process Monitor application open and managed to determine that 'resources_d.cfg' was supposed to be located within the main project folder in stead of bin or debug. So that fixed that problem, unfortunately, I've run into another runtime error:
OGRE EXCEPTION(7:InternalErrorException): .../.../media/packs/SdkTrays.zip - error whilst opening archive: Unable to read zip file. in ZipArchive::checkZzipError at .../.../.../.../.../OgreMain/src/OgreZip.cpp (line 280)
I've also noticed that Process Monitor has picked up a good number of other files that the program was looking for but could not find.

This bug is pretty seperate from the original issue that this thread dealt with, so I'm going to start a fresh thread dealing with this specific problem, also this problem seems to be related to something broader than just one or two files misplaced.
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: libgcc_s_dw2-1.dll not found

Post by jacmoe »

Look.. You need to set your working directory to either debug or release directory.
The same place where you tell Code::Blocks what to run/debug.
I can't remember exactly where/what, but that's what you need to set up.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
feiyunw
Gnoblar
Posts: 23
Joined: Sat Mar 05, 2005 10:24 am

Re: libgcc_s_dw2-1.dll not found

Post by feiyunw »

If you are using the official MinGW, you can install the missing dll files in the MinGW/MSYS shell:
$ mingw-get install libgcc
install: libgcc-4.5.2-1-mingw32-dll-1.tar.lzma
installing libgcc-4.5.2-1-mingw32-dll-1.tar.lzma
$ mingw-get install libstdc++
install: libstdc++-4.5.2-1-mingw32-dll-6.tar.lzma
installing libstdc++-4.5.2-1-mingw32-dll-6.tar.lzma

Or you can get and unzip the files manually from
http://prdownloads.sourceforge.net/ming ... a?download
http://prdownloads.sourceforge.net/ming ... a?download
Post Reply