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

Latest commit Gives errorin lines: ogr.go:192 and ogr.go:309 #34

Open
bodaay opened this issue Aug 27, 2018 · 5 comments
Open

Latest commit Gives errorin lines: ogr.go:192 and ogr.go:309 #34

bodaay opened this issue Aug 27, 2018 · 5 comments

Comments

@bodaay
Copy link

bodaay commented Aug 27, 2018

Error details: cannot use pabyData (type unsafe.Pointer) as type *_Ctype_uchar in argument to func literal

The latest commit (6 days ago from this post date) generate these errors when installing/updating:
go get -u github.com/lukeroth/gdal

OS: Ubuntu Bionic 18.04
libgdal-dev: 2.2.3+dfsg-2

@hishamkaram
Copy link

hishamkaram commented Oct 13, 2018

@bodaay update your gdal or install from source

@hishamkaram
Copy link

@bodaay also you can check how I managed to install lukeroth/gdal from travis.yml

@milanaleksic
Copy link

milanaleksic commented Feb 21, 2019

Based on the gdal.sh script I can conclude that version 2.3.2 is supported which is really nice. If that is the case, I would suggest you update the readme to mention this fact since I’ve passed by this project previously without spending tool much effort figuring out is it applicable for my case because the mentioned gdal version is waay too old

@milanaleksic
Copy link

Anyway, I had the same problem like @bodaay ; I can't rely on people using latest gdal so I forked and made the small fixes needed for the libgdal20 that is present on Ubunutu 18.04.LTS: which is 2.2.3 version

milanaleksic@268a238

Thanks a lot for this repository by the way, work is much appreciated! If theoretically possible to maintain LTS branches for Ubuntu 18.04 feel free to ask for a PR to push this small change into a separate branch for people like me and @bodaay

@lukeroth
Copy link
Owner

lukeroth commented Mar 8, 2019

Thanks for your comments, this repository has languished for some time as go did not end up being widely used at our company. I'm cleaning things up a bit today and trying to get everything current with the most recent GDAL version on ubuntu 18.10. Pull requests are always welcome!

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

4 participants