You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(base) ➜ temp go run main.go
# 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
No package 'gl' found
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
No package 'gl' found
pkg-config: exit status 1
# github.com/go-gl/glfw/v3.3/glfw
vendor/github.com/go-gl/glfw/v3.3/glfw/c_glfw.go:4:10: fatal error: glfw/src/context.c: No such file or directory
4 | #include "glfw/src/context.c"
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
(base) ➜ temp glxinfo | grep "OpenGL version"
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.1.2 - kisak-mesa PPA
(base) ➜ temp go run main.go
# 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
No package 'gl' found
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
No package 'gl' found
pkg-config: exit status 1
# github.com/go-gl/glfw/v3.3/glfw
vendor/github.com/go-gl/glfw/v3.3/glfw/c_glfw.go:4:10: fatal error: glfw/src/context.c: No such file or directory
4 | #include "glfw/src/context.c"
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Activity
muesli commentedon Jun 22, 2022
This example requires
mesaor any other package that provides an OpenGL implementation to be installed on your system.rockey5520 commentedon Jun 22, 2022
Thanks, I did installed mesa and still get the same error
i used following installation instructions : https://www.linuxcapable.com/install-upgrade-mesa-drivers-radeon-nvidia-on-ubuntu-20-04-lts/
muesli commentedon Jun 22, 2022
Try installing the development headers as well:
rockey5520 commentedon Jun 22, 2022
tried but error message remains same :) if i give you any other info about my systems would help ?