Skip to content

go-gl error #1

@maxiecool2

Description

@maxiecool2

im trying to build libregate and i get this error

github.com/go-gl/gl/v2.1/gl

[pkg-config --cflags -- gl gl]

Package gl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gl', required by 'virtual:world', not found
Package 'gl', required by 'virtual:world', not found

github.com/go-gl/glfw/v3.3/glfw

In file included from ./glfw/src/internal.h:188,
from ./glfw/src/context.c:30,
from ../../go/pkg/mod/github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20240506104042-037f3cc74f2a/c_glfw.go:4:
./glfw/src/x11_platform.h:33:10: fatal error: X11/Xlib.h: No such file or directory
33 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
compilation terminated.

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