Windows issues

From OTBWiki
Revision as of 18:37, 19 November 2010 by WikiSysop (Talk | contribs) (Reverted edits by Ulofyvy (Talk); changed back to last version by Christop)

Jump to: navigation, search

Missing Dll (Visual Studio 8)

This application has failed to start because (*).dll was not found.

gdal15-vc8.dll

libpng13-vc8.dll

zlib1.dll

zlib1-vc8.dll


gdal15-vc8.dll is dll file generated by gdal (version 1.5.x). Find the gdal.dll, gdal15.dll or similar named dll file under the gdal directory tree. (possibly in gdal\bin) and rename it as gdal15-vc8.dll

(You can use GDAL MSVC binary distribution at http://vterrain.org/Distrib/gdal.html. gdal15-vc8.dll is in \bin directory)

Download libpng13.dll and zlib1.dll from internet (http://www.dll-files.com). Rename libpng13.dll as libpng13-vc8.dll, and zlib1.dll as zlib1.dll and zlib1-vc8.dll (2 files). Save these files under the directory where gdal15-vc8.dll is stored.

Now you have to define the directory which contains these dll files in the system path.

Go to Control Panel -> System -> Advanced -> Environment Variables. Edit the path variable and write directory here. If there are already directories defined, use ; in order to add new directories.


xerces-c_2_7.dll

This issue is described on http://groups.google.com/group/otb-users/browse_thread/thread/438fc11e3dd2098d/fd0687d68de51ae9

While running the applications: "The procedure entry point ?binToText@XMLString@xercesc_2_7@@SAXIQAGIIQAVMemoryManager@2@@Z could not be located in the dynamic link library xerces-c_2_7.dll"

Here is the solution proposed by Mohan: Cause: Actually there exists several versions of xerces-c_2_7.dll in the system.

Steps to resolve:

  1. As Otmane said, kindly check whether the dll "xerces-c_2_7.dll" present in C:/OSGEO4W/bin. And this is the one which that the application is using.
  2. Search for "xerces-c_2_7.dll" in my computer.You will come to know what other versions are also there.
  3. Check in the path in environment variables where you have placed your path "C:/OSGEO4W/bin" in it. Since the path has other version of "xerces-c_2_7.dll" before this path, the application is taking the wrong version and leeds to that error. And hence kindly move the path "C:/OSGEO4W/bin" before the path of other versions.
  4. Compile and run