Closed kevinkeryk closed 2 years ago
I came across this post here which seems to indicate that Gazebo developer packages need to be installed for this part of the build to succeed: https://discuss.px4.io/t/error-attempting-to-build-gazebo-on-ubuntu-20-10/20440/2
So I tried installing libgazebo9-dev
with sudo apt install libgazebo9-dev
as suggested in the post.
However, this gets me to a point in colcon build where there is an unbelievable amount of errors in some of the header files linked to by the gazebo_plugins package.
Did some further research and found that there is now a libgazebo11-dev
which is available and can be installed with sudo apt install libgazebo11-dev
so I uninstalled the libgazebo9-dev
package with sudo apt remove libgazebo9-dev
and installed libgazebo11-dev
instead.
This appears to now allow colcon to finish building all 91 packages including gazebo_plugins (with some warnings, but no errors).
Can we add libgazebo11-dev
to the dependencies list in the instructions? Or are there separate steps that should be followed instead for installing Gazebo and its plugins?
Is this while cross-compiling? Or while building it for the workstation? The latter should work.
These packages shouldn’t be cross-compiled, note the instructions in the example:
colcon build --build-base=build-kv260 --install-base=install-kv260 --merge-install --mixin kv260 --cmake-args -DNOKERNELS=true --packages-up-to perception_2nodes image_pipeline_examples
El El jue, 10 mar 2022 a las 22:32, Kevin Keryk @.***> escribió:
I came across this post here which seems to indicate that Gazebo developer packages need to be installed for this part of the build to succeed:
https://discuss.px4.io/t/error-attempting-to-build-gazebo-on-ubuntu-20-10/20440/2
So I tried installing libgazebo9-dev with sudo apt install libgazebo9-devas suggested in the post.
However, this gets me to a point in colcon build where there is an unbelievable amount of errors in some of the header files linked to by the gazebo_plugins package.
Did some further research and found that there is now a libgazebo11-dev which is available and can be installed with sudo apt install libgazebo11-dev so I uninstalled the libgazebo9-dev package with sudo apt remove libgazebo9-dev and installed libgazebo11-dev instead.
This appears to now allow colcon to finish building all 91 packages including gazebo_plugins (with some warnings, but no errors).
Can we add libgazebo11-dev to the dependencies list in the instructions? Or are there separate steps that should be followed instead for installing Gazebo and its plugins?
— Reply to this email directly, view it on GitHub https://github.com/Xilinx/KRS/issues/45#issuecomment-1064523497, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKPYDSZXEVSPRHZPKOWJULU7JS5RANCNFSM5QN2FR3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
I believe that I am building for the workstation since I am just finishing these instructions here and got stuck on the above issue: https://github.com/Xilinx/KRS/blob/main/sphinx/source/docs/install.md
I am just now moving on to Example 0: https://xilinx.github.io/KRS/sphinx/build/html/docs/examples/0_ros2_publisher.html
@kevinkeryk have you progressed in here? Have a look at https://gitlab.com/xilinxrobotics/docs/-/issues/57#note_876401297 wherein I reviewed it again for the sake of supporting you. I experienced a minor strugle with some updates in the Rolling packages but addressed it (and explain there how to do so). This is nevertheless a very different problem than the one you're experiencing.
If you don't have access to Gitlab's repo, send me your Gitlab username and I'll enable you.
Yes, I was able to move past this issue by installing the libgazebo11-dev
dependency. Not sure if it is adding headers or what but it seems to be satisfying that CMake package configuration for gazebo. If there is a better way to install gazebo that we should be following, please let me know.
Installed ROS 2 packages under Ubuntu 20.04 along with Vitis 2021.2 tools installed following these instructions: http://docs.ros.org/en/rolling/Installation/Ubuntu-Install-Debians.html
Talker and listener examples are working but now when I follow the main install directions for KRS: https://github.com/Xilinx/KRS/blob/main/sphinx/source/docs/install.md
I am running into the following CMake Error during the
colcon build --merge-install
step:Anyone else seeing this issue?