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

Couldn't compile on Linux (fixed?) / Camera support problem #35

Open
pfspace opened this issue Jun 7, 2021 · 0 comments
Open

Couldn't compile on Linux (fixed?) / Camera support problem #35

pfspace opened this issue Jun 7, 2021 · 0 comments

Comments

@pfspace
Copy link

pfspace commented Jun 7, 2021

Error while compiling "Invalid conversion from char** to void**"

I edited the file src/viacamcontroller.cpp and changed the line 233 from:
(char**)NULL, wxDEFAULT_DIALOG_STYLE | wxOK | wxCANCEL | wxCENTRE);
to:
(void**)NULL, wxDEFAULT_DIALOG_STYLE | wxOK | wxCANCEL | wxCENTRE);

Compilation worked flawlessly but when I run the app I get the message:

[libwebcam] Unknown V4L2 private control ID encountered: 0x08000000 (V4L2_CID_PRIVATE_BASE + 0) [libwebcam] Unknown V4L2 private control ID encountered: 0x08000001 (V4L2_CID_PRIVATE_BASE + 1) [libwebcam] Unknown V4L2 private control ID encountered: 0x08000002 (V4L2_CID_PRIVATE_BASE + 2) [libwebcam] Unknown V4L2 private control ID encountered: 0x08000003 (V4L2_CID_PRIVATE_BASE + 3) [ WARN:0] global /build/opencv/src/opencv-4.5.2/modules/videoio/src/videoio_c.cpp (15) cvCreateCameraCapture cvCreateCameraCapture doesn't support legacy API anymore.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant