OpenCV 2.4.5 has released and it is exciting to take a bite.
So openCV is downloaded and compiled, but when it is to play video files, an error popped up:
libopencv_highgui.so.2.4: cannot open shared object file
After searching couple of webpages finally get the solution:
There are two steps to fix the error. First, check the file
- this is to make sure the opencv lib path is included in the config file.
Second, including the path of opencv’s .so files in LD_LIBRARY_PATH(), like below: