gnebehay / OpenTLD

A C++ implementation of OpenTLD
http://gnebehay.github.com/OpenTLD/
GNU General Public License v3.0
460 stars 196 forks source link

OpenTLD crashing at startup because of OpenCV #58

Closed ghost closed 9 years ago

ghost commented 9 years ago

Afeter having compiled successflluy OpenTLD with Cmake 2.8.12, Opencv 2.4.11, GTK2.0-dev on Ubuntu 14.04.3 LTS, the following error appears:

OpenTLD appeares soon... OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvNamedWindow, file /home/user/opencv-2.4.11/modules/highgui/src/window.cpp, line 483 terminate called after throwing an instance of 'cv::Exception' what(): /home/user/opencv-2.4.11/modules/highgui/src/window.cpp:483: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvNamedWindow

ghost commented 9 years ago

Path to OpenCV wasn't set coorectly. Sorry, my mistake. All is working well with this configuration, even with OpenCV 3.0.