LdDl / go-darknet

Go bindings for Darknet (YOLO v4 / v7-tiny / v3)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Build error on golang:1.15.7-alpine3.13 docker image

arthurhenrique opened this issue · comments

Describe the bug
#20 4.538 vendor/github.com/LdDl/go-darknet/network.go:61:2: could not determine kind of name for C.free_network_ptr

To Reproduce
Docker: golang:1.15.7-alpine3.13
Run: CGO_ENABLED=1 go install -v -a --installsuffix --ldflags="-s"

Expected behavior
#20 4.538 vendor/github.com/LdDl/go-darknet/network.go:61:2: could not determine kind of name for C.free_network_ptr

I think you should rollback this 40df8cc

I forgot that we have had docker-build :)
I'll check it later.
Have not that much time due the regular job to be honest...