[gdal-dev] GDAL error: not found for legacy project
Clive Swan
cliveswan at gmail.com
Wed Dec 15 11:38:55 PST 2021
If the Manual provided the answer to my issue, would I be posting
questions..
Running > pip install gdal
When running pip install gdal, I get the following error:
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc
/Tpextensions/gdal_wrap.cpp
/Fobuild\temp.win32-3.8\Release\extensions/gdal_wrap.obj
gdalconst_wrap.c
gdal_wrap.cpp
extensions/gdalconst_wrap.c(3018): fatal error C1083: Cannot open
include file: 'gdal.h': No such file or directory
extensions/osr_wrap.cpp(3198): fatal error C1083: Cannot open include
file: 'cpl_string.h': No such file or
directoryextensions/ogr_wrap.cpp(3153): fatal error C1083: Cannot open
include file: 'gdal.h': No such file or directory
extensions/gnm_wrap.cpp(3135): fatal error C1083: Cannot open include
file: 'gdal.h': No such file or directory
extensions/gdal_wrap.cpp(3198): fatal error C1083: Cannot open include
file: 'cpl_port.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft <file://Microsoft>
Visual
Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x86\\c
l.exe' failed with exit status 2
----------------------------------------
cl.exe is under the path below('C:\\Program Files (x86)\\Microsoft
<file://Microsoft> Visual Studio\\2017\.....)
I have a folder C:\Program Files (x86)\Windows
Kits\10\Include\10.0.17763.0\cppwinrt
There is no directory or file /EHsc /Tpextensions/gdal_wrap.cpp
There is no folder: c:\python38\Include\gdal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211215/fa5903bd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4253 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211215/fa5903bd/attachment-0001.png>
More information about the gdal-dev
mailing list