[osgeo4w-dev] Re: [osgeo4w] #161: gdal utilities issues

OSGeo4W trac_osgeo4w at osgeo.org
Tue Mar 16 13:32:28 EDT 2010


#161: gdal utilities issues
---------------------------------+------------------------------------------
Reporter:  lutra                 |        Owner:  osgeo4w-dev at lists.osgeo.org
    Type:  defect                |       Status:  new                        
Priority:  major                 |    Component:  Package                    
 Version:                        |   Resolution:                             
Keywords:  gdal, gdal utilities  |  
---------------------------------+------------------------------------------
Comment (by mwtoews):

 Replying to [comment:5 jef]:
 > Could you run [[http://www.dependencywalker.com/ depends]] on
 {{{%OSGEO4W_ROOT%/apps/gdal-16/pymod/osgeo/_gdal.pyd}}}?

 I did this on both an XP system, with only a few warnings, and with Win7
 x64 with errors. My result is a 3.5MB file -- too big to upload on this
 Trac system. (I can upload or email this file on request: append
 @gmail.com to my username).

 Here are my exact steps from an OSGeo4W Shell on the Win7 x64 system:

 {{{
 C:\>gdal16

 C:\>SET GDAL_DATA=C:\OSGeo4W\apps\gdal-16\share\gdal

 C:\>SET GDAL_DRIVER_PATH=C:\OSGeo4W\apps\gdal-16\bin\gdalplugins

 C:\>SET PYTHONPATH=C:\OSGeo4W\apps\gdal-16\pymod;C:\Program Files
 (x86)\ArcGIS\b
 in

 C:\>PATH=C:\OSGeo4W\apps\gdal-
 16\bin;C:\OSGeo4W\bin;C:\Windows\system32;C:\Windo
 ws;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Pytho
 n25;C:\Python25\Scripts;C:\Program Files
 (x86)\PostgreSQL\8.3\bin;C:\Program Fil
 es (x86)\QuickTime\QTSystem\;C:\Program
 Files\TortoiseSVN\bin;C:\Users\mobile20\
 AppData\Local\Start++\LNKs;C:\Users\mobile20\AppData\Local\Start++\CMDs;C:\OSGeo
 4W\apps\msys\bin

 C:\>depends OSGeo4W\apps\gdal-16\pymod\osgeo\_gdal.pyd
 }}}

 The Dependency Walker log details:
 > Error: At least one module has an unresolved import due to a missing
 export function in an implicitly dependent module.[[BR]]
 > Error: Modules with different CPU types were found.[[BR]]
 > Warning: At least one delay-load dependency module was not found.[[BR]]
 > Warning: At least one module has an unresolved import due to a missing
 export function in a delay-load dependent module.

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/161#comment:8>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.


More information about the osgeo4w-dev mailing list