Skip to content
New issue

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

Unable to run tutorial code #22

Closed
joaocandre opened this issue Nov 17, 2021 · 2 comments
Closed

Unable to run tutorial code #22

joaocandre opened this issue Nov 17, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@joaocandre
Copy link

joaocandre commented Nov 17, 2021

I'm getting an error when running the example code in the tutorial:

  terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.5.4) /build/opencv/src/opencv-4.5.4/modules/highgui/src/window_QT.cpp:208: error: (-27:Null pointer) NULL guiReceiver (please create a window) in function 'cvGetPropWindow_QT'

 Aborted (core dumped)

This seems to only happen when calling CvPlot::show(); it works with cv::imshow() and cv::waitKey(). I'm compiling header-only, and using OpenCV 4.5.4.

@wpalfi
Copy link
Collaborator

wpalfi commented Nov 17, 2021

Thanks @joaocandre, just commited a fix to the master, please try again. cb0c721

@wpalfi wpalfi added the bug Something isn't working label Nov 17, 2021
@joaocandre
Copy link
Author

Yes, it is fixed. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants