Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
This repository was archived by the owner on May 31, 2025. It is now read-only.

Roscpp won't compile on Arch Linux because it expects Boost 1.61 or above and fails to recgonize my Boost 1.72.0 version. #1880

@djohn49

Description

@djohn49

I am currently trying to build Ros on Arch Linux through yay/aur as documented here. When yay gets to roscpp, however, the build fails with the following error (happens about a half hour after starting the command to install the full desktop package set):

-- Found Boost: /usr/lib64/cmake/Boost-1.72.0/BoostConfig.cmake (found version "1.72.0") found components: chrono filesystem system 
CMake Error at CMakeLists.txt:30 (message):
  roscpp requires Boost 1.61 or above.


-- Configuring incomplete, errors occurred!
See also "/home/david/.cache/yay/ros-melodic-roscpp-git/src/build/CMakeFiles/CMakeOutput.log".
See also "/home/david/.cache/yay/ros-melodic-roscpp-git/src/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...
error: target not found: ros-melodic-roslint
error: target not found: ros-melodic-urdf-parser-plugin
error: target not found: ignition-cmake
error: target not found: ignition-tools

It looks like whatever version check is being used can't work correctly with Boost 1.72.0 for some reason.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions