I have wrote a c++ program to display camera picture using opencv command imshow
, worked perfectly on Wheezy. Lately I've updated my RPI to latest Jessie. Now I get the GdkGLExt
error when running my program through a VNC client (direct connection doesn't have any problem).
On the raspberry forum suggested to installing libgl1-mesa-swx11
and it worked, but when compiling get the following errors:
usr/bin/ld: cannot find -lGL
usr/bin/ld: cannot find -lGLU
Elsewhere suggested to installing libgl1-mesa-dev
and libglu1-mesa-dev
to resolve above errors, but installing these makes removing libgl1-mesa-swx11
.
Any help appreciated (except downgrading to Wheezy:)).