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.

rosbag compilation error with Boost 1.50 on OSX #10

@hawesie

Description

@hawesie

This is from a fuerte install started today from fresh:

/Users/nah/ros-underlay/ros_comm/tools/rosbag/src/recorder.cpp:439:42: error: 
      no member named 'TIME_UTC' in namespace 'boost'; did you mean 'TIME_UTC_'?
            boost::xtime_get(&xt, boost::TIME_UTC);
                                  ~~~~~~~^~~~~~~~
                                         TIME_UTC_
/usr/local/include/boost/thread/xtime.hpp:23:5: note: 'TIME_UTC_' declared here
    TIME_UTC_=1
    ^
1 error generated.

Adding the _ appears to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions