Question / Help -- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR)

Chizbang

New Member
Im trying to compile the latest source of OBS to no avail. I just get:
-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR)

Im trying to compile it by doing:
Code:
obs-studio$ sudo ../cmake-2.8.12.2-Linux-i386/bin/cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr


Im on a Debian based distro named Crunchbang:
Code:
Linux crunchbang 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux

I have Nvidias stable 340.32 drivers installed which work perfectly (Steam including its games work perfectly)

Any ideas? Thanks!

PS: I have tried using the repos provided in the stickies but they won't work whenever I do sudo apt-get update:
Code:
W: Failed to fetch http://ppa.launchpad.net/btbn/obs-studio/ubuntu/dists/wheezy/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/btbn/obs-studio/ubuntu/dists/wheezy/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/btbn/obs-studio/ubuntu/dists/wheezy/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/jon-severinsson/ffmpeg/ubuntu/dists/wheezy/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/jon-severinsson/ffmpeg/ubuntu/dists/wheezy/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/jon-severinsson/ffmpeg/ubuntu/dists/wheezy/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
 

NoXPhasma

Member
There is a install instruction file in on github: https://github.com/jp9000/obs-studio/blob/master/INSTALL#L121

Did you tried that? The most dependencies should be the same on Debian (with older versions of course), you have to try if the versions of your repository are new enough.

If you can't compile it with that instructions, please post the whole error message.

Because of the ffmpeg ppa, you will probably need to compile the newest ffmpeg for your own.
 
Top