[gdal-dev] gnm_wrap.cpp missing in GDAL-2.1.3

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[gdal-dev] gnm_wrap.cpp missing in GDAL-2.1.3

Kondou, Kentarou
Hello,

gnm_wrap.cpp is missing in GDAL-2.1.3.tar.gz on https://pypi.python.org/pypi/GDAL:
  https://pypi.python.org/packages/36/d7/f89ac1347185db56939c156330efbfa2e3be560060b74e31f41e514ee627/GDAL-2.1.3.tar.gz

This caused the following error when building osgeo._gnm extension:

> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cel
> :
> :
> building 'osgeo._gnm' extension
> clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Wno-error=unused-command-line-argument-hard-error-in-future -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/Cellar/gdal2/2.1.3_2/include -c extensions/gnm_wrap.cpp -o build/temp.macosx-10.11-x86_64-2.7/extensions/gnm_wrap.o
> clang: error: no such file or directory: 'extensions/gnm_wrap.cpp'
> clang: error: no input files
> error: command 'clang' failed with exit status 1

—————————————————————————————————

Ken Kondo



_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: gnm_wrap.cpp missing in GDAL-2.1.3

Even Rouault-2

Hi,

 

>

> gnm_wrap.cpp is missing in GDAL-2.1.3.tar.gz on

> https://pypi.python.org/pypi/GDAL:

> https://pypi.python.org/packages/36/d7/f89ac1347185db56939c156330efbfa2e3be

> 560060b74e31f41e514ee627/GDAL-2.1.3.tar.gz

> This caused the following error when building osgeo._gnm extension:

 

In GDAL 2.1, GNM was disabled by default, so the generated bindings don't include gnm_wrap.cpp

Either rebuild your GDAL --without-gnm, or regenerate the Python bindings so gnm_wrap.cpp is generated.

 

Even

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Loading...