Skip to content

Failure to compile with CESIUM_GLM_STRICT_ENABLED=OFF #1211

@arkel-77

Description

@arkel-77

When configured with -DCESIUM_GLM_STRICT_ENABLED=OFF, cesium-native fails to compile. It looks like either GLM_FORCE_XYZW_ONLY or GLM_FORCE_EXPLICIT_CTOR are required for the constexpr implementations of certain functions in cesium-native.

Change Dir: '/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/x64-linux-dynamic-dbg'

Run Build Command(s): /home/arkel/.local/share/adept/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja -v -v -j29 install

(the log is really long so I skip some lines here)

[41/240] /usr/bin/ccache /usr/bin/c++ -DCESIUMGEOMETRY_BUILDING -DCESIUM_SHARED=ON -DCesiumGeometry_EXPORTS -DFMT_SHARED -DGLM_ENABLE_EXPERIMENTAL -DGLM_FORCE_INTRINSICS -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include -I/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumUtility/include -isystem /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include -fPIC -g -std=c++20 -fPIC -Werror -Wall -Wextra -Wconversion -Wpedantic -Wshadow -Wsign-conversion -Wno-unknown-pragmas -fPIC -MD -MT CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/OctreeTilingScheme.cpp.o -MF CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/OctreeTilingScheme.cpp.o.d -o CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/OctreeTilingScheme.cpp.o -c /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/OctreeTilingScheme.cpp
FAILED: CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/OctreeTilingScheme.cpp.o 
/usr/bin/ccache /usr/bin/c++ -DCESIUMGEOMETRY_BUILDING -DCESIUM_SHARED=ON -DCesiumGeometry_EXPORTS -DFMT_SHARED -DGLM_ENABLE_EXPERIMENTAL -DGLM_FORCE_INTRINSICS -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include -I/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumUtility/include -isystem /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include -fPIC -g -std=c++20 -fPIC -Werror -Wall -Wextra -Wconversion -Wpedantic -Wshadow -Wsign-conversion -Wno-unknown-pragmas -fPIC -MD -MT CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/OctreeTilingScheme.cpp.o -MF CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/OctreeTilingScheme.cpp.o.d -o CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/OctreeTilingScheme.cpp.o -c /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/OctreeTilingScheme.cpp
In file included from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/OctreeTilingScheme.cpp:1:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/AxisAlignedBox.h: In constructor ‘constexpr CesiumGeometry::AxisAlignedBox::AxisAlignedBox()’:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/AxisAlignedBox.h:31:9: error: call to non-‘constexpr’ function ‘glm::vec<3, T, Q>::vec(T) [with T = double; glm::qualifier Q = glm::packed_highp]’
   31 |         center(0.0) {}
      |         ^~~~~~~~~~~
In file included from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec3.hpp:435,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/ext/vector_double3.hpp:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/AxisAlignedBox.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/OctreeTilingScheme.cpp:1:
/home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec3.inl:34:42: note: ‘glm::vec<3, T, Q>::vec(T) [with T = double; glm::qualifier Q = glm::packed_highp]’ declared here
   34 |         GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<3, T, Q>::vec(T scalar)
      |                                          ^~~~~~~~~~~~
In file included from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/OctreeTilingScheme.cpp:1:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/AxisAlignedBox.h: In constructor ‘constexpr CesiumGeometry::AxisAlignedBox::AxisAlignedBox(double, double, double, double, double, double)’:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/AxisAlignedBox.h:59:9: error: call to non-‘constexpr’ function ‘glm::vec<3, T, Q>::vec(T, T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’
   59 |         center(
      |         ^~~~~~~
   60 |             0.5 * (maximumX + minimumX),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   61 |             0.5 * (maximumY + minimumY),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   62 |             0.5 * (maximumZ + minimumZ)) {}
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec3.hpp:435,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/ext/vector_double3.hpp:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/AxisAlignedBox.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/OctreeTilingScheme.cpp:1:
/home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec3.inl:39:42: note: ‘glm::vec<3, T, Q>::vec(T, T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’ declared here
   39 |         GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<3, T, Q>::vec(T _x, T _y, T _z)
      |                                          ^~~~~~~~~~~~
[42/240] /usr/bin/ccache /usr/bin/c++ -DCESIUMGEOMETRY_BUILDING -DCESIUM_SHARED=ON -DCesiumGeometry_EXPORTS -DFMT_SHARED -DGLM_ENABLE_EXPERIMENTAL -DGLM_FORCE_INTRINSICS -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include -I/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumUtility/include -isystem /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include -fPIC -g -std=c++20 -fPIC -Werror -Wall -Wextra -Wconversion -Wpedantic -Wshadow -Wsign-conversion -Wno-unknown-pragmas -fPIC -MD -MT CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTilingScheme.cpp.o -MF CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTilingScheme.cpp.o.d -o CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTilingScheme.cpp.o -c /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTilingScheme.cpp
FAILED: CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTilingScheme.cpp.o 
/usr/bin/ccache /usr/bin/c++ -DCESIUMGEOMETRY_BUILDING -DCESIUM_SHARED=ON -DCesiumGeometry_EXPORTS -DFMT_SHARED -DGLM_ENABLE_EXPERIMENTAL -DGLM_FORCE_INTRINSICS -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include -I/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumUtility/include -isystem /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include -fPIC -g -std=c++20 -fPIC -Werror -Wall -Wextra -Wconversion -Wpedantic -Wshadow -Wsign-conversion -Wno-unknown-pragmas -fPIC -MD -MT CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTilingScheme.cpp.o -MF CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTilingScheme.cpp.o.d -o CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTilingScheme.cpp.o -c /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTilingScheme.cpp
In file included from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTilingScheme.cpp:2:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h: In member function ‘constexpr glm::dvec2 CesiumGeometry::Rectangle::getLowerLeft() const’:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:119:3: error: call to non-‘constexpr’ function ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’
  119 |   }
      |   ^
In file included from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.hpp:401,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/ext/vector_bool2.hpp:5,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/vec2.hpp:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTilingScheme.cpp:2:
/home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.inl:39:42: note: ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’ declared here
   39 |         GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<2, T, Q>::vec(T _x, T _y)
      |                                          ^~~~~~~~~~~~
In file included from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTilingScheme.cpp:2:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h: In member function ‘constexpr glm::dvec2 CesiumGeometry::Rectangle::getLowerRight() const’:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:130:3: error: call to non-‘constexpr’ function ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’
  130 |   }
      |   ^
In file included from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.hpp:401,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/ext/vector_bool2.hpp:5,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/vec2.hpp:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTilingScheme.cpp:2:
/home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.inl:39:42: note: ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’ declared here
   39 |         GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<2, T, Q>::vec(T _x, T _y)
      |                                          ^~~~~~~~~~~~
In file included from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTilingScheme.cpp:2:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h: In member function ‘constexpr glm::dvec2 CesiumGeometry::Rectangle::getUpperLeft() const’:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:141:3: error: call to non-‘constexpr’ function ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’
  141 |   }
      |   ^
In file included from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.hpp:401,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/ext/vector_bool2.hpp:5,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/vec2.hpp:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTilingScheme.cpp:2:
/home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.inl:39:42: note: ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’ declared here
   39 |         GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<2, T, Q>::vec(T _x, T _y)
      |                                          ^~~~~~~~~~~~
In file included from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTilingScheme.cpp:2:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h: In member function ‘constexpr glm::dvec2 CesiumGeometry::Rectangle::getUpperRight() const’:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:152:3: error: call to non-‘constexpr’ function ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’
  152 |   }
      |   ^
In file included from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.hpp:401,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/ext/vector_bool2.hpp:5,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/vec2.hpp:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTilingScheme.cpp:2:
/home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.inl:39:42: note: ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’ declared here
   39 |         GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<2, T, Q>::vec(T _x, T _y)
      |                                          ^~~~~~~~~~~~
In file included from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTilingScheme.cpp:2:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h: In member function ‘constexpr glm::dvec2 CesiumGeometry::Rectangle::getCenter() const’:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:163:3: error: call to non-‘constexpr’ function ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’
  163 |   }
      |   ^
In file included from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.hpp:401,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/ext/vector_bool2.hpp:5,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/vec2.hpp:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTilingScheme.cpp:2:
/home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.inl:39:42: note: ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’ declared here
   39 |         GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<2, T, Q>::vec(T _x, T _y)
      |                                          ^~~~~~~~~~~~
[43/240] /usr/bin/ccache /usr/bin/c++ -DCESIUMGEOMETRY_BUILDING -DCESIUM_SHARED=ON -DCesiumGeometry_EXPORTS -DFMT_SHARED -DGLM_ENABLE_EXPERIMENTAL -DGLM_FORCE_INTRINSICS -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include -I/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumUtility/include -isystem /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include -fPIC -g -std=c++20 -fPIC -Werror -Wall -Wextra -Wconversion -Wpedantic -Wshadow -Wsign-conversion -Wno-unknown-pragmas -fPIC -MD -MT CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTileID.cpp.o -MF CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTileID.cpp.o.d -o CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTileID.cpp.o -c /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTileID.cpp
FAILED: CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTileID.cpp.o 
/usr/bin/ccache /usr/bin/c++ -DCESIUMGEOMETRY_BUILDING -DCESIUM_SHARED=ON -DCesiumGeometry_EXPORTS -DFMT_SHARED -DGLM_ENABLE_EXPERIMENTAL -DGLM_FORCE_INTRINSICS -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include -I/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumUtility/include -isystem /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include -fPIC -g -std=c++20 -fPIC -Werror -Wall -Wextra -Wconversion -Wpedantic -Wshadow -Wsign-conversion -Wno-unknown-pragmas -fPIC -MD -MT CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTileID.cpp.o -MF CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTileID.cpp.o.d -o CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/QuadtreeTileID.cpp.o -c /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTileID.cpp
In file included from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTileID.cpp:2:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h: In member function ‘constexpr glm::dvec2 CesiumGeometry::Rectangle::getLowerLeft() const’:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:119:3: error: call to non-‘constexpr’ function ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’
  119 |   }
      |   ^
In file included from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.hpp:401,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/ext/vector_bool2.hpp:5,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/vec2.hpp:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTileID.cpp:2:
/home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.inl:39:42: note: ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’ declared here
   39 |         GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<2, T, Q>::vec(T _x, T _y)
      |                                          ^~~~~~~~~~~~
In file included from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTileID.cpp:2:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h: In member function ‘constexpr glm::dvec2 CesiumGeometry::Rectangle::getLowerRight() const’:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:130:3: error: call to non-‘constexpr’ function ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’
  130 |   }
      |   ^
In file included from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.hpp:401,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/ext/vector_bool2.hpp:5,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/vec2.hpp:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTileID.cpp:2:
/home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.inl:39:42: note: ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’ declared here
   39 |         GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<2, T, Q>::vec(T _x, T _y)
      |                                          ^~~~~~~~~~~~
In file included from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTileID.cpp:2:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h: In member function ‘constexpr glm::dvec2 CesiumGeometry::Rectangle::getUpperLeft() const’:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:141:3: error: call to non-‘constexpr’ function ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’
  141 |   }
      |   ^
In file included from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.hpp:401,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/ext/vector_bool2.hpp:5,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/vec2.hpp:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTileID.cpp:2:
/home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.inl:39:42: note: ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’ declared here
   39 |         GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<2, T, Q>::vec(T _x, T _y)
      |                                          ^~~~~~~~~~~~
In file included from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTileID.cpp:2:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h: In member function ‘constexpr glm::dvec2 CesiumGeometry::Rectangle::getUpperRight() const’:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:152:3: error: call to non-‘constexpr’ function ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’
  152 |   }
      |   ^
In file included from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.hpp:401,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/ext/vector_bool2.hpp:5,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/vec2.hpp:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTileID.cpp:2:
/home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.inl:39:42: note: ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’ declared here
   39 |         GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<2, T, Q>::vec(T _x, T _y)
      |                                          ^~~~~~~~~~~~
In file included from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTileID.cpp:2:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h: In member function ‘constexpr glm::dvec2 CesiumGeometry::Rectangle::getCenter() const’:
/home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:163:3: error: call to non-‘constexpr’ function ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’
  163 |   }
      |   ^
In file included from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.hpp:401,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/ext/vector_bool2.hpp:5,
                 from /home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/vec2.hpp:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/Rectangle.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/include/CesiumGeometry/QuadtreeTilingScheme.h:5,
                 from /home/arkel/.local/share/adept/vcpkg/buildtrees/cesium-native/src/v0.49.0-f900b70f28.clean/CesiumGeometry/src/QuadtreeTileID.cpp:2:
/home/arkel/adept/build/vcpkg_installed/x64-linux-dynamic/include/glm/detail/type_vec2.inl:39:42: note: ‘glm::vec<2, T, Q>::vec(T, T) [with T = double; glm::qualifier Q = glm::packed_highp]’ declared here
   39 |         GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<2, T, Q>::vec(T _x, T _y)
      |                                          ^~~~~~~~~~~~

... and so on

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