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

ros2_overlay_ws colcon build --symlink-install error #155

Open
arun0303 opened this issue Nov 14, 2019 · 11 comments
Open

ros2_overlay_ws colcon build --symlink-install error #155

arun0303 opened this issue Nov 14, 2019 · 11 comments

Comments

@arun0303
Copy link

arun0303 commented Nov 14, 2019

During step 4. Building and Installation
-->Install ROS2_OpenVINO packages
-->Build package
cd ~/ros2_overlay_ws
colcon build --symlink-install

[Processing: cv_bridge, message_filters, object_msgs, realsense_msgs]
--- stderr: cv_bridge
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libboost_python3.so', needed by 'src/libcv_bridge.so'. Stop.
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/cv_bridge.dir/all] Error 2
make: *** [all] Error 2

Failed <<< cv_bridge [ Exited with code 2 ]
Aborted <<< realsense_msgs
Aborted <<< message_filters
Aborted <<< object_msgs

Summary: 0 packages finished [2min 4s]
1 package failed: cv_bridge
3 packages aborted: message_filters object_msgs realsense_msgs
1 package had stderr output: cv_bridge
15 packages not processed

@portgasray
Copy link
Contributor

During step 4. Building and Installation
-->Install ROS2_OpenVINO packages
-->Build package
cd ~/ros2_overlay_ws
colcon build --symlink-install

[Processing: cv_bridge, message_filters, object_msgs, realsense_msgs]

--- stderr: cv_bridge
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libboost_python3.so', needed by 'src/libcv_bridge.so'. Stop.
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/cv_bridge.dir/all] Error 2
make: *** [all] Error 2
Failed <<< cv_bridge [ Exited with code 2 ]
Aborted <<< realsense_msgs
Aborted <<< message_filters
Aborted <<< object_msgs

Summary: 0 packages finished [2min 4s]
1 package failed: cv_bridge
3 packages aborted: message_filters object_msgs realsense_msgs
1 package had stderr output: cv_bridge
15 packages not processed

u should go to the repo ros2_intel_realsense, and see the README, to install the dependencies, such as

sudo apt-get install ros-dashing-cv-bridge ros-dashing-librealsense2 ros-dashing-message-filters ros-dashing-image-transport

Check that! Good Luck!

@arun0303
Copy link
Author

During step 4. Building and Installation
-->Install ROS2_OpenVINO packages
-->Build package
cd ~/ros2_overlay_ws
colcon build --symlink-install

[Processing: cv_bridge, message_filters, object_msgs, realsense_msgs]

--- stderr: cv_bridge
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libboost_python3.so', needed by 'src/libcv_bridge.so'. Stop.
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/cv_bridge.dir/all] Error 2
make: *** [all] Error 2
Failed <<< cv_bridge [ Exited with code 2 ]
Aborted <<< realsense_msgs
Aborted <<< message_filters
Aborted <<< object_msgs
Summary: 0 packages finished [2min 4s]
1 package failed: cv_bridge
3 packages aborted: message_filters object_msgs realsense_msgs
1 package had stderr output: cv_bridge
15 packages not processed

u should go to the repo ros2_intel_realsense, and see the README, to install the dependencies, such as

sudo apt-get install ros-dashing-cv-bridge ros-dashing-librealsense2 ros-dashing-message-filters ros-dashing-image-transport

Check that! Good Luck!

Yeah those dependencies were installed previously and tried again also but no effect. pls see the screenshot.
Screenshot from 2019-11-25 11-32-03

@portgasray
Copy link
Contributor

portgasray commented Nov 27, 2019

sudo apt remove ros-dashing-librealsense2, give it a shot! (I am not sure if this will work!)

then I will use rm install log build -rf and colcon build --symlink-install to reproduce the error under ros2 workspace.

@arun0303
Copy link
Author

arun0303 commented Nov 28, 2019

sudo apt remove ros-dashing-librealsense2, give it a shot! (I am not sure if this will work!)

then I will use rm install log build -rf and colcon build --symlink-install to reproduce the error under ros2 workspace.

It did not worked.

@portgasray
Copy link
Contributor

sudo apt remove ros-dashing-librealsense2, give it a shot! (I am not sure if this will work!)
then I will use rm install log build -rf and colcon build --symlink-install to reproduce the error under ros2 workspace.

It did not worked.

since your error caused by boost, check whether installed correctly!

@arun0303
Copy link
Author

arun0303 commented Dec 2, 2019

sudo apt remove ros-dashing-librealsense2, give it a shot! (I am not sure if this will work!)
then I will use rm install log build -rf and colcon build --symlink-install to reproduce the error under ros2 workspace.

It did not worked.

since your error caused by boost, check whether installed correctly!
I had verified boost is installed properly. pls find the screenshot
Screenshot from 2019-12-02 15-29-53

@portgasray
Copy link
Contributor

portgasray commented Dec 3, 2019

see the error information: needed by 'src/libcv_bridge.so'. Stop.
there is no libcv_bridge.so in my ros2_overlay_ws/src , so if you can show me where the libcv_bridge.so file
libcv

@arun0303
Copy link
Author

arun0303 commented Dec 3, 2019

libcv_bridge.so file is not available in my ros2_overlay_ws/src directory and its available inside /opt/ros/dashing/lib directory.

@portgasray
Copy link
Contributor

libcv_bridge.so file is not available in my ros2_overlay_ws/src directory and its available inside /opt/ros/dashing/lib directory.

more information about the ros2_overlay_ws/src/vision_opencv:

  • git branch

@portgasray
Copy link
Contributor

yeah, you should check the CMakeLists under cv_bridge, you'll find the valid information:

      # This is a bit of a hack to suppress a warning
      #   No header defined for python3; skipping header check
      # Which should only affect Boost versions < 1.67
      # Resolution for newer versions:
      #  https://gitlab.kitware.com/cmake/cmake/issues/16391

the sub-links in the issuse are very useful, especially the last one,
_20191203135920

you should view it carefully and according to my experience, try the following:
update line30 in ros2_overlay_ws/src/vision_opencv/cv_bridge
image

@hariharan382
Copy link

please anyone help me to solve the error
error while running"colcon build --symlink-install"

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

3 participants