Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV Unspecified error - cvShowImage

Under Ubuntu 15.04 I am getting the following error:


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 cvShowImage, file /home/brian/opencv/modules/highgui/src/window.cpp, line 501 terminate called after throwing an instance of 'cv::Exception' what(): /home/brian/opencv/modules/highgui/src/window.cpp:501: 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 cvShowImage


I have re-installed libgtk2.0-dev and pkg-config and re-run cmake but it did not help.

Any idea what could be the problem?

Thank you

OpenCV Unspecified error - cvShowImage

Under Ubuntu 15.04 I am getting the following error:


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 cvShowImage, file /home/brian/opencv/modules/highgui/src/window.cpp, line 501 terminate called after throwing an instance of 'cv::Exception' what(): /home/brian/opencv/modules/highgui/src/window.cpp:501: 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 cvShowImage


I have re-installed libgtk2.0-dev and pkg-config and re-run cmake but it did not help.

Any idea what could be the problem?

Thank you

Updated information:

cmake output:


-- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake -- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake -- Found ANTTWEAKBAR: /usr/local/lib/libAntTweakBar.so -- AntTweakBar: /usr/local/lib/libAntTweakBar.so -- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake -- GLEW_LIBRARIES: /usr/lib/x86_64-linux-gnu/libGLEW.so -- HOSTNAME FFTT -- CUDA_PROPAGATE_HOST_FLAGS: False -- CUDA_HOST_COMPILER: /usr/bin/cc -- CUDA_NVCC_FLAGS: -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -DNDEBUG -std c++11 -O3 -use_fast_math -- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake -- HOSTNAME FFTT -- CUDA_PROPAGATE_HOST_FLAGS: False -- CUDA_HOST_COMPILER: /usr/bin/cc -- CUDA_NVCC_FLAGS: -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -DNDEBUG -std c++11 -O3 -use_fast_math -- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- HOSTNAME FFTT -- CUDA_PROPAGATE_HOST_FLAGS: False -- CUDA_HOST_COMPILER: /usr/bin/cc -- CUDA_NVCC_FLAGS: -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -DNDEBUG -std c++11 -O3 -use_fast_math -- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- Found OpenNI: /home/brian/Scherady/htrack-1/openni/lib/libOpenNI2.so -- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake -- Configuring done -- Generating done -- Build files have been written to: /home/brian/Scherady/htrack-1/build-apps-Desktop-Default


compile output:


16:36:18: Running steps for project htrack-helloworlds... 16:36:18: Starting: "/usr/bin/make" [ 7%] Built target helloworld [ 15%] Built target helloworld_opencv [ 23%] Built target helloworld_qtopengl [ 38%] Built target helloworld_atb [ 46%] Built target helloworld_cudagl [ 53%] Built target cudax [ 61%] Built target helloworld_cublas_perfomance [ 69%] Built target helloworld_cublas_simple [ 76%] Built target helloworld_thrust [100%] Built target helloworld_openni 16:36:19: The process "/usr/bin/make" exited normally. 16:36:19: Elapsed time: 00:01.


The error occurs when I run helloworld_opencv.

OpenCV Unspecified error - cvShowImage

Under Ubuntu 15.04 I am getting the following error:


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 cvShowImage, file /home/brian/opencv/modules/highgui/src/window.cpp, line 501 terminate called after throwing an instance of 'cv::Exception' what(): /home/brian/opencv/modules/highgui/src/window.cpp:501: 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 cvShowImage


I have re-installed libgtk2.0-dev and pkg-config and re-run cmake but it did not help.

Any idea what could be the problem?

Thank you

Updated information:

cmake output:


-- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake -- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake -- Found ANTTWEAKBAR: /usr/local/lib/libAntTweakBar.so -- AntTweakBar: /usr/local/lib/libAntTweakBar.so -- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake -- GLEW_LIBRARIES: /usr/lib/x86_64-linux-gnu/libGLEW.so -- HOSTNAME FFTT -- CUDA_PROPAGATE_HOST_FLAGS: False -- CUDA_HOST_COMPILER: /usr/bin/cc -- CUDA_NVCC_FLAGS: -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -DNDEBUG -std c++11 -O3 -use_fast_math -- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake -- HOSTNAME FFTT -- CUDA_PROPAGATE_HOST_FLAGS: False -- CUDA_HOST_COMPILER: /usr/bin/cc -- CUDA_NVCC_FLAGS: -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -DNDEBUG -std c++11 -O3 -use_fast_math -- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- HOSTNAME FFTT -- CUDA_PROPAGATE_HOST_FLAGS: False -- CUDA_HOST_COMPILER: /usr/bin/cc -- CUDA_NVCC_FLAGS: -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -DNDEBUG -std c++11 -O3 -use_fast_math -- CMAKE_BUILD_TYPE Release -- Compiler(Linux): g++-4.9 -- Found OpenNI: /home/brian/Scherady/htrack-1/openni/lib/libOpenNI2.so -- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake -- Configuring done -- Generating done -- Build files have been written to: /home/brian/Scherady/htrack-1/build-apps-Desktop-Default


compile output:


16:36:18: Running steps for project htrack-helloworlds... 16:36:18: Starting: "/usr/bin/make" [ 7%] Built target helloworld [ 15%] Built target helloworld_opencv [ 23%] Built target helloworld_qtopengl [ 38%] Built target helloworld_atb [ 46%] Built target helloworld_cudagl [ 53%] Built target cudax [ 61%] Built target helloworld_cublas_perfomance [ 69%] Built target helloworld_cublas_simple [ 76%] Built target helloworld_thrust [100%] Built target helloworld_openni 16:36:19: The process "/usr/bin/make" exited normally. 16:36:19: Elapsed time: 00:01.


The error occurs when I run helloworld_opencv.

click to hide/show revision 4
No.4 Revision

updated 2015-09-10 01:18:08 -0600

berak gravatar image

OpenCV Unspecified error - cvShowImage

Under Ubuntu 15.04 I am getting the following error:


****************************************
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 cvShowImage, file /home/brian/opencv/modules/highgui/src/window.cpp, line 501
terminate called after throwing an instance of 'cv::Exception'
what(): /home/brian/opencv/modules/highgui/src/window.cpp:501: 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 cvShowImage

cvShowImage

I have re-installed libgtk2.0-dev and pkg-config and re-run cmake but it did not help.

Any idea what could be the problem?

Thank you

Updated information:

cmake output:

-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake
-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake
-- Found ANTTWEAKBAR: /usr/local/lib/libAntTweakBar.so
-- AntTweakBar: /usr/local/lib/libAntTweakBar.so
-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake
-- GLEW_LIBRARIES: /usr/lib/x86_64-linux-gnu/libGLEW.so
-- HOSTNAME FFTT
-- CUDA_PROPAGATE_HOST_FLAGS: False
-- CUDA_HOST_COMPILER: /usr/bin/cc
-- CUDA_NVCC_FLAGS: -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -DNDEBUG -std c++11 -O3 -use_fast_math
-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake
-- HOSTNAME FFTT
-- CUDA_PROPAGATE_HOST_FLAGS: False
-- CUDA_HOST_COMPILER: /usr/bin/cc
-- CUDA_NVCC_FLAGS: -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -DNDEBUG -std c++11 -O3 -use_fast_math
-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- HOSTNAME FFTT
-- CUDA_PROPAGATE_HOST_FLAGS: False
-- CUDA_HOST_COMPILER: /usr/bin/cc
-- CUDA_NVCC_FLAGS: -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -DNDEBUG -std c++11 -O3 -use_fast_math
-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- Found OpenNI: /home/brian/Scherady/htrack-1/openni/lib/libOpenNI2.so
-- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/brian/Scherady/htrack-1/build-apps-Desktop-Default

/home/brian/Scherady/htrack-1/build-apps-Desktop-Default compile output:

output: 16:36:18: Running steps for project htrack-helloworlds... 16:36:18: Starting: "/usr/bin/make" [ 7%] Built target helloworld [ 15%] Built target helloworld_opencv [ 23%] Built target helloworld_qtopengl [ 38%] Built target helloworld_atb [ 46%] Built target helloworld_cudagl [ 53%] Built target cudax [ 61%] Built target helloworld_cublas_perfomance [ 69%] Built target helloworld_cublas_simple [ 76%] Built target helloworld_thrust [100%] Built target helloworld_openni 16:36:19: The process "/usr/bin/make" exited normally. 16:36:19: Elapsed time: 00:01.

00:01.

The error occurs when I run helloworld_opencv.