Skip to content
This repository was archived by the owner on Dec 4, 2021. It is now read-only.
This repository was archived by the owner on Dec 4, 2021. It is now read-only.

"did you forget to ‘#include <memory>’" when building crazyswarm in Arch Linux #12

@schlagenhauf

Description

@schlagenhauf

Building crazyswarm in Arch Linux with bash build.sh produces

/home/pntagrl/repos/ext/crazyswarm/ros_ws/src/crazyswarm/externalDependencies/libmotioncapture/src/vrpn.cpp:11:1: note: ‘std::shared_ptr’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
   10 | #include <vrpn_Connection.h>
  +++ |+#include <memory>

Doing said include fixes the build.

gcc version: 11.1.0
cmake version: 3.22.0

This is basically the same as USC-ACTLab/libobjecttracker#2

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