adase akude
2011-05-18 12:23:55 UTC
hi,
I am trying to build and install GDAL python bindings and I am getting the ff errors.
Can anybody help.
C:\gdal-1.6.1\swig\python>python setup.py build
numpy include C:\Python26\lib\site-packages\numpy\core\include
setup.py:78: DeprecationWarning: The popen2 module is deprecated. Use the subpr
ocess module.
import popen2
running build
running build_py
creating build
creating build\lib.win32-2.6
copying gdal.py -> build\lib.win32-2.6
copying ogr.py -> build\lib.win32-2.6
copying osr.py -> build\lib.win32-2.6
copying gdalconst.py -> build\lib.win32-2.6
copying gdalnumeric.py -> build\lib.win32-2.6
creating build\lib.win32-2.6\osgeo
copying osgeo\gdal.py -> build\lib.win32-2.6\osgeo
copying osgeo\gdalconst.py -> build\lib.win32-2.6\osgeo
copying osgeo\gdalnumeric.py -> build\lib.win32-2.6\osgeo
copying osgeo\gdal_array.py -> build\lib.win32-2.6\osgeo
copying osgeo\ogr.py -> build\lib.win32-2.6\osgeo
copying osgeo\osr.py -> build\lib.win32-2.6\osgeo
copying osgeo\__init__.py -> build\lib.win32-2.6\osgeo
running build_ext
building 'osgeo._gdal' extension
creating build\temp.win32-2.6
creating build\temp.win32-2.6\Release
creating build\temp.win32-2.6\Release\extensions
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W
3 /GS- /DNDEBUG -I../../port -I../../gcore -I../../alg -I../../ogr/ -IC:\Python2
6\include -IC:\Python26\PC -IC:\Python26\lib\site-packages\numpy\core\include /T
pextensions/gdal_wrap.cpp /Fobuild\temp.win32-2.6\Release\extensions/gdal_wrap.o
bj
gdal_wrap.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
../../port\cpl_port.h(88) : fatal error C1083: Cannot open include file: 'cpl_co
nfig.h': No such file or directory
error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' fa
iled with exit status 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gispython.org/pipermail/community/attachments/20110518/81a3dd9e/attachment.htm>
I am trying to build and install GDAL python bindings and I am getting the ff errors.
Can anybody help.
C:\gdal-1.6.1\swig\python>python setup.py build
numpy include C:\Python26\lib\site-packages\numpy\core\include
setup.py:78: DeprecationWarning: The popen2 module is deprecated. Use the subpr
ocess module.
import popen2
running build
running build_py
creating build
creating build\lib.win32-2.6
copying gdal.py -> build\lib.win32-2.6
copying ogr.py -> build\lib.win32-2.6
copying osr.py -> build\lib.win32-2.6
copying gdalconst.py -> build\lib.win32-2.6
copying gdalnumeric.py -> build\lib.win32-2.6
creating build\lib.win32-2.6\osgeo
copying osgeo\gdal.py -> build\lib.win32-2.6\osgeo
copying osgeo\gdalconst.py -> build\lib.win32-2.6\osgeo
copying osgeo\gdalnumeric.py -> build\lib.win32-2.6\osgeo
copying osgeo\gdal_array.py -> build\lib.win32-2.6\osgeo
copying osgeo\ogr.py -> build\lib.win32-2.6\osgeo
copying osgeo\osr.py -> build\lib.win32-2.6\osgeo
copying osgeo\__init__.py -> build\lib.win32-2.6\osgeo
running build_ext
building 'osgeo._gdal' extension
creating build\temp.win32-2.6
creating build\temp.win32-2.6\Release
creating build\temp.win32-2.6\Release\extensions
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W
3 /GS- /DNDEBUG -I../../port -I../../gcore -I../../alg -I../../ogr/ -IC:\Python2
6\include -IC:\Python26\PC -IC:\Python26\lib\site-packages\numpy\core\include /T
pextensions/gdal_wrap.cpp /Fobuild\temp.win32-2.6\Release\extensions/gdal_wrap.o
bj
gdal_wrap.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
../../port\cpl_port.h(88) : fatal error C1083: Cannot open include file: 'cpl_co
nfig.h': No such file or directory
error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' fa
iled with exit status 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gispython.org/pipermail/community/attachments/20110518/81a3dd9e/attachment.htm>