Skip to content

build fail with error on Ubuntu20.04 #365

Open
@kusa-dowsing

Description

@kusa-dowsing

version: master

os: wsl2 ubuntu20.04

cmake option: cmake -DCMAKE_CXX_STANDARD=17 -DWITH_GFLAGS=ON -DBUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DCMAKE_INSTALL_LIBDIR=${INSTALL_DIR}/lib ..

error: call to non-‘constexpr’ function
/s2geometry/src/s2/s1chord_angle.h:311:43: error: call to non-‘constexpr’ function ‘T util::math::internal_vector::BasicVector<VecTemplate, T, N>::Norm2() const [with VecTemplate = Vector3; T = double; long unsigned int N = 3]’
/s2geometry/src/s2/s1chord_angle.h:311:43: error: call to non-‘constexpr’ function ‘T util::math::internal_vector::BasicVector<VecTemplate, T, N>::Norm2() const [with VecTemplate = Vector3; T = double; long unsigned int N = 3]’
s2geometry/src/s2/s1chord_angle.h:311:43: error: call to non-‘constexpr’ function ‘T util::math::internal_vector::BasicVector<VecTemplate, T, N>::Norm2() const [with VecTemplate = Vector3; T = double; long unsigned int N = 3]’

screenshot-20240523-161927

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