Skip to content

Build fails with errors #9

Description

@omerts

Hello,

Trying to build this project on Ubuntu 22.04, and it fails with the following errors:

/home/amram/development/nakai/packages/nakai-onboard/src/isaac_ros_nitros/isaac_ros_nitros/gxf/include/gxf/std/parameter_storage.hpp:1:1: note: ‘std::unique_lock’ is defined in header ‘<mutex>’; did you forget to ‘#include <mutex>’?
  +++ |+#include <mutex>
    1 | /*
/home/amram/development/nakai/packages/nakai-onboard/src/isaac_ros_nitros/isaac_ros_nitros/gxf/include/gxf/std/parameter_storage.hpp:50:45: error: expected primary-expression before ‘>’ token
   50 |     std::unique_lock<std::shared_timed_mutex> lock(mutex_);
      |                                             ^
/home/amram/development/nakai/packages/nakai-onboard/src/isaac_ros_nitros/isaac_ros_nitros/gxf/include/gxf/std/parameter_storage.hpp:50:47: error: there are no arguments to ‘lock’ that depend on a template parameter, so a declaration of ‘lock’ must be available [-fpermissive]
   50 |     std::unique_lock<std::shared_timed_mutex> lock(mutex_);`

...

/home/amram/development/nakai/packages/nakai-onboard/src/isaac_ros_nitros/isaac_ros_nitros/gxf/include/gxf/std/parameter_storage.hpp:92:10: error: ‘unique_lock’ is not a member of ‘std’
   92 |     std::unique_lock<std::shared_timed_mutex> lock(mutex_);
      |          ^~~~~~~~~~~
/home/amram/development/nakai/packages/nakai-onboard/src/isaac_ros_nitros/isaac_ros_nitros/gxf/include/gxf/std/parameter_storage.hpp:92:10: note: ‘std::unique_lock’ is defined in header ‘<mutex>’; did you forget to ‘#include <mutex>’?

Activity

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

Metadata

Metadata

Labels

verify to closeWaiting on confirm issue is resolved

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions