So, here's my problem - I want to complete these tutorials on a laptop with an HD4000 integrated graphics processor running Kali *nix. The trouble is that the edition of Mesa 3D installed is only version 8 or so, and therefore will only run an implementation of OpenGL which is too old - the tutorial requires OpenGL version 3.3 or higher. However, the recent release of Mesa 10 has made this possible by providing support for OpenGL 3.3!!
So all I want to do is install Mesa 10 on my system, so I can complete these tutorials. I found this answer, but it seems to be for Ubuntu only. I tried running the suggested
1.) Add the PPA Repository
$ sudo add-apt-repository ppa:oibaf/graphics-drivers
2.) Update sources
$ sudo apt-get update
3.) Dist-upgrade (rebuilds many packages)
$ sudo apt-get dist-upgrade
4.) Reboot!
In your code make sure you request a Opengl 3.3 context!
but after 2). I got the errors
W: Failed to fetch http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu/dists/wheezy/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu/dists/wheezy/main/binary-amd64/Packages 404 Not Found
I also downloaded the tar.gz Mesa 10 file from the website directly, and configure it after running
sudo apt-get build-dep mesa
Though this produced the error;
configure: error: Package requirements (libdrm_radeon >= 2.4.46) were not met:
Requested 'libdrm_radeon >= 2.4.46' but version of libdrm_radeon is 2.4.40
Try adding --with-gallium-drivers=""
to your configure
invocation:
./configure --with-dri-drivers=i965 --with-gallium-drivers=""
You'll probably have to build a newer version (>= 2.4.49
) of libdrm-intel
than Wheezy ships (2.4.40
) though.