Skip to content

Cannot build on Arch Linux #9

@itaranto

Description

@itaranto

debugger fails to build on Arch Linux. I have vulkan-headers installed but Gio still fails to find some Vulkan methods.

For context, I was able to build Gldv without problem. Gldv can be built with Gio on Linux as well.

[I] ~ $ go install github.com/emad-elsaid/debugger@latest
go: downloading github.com/emad-elsaid/debugger v0.0.0-20230714205757-ae768a3b5dc2
go: downloading gioui.org v0.1.0
go: downloading github.com/go-delve/delve v1.21.0
go: downloading golang.org/x/exp/shiny v0.0.0-20230713183714-613f0c0eb8a1
go: downloading github.com/emad-elsaid/types v0.0.2
go: downloading github.com/go-text/typesetting v0.0.0-20230714130734-4b4e92d4c7ae
go: downloading golang.org/x/image v0.9.0
go: downloading gioui.org/cpu v0.0.0-20220412190645-f1e9e8c3b1f7
go: downloading gioui.org/shader v1.0.6
go: downloading golang.org/x/arch v0.4.0
# gioui.org/cpu
.local/share/go/pkg/mod/gioui.org/cpu@v0.0.0-20220412190645-f1e9e8c3b1f7/driver.go:37:10: cannot define new methods on non-local type BufferDescriptor
.local/share/go/pkg/mod/gioui.org/cpu@v0.0.0-20220412190645-f1e9e8c3b1f7/driver.go:41:10: cannot define new methods on non-local type BufferDescriptor
.local/share/go/pkg/mod/gioui.org/cpu@v0.0.0-20220412190645-f1e9e8c3b1f7/driver.go:52:10: cannot define new methods on non-local type ImageDescriptor
.local/share/go/pkg/mod/gioui.org/cpu@v0.0.0-20220412190645-f1e9e8c3b1f7/driver.go:56:10: cannot define new methods on non-local type ImageDescriptor
.local/share/go/pkg/mod/gioui.org/cpu@v0.0.0-20220412190645-f1e9e8c3b1f7/driver.go:67:10: cannot define new methods on non-local type DispatchContext
.local/share/go/pkg/mod/gioui.org/cpu@v0.0.0-20220412190645-f1e9e8c3b1f7/driver.go:71:10: cannot define new methods on non-local type DispatchContext
.local/share/go/pkg/mod/gioui.org/cpu@v0.0.0-20220412190645-f1e9e8c3b1f7/driver.go:75:10: cannot define new methods on non-local type DispatchContext
.local/share/go/pkg/mod/gioui.org/cpu@v0.0.0-20220412190645-f1e9e8c3b1f7/driver.go:83:10: cannot define new methods on non-local type ThreadContext
# gioui.org/internal/vk
.local/share/go/pkg/mod/gioui.org@v0.1.0/internal/vk/vulkan.go:1896:9: cannot define new methods on non-local type PushConstantRange
.local/share/go/pkg/mod/gioui.org@v0.1.0/internal/vk/vulkan.go:1900:9: cannot define new methods on non-local type PushConstantRange
.local/share/go/pkg/mod/gioui.org@v0.1.0/internal/vk/vulkan.go:1904:9: cannot define new methods on non-local type PushConstantRange
.local/share/go/pkg/mod/gioui.org@v0.1.0/internal/vk/vulkan.go:1908:9: cannot define new methods on non-local type QueueFamilyProperties
.local/share/go/pkg/mod/gioui.org@v0.1.0/internal/vk/vulkan.go:1912:9: cannot define new methods on non-local type SurfaceCapabilities
.local/share/go/pkg/mod/gioui.org@v0.1.0/internal/vk/vulkan.go:1916:9: cannot define new methods on non-local type SurfaceCapabilities

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions