paulsmith / gogeos

Go library for spatial data operations and geometric algorithms (Go bindings for GEOS)
http://paulsmith.github.io/gogeos/
MIT License
280 stars 79 forks source link

exit status 3221225781 #26

Open yms8697 opened 5 years ago

yms8697 commented 5 years ago

I am getting the following error when trying to execute go run main.go:

exit status 3221225781

main.go:

package main
import (
    "fmt"

    "github.com/paulsmith/gogeos/geos"
)
func main() {
    line, _ := geos.FromWKT("LINESTRING (0 0, 10 10, 20 20)")
    buf, _ := line.Buffer(2.5)
    fmt.Println(buf)
    // Output: POLYGON ((18.2322330470336311 21.7677669529663689, 18.61…
}

I don't know what happened,can you help me, thank you

ningfc commented 2 years ago

I'm getting the error too, just have different exit status code I'm getting the console output below

Starting: C:\Users\ningfc\go\bin\dlv-dap.exe dap --check-go-version=false --listen=127.0.0.1:56070 from d:\Code\go\src\geos_demo DAP server listening at: 127.0.0.1:56070 Process 41252 has exited with status 3221225595 dlv dap (10504) exited with code: 0

And return error code when run the .exe file dierecly. exit status 0xc000007b

Did you ever resolve this problem? Or any one can help us. @paulsmith

ningfc commented 2 years ago

I resolved by copied gdal dll to target exe folder.