Skip to content

Problems with client.hpp "wait_for_service" function using Clang #624

Closed

Description

Bug report

rclcpp won't compile using a 64-bit architecture on Clang++
Required Info:

  • Operating System:
    • OSX Mojave
  • Installation type:
    • Source
  • Version or commit hash:
    • 0.5.1, but looks to be present in newer versions
  • DDS implementation:
    Fast-RTPS
  • Client library (if applicable):
    • rclcpp

Steps to reproduce issue

Attempt to compile rclcpp using 64-bit clang

Expected behavior

Compiles

Actual behavior

Error thrown, type error between long and long long when parameter_client.cpp calls client->wait_for_service()

Additional information

https://stackoverflow.com/questions/36302993/clangs-libc-using-long-long-in-the-definition-of-stdchronoduration

Looks to be a clang specific issue with regards to how it implements std::chrono

Activity

  1. clalancette commented on Jan 30, 2019

    @clalancette
    Contributor

    We're currently only supporting Sierra with ROS 2: https://index.ros.org/doc/ros2/Installation/OSX-Install-Binary/ .

    The main reason is that we ran into a lot of performance issues on High Sierra, and there is a bunch of work to do to make ROS 2 work on Mojave. That being said, t's fairly low priority for us to move to Mojave, so if you are interested in getting ROS 2 to work on Mojave, pull requests would be happily reviewed.

  2. added
    bug
    on Jan 30, 2019
  3. added
    help wanted
    on Feb 7, 2019
  4. wjwwood commented on Mar 23, 2020

    @wjwwood
    Member

    Closing since we've upgraded to new macOS since then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogbughelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions