Psychedelic installation !!
sudo apt-get install freeglut3 freeglut3-dev
sudo apt-get install build-essential libxmu-dev libxi-dev libgl-dev libosmesa-dev
git clone [email protected]:nigels-com/glew.git
cd glew
make
sudo make install
make clean
sudo apt-get install build-essential
sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
git clone [email protected]:opencv/opencv.git
cd ./opencv
cmake .
make
sudo make install
cd opengl/
cmake .
make
./fractal
https://r3dux.org/2012/01/how-to-convert-an-opencv-cvmat-to-an-opengl-texture/