Linux From Scratch - Build fails

MarcMcG

New Member
So I'm trying to build OBS using the instructions at https://github.com/obsproject/obs-studio/wiki/Build-Instructions-For-Linux. When I run the cmake command, it generates the error:
"Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY)"
I have Mesa installed and all of the required dependencies but it still comes back with this message. This is not a Debian or Red Hat based distribution, I'm running Linux From Scratch and all of the help I've found says to try one of the Debian or Fedora installation methods. Is there a environment variable I can set or something that I can add to let cmake know where to find OpenGL?
 

Tuna

Member
Not sure how LFS handles that, but you will need the opengl development files, not just the runtime. Also pkg-config is probably required to find these headers.
 
Top