Opencv modules highgui src window cpp

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCV issue : No OpenGL support(Library built without OpenGL support) in cvNamedWIndows ,file .\ \\opencv\modules\highgui\src\window_w32.cpp line 746 #25

OpenCV issue : No OpenGL support(Library built without OpenGL support) in cvNamedWIndows ,file .\ \\opencv\modules\highgui\src\window_w32.cpp line 746 #25

Comments

1

I am trying the code for Markerless AR in Visual Studio 2008 with OpenCV 2.4.4 in Windows 7but i come across this error. I have configured everything needed for the code. I downloaded Opencv 2.4.4.exe from sourceforge and enabled OpenGL using cmake but it still shows error.
It shows the same error for the function:
cv::namedWindow(windowName, cv::WINDOW_OPENGL);
cv::setOpenGlContext(windowName);
cv::setOpenGlDrawCallback(windowName, ARDrawingContextDrawCallback, this);
I use the Intel graphics(Generic PnP Monitor on Intel HD Graphics 4000 Driver version 10.18.10.3345)
I also tried the same code in Nvidia system which showed the same error.
I would really like it if i could a stepwise instruction on how to setup the markerless ar project and solve the OpenGL support problem.
I fell its a code error
I have a deadline of 2 days to complete the code I could use all the help i can get .
Please Help.

Читайте также:  Add Record Form

The text was updated successfully, but these errors were encountered:

On Windows platform you don’t need to install any SDK. VIsual Studio has everything it needs to build OpenCV with OpenGL. You can check OpenGL support and build configuration by calling cv::getBuildInformation().
As @shervinemami told, it’s likely that you are using wrong OpenCV libraries. So i would suggest that you double-check OpenCV libraries (Maybe you have old OpenCV build somewhere on your system that is used instead of new one?).

So where should i download the proper OpenCV libraries from to solve the problem cause I have tried different OpenCV versions but it does not work . I would like to know the proper path from where I should download for Visual Studio 2008

On windows, I think you should download the OpenCV source and CMake to re-build the OpenCV library with ENABLE_OPENGL=ON flag. The pre-compiled version you have downloaded usually does not support OpenGL. I believe Chapter 3 has the instructions on how to build OpenCV with OpenGL support.

Is there a particular version of OpenCV that i should download and install or is any version fine

1

Hi I reconfigure Opencv 2.4.4. I followed the instruction as told in http://docs.opencv.org/2.4.4/doc/tutorials/introduction/windows_install/windows_install.html#installation-by-making-your-own-libraries-from-the-source-files

I was successfully able to execute the contours program. I was able to check if I have the opengl support library
But I am not able to include the same Opengl library in another project. I am not sure how to set the opengl library for another project using Cmake. I end up having the same error. I tried to configure using cmake but am not sure of the path.
I have set the environment variable as
OpenCV_DIR : E:\opencv\build\x86\vc9
Path : E:\opencv\build\x86\vc9;E:\opencv\dep\tbb42_20131118oss\bin\ia32\vc9
QTDIR : E:\opencv\dep\qt\qt-everywhere-opensource-src-4.8.5;E:\opencv\dep\qt\qt-everywhere-opensource-src-4.8.5\bin

2

I have installed opencv in E:\opencv . Can I get a stepwise instruction on how to configure opengl for the markerless ar demo

When i configured the same path I get an error .
Please tell me what to do ?? How to set the opengl library

Thankyou i configured Opencv properly am now using in the code

Thank a lot my code for Markerless AR has finally started to work

how to solve the problem no opengl support(library was built without opengl support)

Unfortunately, OpenGL support is not supported on MAC. As far as I know,
OpenCV dev. team does not have plans to implement OpenGL support for this
platform.

how to solve the problem no opengl support(library was built without
opengl support)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAgfYLLvrYtvjorBnmlTstPkiFJhtVKwks5qQ3g6gaJpZM4BflL-
.

I also met this problem.
Finally I found that it is because I added another opencv to the Path environment.
how can you know this. if you use MSVC, you can check the Output TAB of the MSVC IDE.
in the Output TAB you can see the loading module as show in the below.
Hope this can help the guys who met the same problem.

///////////////////////////////////////
‘markerless_ar_demo.exe’ (Win32): Loaded ‘E:\00_SfM\Mastering_OpenCV_Code\Chapter3_MarkerlessAR\build\src\Debug\markerless_ar_demo.exe’. Symbols loaded.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\ntdll.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\kernel32.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\KernelBase.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\opengl32.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcrt.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\advapi32.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\sechost.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\rpcrt4.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\gdi32.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\gdi32full.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\user32.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\win32u.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\ddraw.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\dciman32.dll’. Cannot find or open the PDB file.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘E:\00_SfM\Mastering_OpenCV_Code\Chapter3_MarkerlessAR\build\src\Debug\opencv_calib3d2413d.dll’. Symbols loaded.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘E:\00_SfM\Mastering_OpenCV_Code\Chapter3_MarkerlessAR\build\src\Debug\opencv_highgui2413d.dll’. Symbols loaded.
‘markerless_ar_demo.exe’ (Win32): Loaded ‘C:\Windows\System32\ole32.dll’. Cannot find or open the PDB file.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCV(4.2.0) /io/opencv/modules/highgui/src/window.cpp:634: error: (-2:Unspecified error) The function is not implemented #17181

OpenCV(4.2.0) /io/opencv/modules/highgui/src/window.cpp:634: error: (-2:Unspecified error) The function is not implemented #17181

invalid question (invalid tracker) ask questions and other «no action» items here: https://forum.opencv.org

Comments

System information (version)
Detailed description

I am getting an error while running this code:

img = cv2.imread("Screenshot.png") cv2.imshow(" ", img) 

Error: OpenCV(4.2.0) /io/opencv/modules/highgui/src/window.cpp:634: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa 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’

Installation process was:

pip install opencv-python-headless

Issue submission checklist
  • I checked the problem with documentation, FAQ, open issues,answers.opencv.org, Stack Overflow, etc and have not found solution

The text was updated successfully, but these errors were encountered:

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCV(4.2.0) /io/opencv/modules/highgui/src/window.cpp:634: error: (-2:Unspecified error) The function is not implemented #323

OpenCV(4.2.0) /io/opencv/modules/highgui/src/window.cpp:634: error: (-2:Unspecified error) The function is not implemented #323

Comments

System information (version)

OpenCV => 4.2.0 Operating System / Platform => Windows 10 Compiler => Juypter Hub 

I am getting an error while running this code:

img = cv2.imread("Screenshot.png") cv2.imshow(" ", img) 

Error: OpenCV(4.2.0) /io/opencv/modules/highgui/src/window.cpp:634: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa 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’

Installation process was:
pip install opencv-python-headless

By going through this issue it seems that I cannot use cv2.imshow() on a remotely hosted jupyter. Is there any workaround except for switching compiler?

The text was updated successfully, but these errors were encountered:

Источник

Оцените статью