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

Build issue: uvc_mjpeg2rgb’ was not declared in this scope; did you mean ‘uvc_any2rgb #63

Open
bionade24 opened this issue Oct 14, 2019 · 0 comments

Comments

@bionade24
Copy link

Hello, I'm one of the ros melodic Arch maintainers and I currently face this issue:
catkin 0.7.19

/build/src/libuvc_ros-0.0.10/libuvc_camera/src/camera_driver.cpp: In member function ‘void libuvc_camera::CameraDriver::ImageCallback(uvc_frame_t*)’:
/build/src/libuvc_ros-0.0.10/libuvc_camera/src/camera_driver.cpp:203:28: error: ‘uvc_mjpeg2rgb’ was not declared in this scope; did you mean ‘uvc_any2rgb’?
  203 |     uvc_error_t conv_ret = uvc_mjpeg2rgb(frame, rgb_frame_);
      |                            ^~~~~~~~~~~~~
      |                            uvc_any2rgb
/build/src/libuvc_ros-0.0.10/libuvc_camera/src/camera_driver.cpp: In member function ‘void libuvc_camera::CameraDriver::ImageCallback(uvc_frame_t*)’:
/build/src/libuvc_ros-0.0.10/libuvc_camera/src/camera_driver.cpp:203:28: error: ‘uvc_mjpeg2rgb’ was not declared in this scope; did you mean ‘uvc_any2rgb’?
  203 |     uvc_error_t conv_ret = uvc_mjpeg2rgb(frame, rgb_frame_);
      |                            ^~~~~~~~~~~~~
      |                            uvc_any2rgb
make[2]: *** [CMakeFiles/camera_node.dir/build.make:76: CMakeFiles/camera_node.dir/src/camera_driver.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:156: CMakeFiles/camera_node.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/libuvc_camera_nodelet.dir/build.make:76: CMakeFiles/libuvc_camera_nodelet.dir/src/camera_driver.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:124: CMakeFiles/libuvc_camera_nodelet.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
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