You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../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
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.
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
The text was updated successfully, but these errors were encountered: