Missing zlib1.dll (v.1.0.0rc)
-
Rhone
- Kobold
- Posts: 27
- Joined: Wed Aug 25, 2004 10:37 pm
Missing zlib1.dll (v.1.0.0rc)
I am trying to update my application to the stable release of ogre 1.0.0 rc. My application now compiles, but when it runs it crashes looking for zlib1.dll. I tried running the precompiled exes for the ogre samples and they bomb with the same error as well. I have no such dll, and to my knowlege ogre is linking with zlib as a static library. So why is it looking for this dll?
- sinbad
- OGRE Retired Team Member

- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 67
- Contact:
-
Rhone
- Kobold
- Posts: 27
- Joined: Wed Aug 25, 2004 10:37 pm
Alright, I found it thanks. While I'm at it, I am now encountering another dll link issue. Now my application cannot find the procedure entry point "op_new_vc@MemoryManager@Ogre@@AAEPAXII@Z". It's acting like I have the wrong version of the dll. However, I'm certain this dll was the one produced by my rebuild of the OgreMain project. The same dll works fine with the sample applications.
Sorry if it's a stupid question. Link errors just evade me sometimes.
Sorry if it's a stupid question. Link errors just evade me sometimes.
- neocryptek
- Gnome
- Posts: 335
- Joined: Sat Mar 01, 2003 11:21 pm
- Location: Idaho, USA
- Contact:
-
Rhone
- Kobold
- Posts: 27
- Joined: Wed Aug 25, 2004 10:37 pm
Well, the debug input .lib for Ogremain is now called Ogremain_d.lib, but the dll is still being exported as Ogremain.dll right? If I rename the Ogremain.dll the application bombs looking for it without the "_d". I noticed, when compiling Ogremain, I received several warnings like this one:
zziplibd.lib(err.obj) : warning LNK4099: PDB 'vc70.pdb' was not found with '..\..\..\Dependencies\lib\Debug\zziplibd.lib' or at 'c:\Ogre3d\OgreMain\lib\Debug\vc70.pdb'; linking object as if no debug info
and similar warnings for freetype219MT_D.lib as well. Is it possible since the compiler is choking on these libs that it is somehow disabling the debugging info for the whole Ogremain.dll causing the final executable to bomb? I'm grasping for straws now. I'm certain that it's a debug app and a debug Ogremain dll. I can run the application outside the compiler and still get the same dll entry error.
zziplibd.lib(err.obj) : warning LNK4099: PDB 'vc70.pdb' was not found with '..\..\..\Dependencies\lib\Debug\zziplibd.lib' or at 'c:\Ogre3d\OgreMain\lib\Debug\vc70.pdb'; linking object as if no debug info
and similar warnings for freetype219MT_D.lib as well. Is it possible since the compiler is choking on these libs that it is somehow disabling the debugging info for the whole Ogremain.dll causing the final executable to bomb? I'm grasping for straws now. I'm certain that it's a debug app and a debug Ogremain dll. I can run the application outside the compiler and still get the same dll entry error.
- sinbad
- OGRE Retired Team Member

- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 67
- Contact:
Rhone wrote:Well, the debug input .lib for Ogremain is now called Ogremain_d.lib, but the dll is still being exported as Ogremain.dll right?
Wrong. It's called OgreMain_d.dll and is built that way.
I think you're still mixing debug and release mode binaries. Check all your build paths and where you're putting the dlls. Check how the samples do it.