CvNamedWindow - function not implemented, could not start LibHand

I would like to use the LibHand hand gesture library, but I cannot run it on Ubuntu 13.10.

I compiled it successfully (after overcoming several problems associated with the linker), but when launching pose_designer, the OpenCV library registers that the GUI support function is not implemented, telling me to install libgtk2.0-dev and pkg-config, however, after installing these packages and OpenCV library recovery problem persists. Inspired by SO messages from people with comparable OpenCV problems (OpenCV error: function not implemented ), I switched to libqt. Unfortunately, the problem is not resolved.

An extract from the log file is given below. What is the reason for this error?

WARNING: the mesh 'hand.mesh' includes vertices with more than 4 bone
  assignments. The lowest weighted assignments beyond this limit have been
  removed, so your animation may look slightly different. To eliminate this,
  reduce the number of bone assignments per vertex on your mesh to 4.
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/Downloads/opencv-2.4.8/modules/highgui
  /src/window.cpp, line 483
Exception: /home/user/Downloads/opencv-2.4.8/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
+4
2

, opencv ( highgui).

cmake ( cmake-gui) , gui:

  GUI: 
    QT:                          NO
    Win32 UI:                    YES
    OpenGL support:              NO
    VTK support:                 NO

(, , GTK, 'on')

+1

CMakeLists.txt , .

  • Windows WITH_VFW " Windows"
  • Carbon WITH_CARBON " Carbon Cocoa"
  • GTK + 2.x WITH_GTK_2_X " GTK 2"
0

Source: https://habr.com/ru/post/1533935/


All Articles