cmauri / eviacam

webcam based mouse emulator
GNU General Public License v3.0
146 stars 39 forks source link

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

Open pfspace opened 3 years ago

pfspace commented 3 years ago

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