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.Dismiss alert
I would like to compile a software that uses opencv with the V4L2 module, but currently facing a compile error:
src/camera/new_camera.cpp: In function 't_bunny_camera* bunny_new_camera(int)':
src/camera/new_camera.cpp:18:42: error: 'CAP_V4L2' is not a member of 'cv'
18 | cam = new cv::VideoCapture(id, cv::CAP_V4L2);
|
Additional context
I didn't find any override option to enable it, but on stack overflow, I found a post about it which suggest to add the following cmake flags:
Issue description
I would like to compile a software that uses
opencv
with the V4L2 module, but currently facing a compile error:Additional context
I didn't find any override option to enable it, but on stack overflow, I found a post about it which suggest to add the following cmake flags:
However I couldn't get it to work.
Notify maintainers
@basvandijk
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: