Skip to content

Cannot build basic zt #284

Description

@msbroadf

Building libzt from source seems to be broken both with master and also with tag 1.8.10

Build box: Ubuntu 24.04.1 LTS (x86_64)
Commands:

git clone https://github.com/zerotier/libzt.git
cd libzt
git submodule update --init
./build.sh host "release"

...


libzt/ext/ZeroTierOne/ext/prometheus-cpp-lite-1.0/core/include/prometheus/family.h:309:24: error: ‘invalid_argument’ is not a member of ‘std’
  309 |             throw std::invalid_argument("Label name already present in constant labels");
      |                        ^~~~~~~~~~~~~~~~
libzt/ext/ZeroTierOne/ext/prometheus-cpp-lite-1.0/core/include/prometheus/family.h:309:24: note: ‘std::invalid_argument’ is defined in header ‘<stdexcept>’; did you forget to ‘#include <stdexcept>’?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions