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

Fails to build with GDAL 2.0 #22

Closed
sebastic opened this issue Oct 20, 2015 · 4 comments
Closed

Fails to build with GDAL 2.0 #22

sebastic opened this issue Oct 20, 2015 · 4 comments

Comments

@sebastic
Copy link

As reported in Debian Bug #802497, prepair fails to build with GDAL 2.0:

 error: invalid conversion from 'GDALDriver*' to 'OGRSFDriver*'

The full build log is attached to the bugreport, which GitHub didn't allow me to do here:
prepair_0.7-3_gdal-2.0.log

prepair needs to be patched to support GDAL 2.0,
please refer to the MIGRATION GUIDE FROM GDAL 1.11 to GDAL 2.0 for pointers.

@hugoledoux
Copy link
Member

Indeed we're still building against GDAL 1.1x only. The problem is that the changes that need to be made are backwards incompatible and we use homebrew to install gdal, and it is still at v1.11. When homebrew switchs to v2.0, we'll implement the change. In discussion: Homebrew/legacy-homebrew#42845

I realise it's not ideal for everyone, but moving the master to GDAL 2.0 wouldn't be either.

@sebastic
Copy link
Author

Supporting only GDAL 1.x or 2.x doesn't seem very sensible, is it not possible to support both with conditionals like this change for openscenegraph for example?

@hugoledoux
Copy link
Member

That sounds sensible and rather simple, I'll do that asap.

Thanks for pointing it out.

@hugoledoux
Copy link
Member

fixed

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

2 participants