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

More compile issues. #65

Open
darkstar007 opened this issue Mar 24, 2021 · 2 comments
Open

More compile issues. #65

darkstar007 opened this issue Mar 24, 2021 · 2 comments

Comments

@darkstar007
Copy link

go get github.com/lukeroth/gdal

github.com/lukeroth/gdal

../go/pkg/mod/github.com/lukeroth/gdal@v0.0.0-20210310154358-b66f07d1a621/ogr.go:1278:55: cannot use _cgo3 (type *_Ctype_uchar) as type unsafe.Pointer in argument to _Cfunc_OGR_F_SetFieldBinary

libgdal-dev/focal,focal,now 3.0.4+dfsg-1build3 amd64 [installed]

go version 1.16.2

Thanks,
Matt

@laprattb
Copy link

Getting the same

@laprattb
Copy link

Figured out the issue was with the wrong version of the gdal library. This gdal wrapper was tested with v2.2 of gdal so I had to compile v2.2 from source in my system as the package in the debian repo was a later version.

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