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

Boost error when building Gazebo #105

Open
vladh opened this issue Dec 3, 2024 · 0 comments
Open

Boost error when building Gazebo #105

vladh opened this issue Dec 3, 2024 · 0 comments

Comments

@vladh
Copy link

vladh commented Dec 3, 2024

When building Gazebo, I'm running into the following Boost error:

In file included from /home/vladh/.cache/yay/gazebo/src/gazebo-classic-gazebo11_11.14.0/gazebo/common/BVHLoader.cc:27:
/home/vladh/.cache/yay/gazebo/src/gazebo-classic-gazebo11_11.14.0/gazebo/common/CommonIface.hh: In function ‘std::string gazebo::common::get_sha1(const T&)’:
/home/vladh/.cache/yay/gazebo/src/gazebo-classic-gazebo11_11.14.0/gazebo/common/CommonIface.hh:244:21: error: cannot convert ‘unsigned int [5]’ to ‘unsigned char (&)[20]’
  244 |     sha1.get_digest(hash);
      |                     ^~~~
      |                     |
      |                     unsigned int [5]
In file included from /home/vladh/.cache/yay/gazebo/src/gazebo-classic-gazebo11_11.14.0/gazebo/common/CommonIface.hh:27:
/usr/include/boost/uuid/detail/sha1.hpp:179:43: note:   initializing argument 1 of ‘void boost::uuids::detail::sha1::get_digest(unsigned char (&)[20])’
  179 | inline void sha1::get_digest(digest_type& digest)
      |                              ~~~~~~~~~~~~~^~~~~~
make[2]: *** [gazebo/common/CMakeFiles/gazebo_common.dir/build.make:149: gazebo/common/CMakeFiles/gazebo_common.dir/BVHLoader.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4388: gazebo/common/CMakeFiles/gazebo_common.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: gazebo-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
gazebo - exit status 4

Downgrading boost and boost-libs to 1.74.0 fixes the problem.

It may have fixed the problem but I was getting libicu conflicts because of it so I gave up.

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