IntelRealSense / realsense_samples_ros

Sample code illustrating how to develop ROS applications using the Intel® RealSense™ ZR300 camera for Object Library (OR), Person Library (PT), and Simultaneous Localization And Mapping (SLAM).
Apache License 2.0
126 stars 93 forks source link

packages have unmet dependencies when install librealsense-slam-dev #28

Open zhuzunjie17 opened 6 years ago

zhuzunjie17 commented 6 years ago

system: Ubuntu 14.04.5

I follow the quick setup guide, when doing sudo apt install -y librealsense-object-recognition-dev librealsense-persontracking-dev librealsense-slam-dev libopencv-dev I get the mention:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libopencv-dev : Depends: libopencv-calib3d3.1 but it is not going to be installed
                 Depends: libopencv-highgui3.1 but it is not going to be installed
                 Depends: libopencv-imgcodecs3.1 but it is not going to be installed
                 Depends: libopencv-videoio-dev (= 3.1.0+dfsg-1~realsense4.18) but it is not going to be installed
                 Depends: libopencv-objdetect-dev (= 3.1.0+dfsg-1~realsense4.18) but it is not going to be installed
                 Depends: libopencv-highgui-dev (= 3.1.0+dfsg-1~realsense4.18) but it is not going to be installed
                 Depends: libopencv-calib3d-dev (= 3.1.0+dfsg-1~realsense4.18) but it is not going to be installed
                 Depends: libopencv-features2d-dev (= 3.1.0+dfsg-1~realsense4.18) but it is not going to be installed
                 Depends: libopencv-videostab-dev (= 3.1.0+dfsg-1~realsense4.18) but it is not going to be installed
                 Depends: libopencv-stitching-dev (= 3.1.0+dfsg-1~realsense4.18) but it is not going to be installed
                 Depends: libopencv-superres-dev (= 3.1.0+dfsg-1~realsense4.18) but it is not going to be installed
                 Depends: libopencv-imgcodecs-dev (= 3.1.0+dfsg-1~realsense4.18) but it is not going to be installed
                 Depends: libopencv-viz-dev (= 3.1.0+dfsg-1~realsense4.18) but it is not going to be installed
                 Depends: libopencv3.1-java (= 3.1.0+dfsg-1~realsense4.18) but it is not going to be installed
 librealsense-object-recognition-dev : Depends: librealsense-object-recognition0 (= 0.5.1.rc0-1~realsense4.79)
                                       Depends: librealsense-dev but it is not going to be installed
                                       Depends: librealsense-sdk-dev but it is not going to be installed
 librealsense-persontracking-dev : Depends: librealsense-persontracking0 (= 0.5.10-1~realsense4.114) but it is not going to be installed
                                   Depends: librealsense-sdk-dev but it is not going to be installed
 librealsense-slam-dev : Depends: librealsense-slam2 (= 2.0.4-0ubuntu1~34.gbpec17f0) but it is not going to be installed
                         Depends: librealsense-sdk-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

what i supposed to do? thanks in advance!