Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile gdal==2.0.2: missing "cpl_vsi_error.h" header file #5

Open
svHatch opened this issue Jun 9, 2017 · 4 comments
Open

Comments

@svHatch
Copy link

svHatch commented Jun 9, 2017

Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux

$ gdal-config --version $ 2.0.2 $ gdal-config --clfags $ -I/usr/local/include

When running # pip3 install tv it fails with this error code:

extensions/gdal_wrap.cpp:3172:27: fatal error: cpl_vsi_error.h: No such file or directory

So if this is a header included in 2.2.0, but not 2.0.2, then the documentation for tv should reflect that.

@daleroberts
Copy link
Owner

daleroberts commented Jun 9, 2017 via email

@kvantos
Copy link

kvantos commented Sep 13, 2017

Same for me, this file cpl_vsi_error.h not exists for real.

# gdal-config --version
1.11.3

@daleroberts
Copy link
Owner

Your GDAL version is 1.11.3. tv only supports GDAL 2.2+...

I am happy to accept a patch that retrofits the code to cleanly handle both version 1.11.3 and version 2.2+

@kvantos
Copy link

kvantos commented Sep 16, 2017

1.11.3 is in the Ubuntu repo.
Im happy to write patch, but dont know how. I do not blame you for anything. Actually it is good to support recent versions of library, with recent features. However, it is not very convenient for common-or-garden users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants