Skip to content

app don't compile for windows arch #48

@SMods11

Description

@SMods11

When i try to compile with command GOOS=windows GOARCH=amd64 go build -o bin/test.exe test.go

I have this error :

# github.com/TokTok/go-toxcore-c
../../../../go/pkg/mod/github.com/!tok!tok/go-toxcore-c@v0.2.0/hooks.go:11:13: undefined: Tox
../../../../go/pkg/mod/github.com/!tok!tok/go-toxcore-c@v0.2.0/hooks.go:15:13: undefined: Tox
../../../../go/pkg/mod/github.com/!tok!tok/go-toxcore-c@v0.2.0/hooks.go:19:13: undefined: Tox
../../../../go/pkg/mod/github.com/!tok!tok/go-toxcore-c@v0.2.0/hooks.go:23:13: undefined: Tox
../../../../go/pkg/mod/github.com/!tok!tok/go-toxcore-c@v0.2.0/utils.go:46:13: undefined: Tox
../../../../go/pkg/mod/github.com/!tok!tok/go-toxcore-c@v0.2.0/utils.go:69:13: undefined: Tox
../../../../go/pkg/mod/github.com/!tok!tok/go-toxcore-c@v0.2.0/utils.go:79:7: undefined: CONNECTION_NONE
../../../../go/pkg/mod/github.com/!tok!tok/go-toxcore-c@v0.2.0/utils.go:81:7: undefined: CONNECTION_TCP
../../../../go/pkg/mod/github.com/!tok!tok/go-toxcore-c@v0.2.0/utils.go:83:7: undefined: CONNECTION_UDP

When i compile on linux / run it it work perfectly can you help me ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions