When I run cmake -B build -S., it works, but when I run cmake --build, it fails
this is my system(in vmware):
this is error info(I removed some of the successful messages so as not to hit the maximum text length limit):
cmake --build build
~/UProjects/cesium-unity-samples/Packages/cesium-unity/native~$ cmake --build build
[ 2%] Building CXX object extern/cesium-native/CesiumGltf/CMakeFiles/CesiumGltf.dir/src/Model.cpp.o
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/matrix_double4x4.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/mat4x4.hpp:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGltf/include/CesiumGltf/Model.h:7,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGltf/src/Model.cpp:1:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.inl: In instantiation of ‘constexpr glm::mat<4, 4, T, Q> glm::operator*(const glm::mat<4, 4, T, Q>&, const glm::mat<4, 4, T, Q>&) [with T = double; glm::qualifier Q = glm::packed_highp]’:
/home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGltf/src/Model.cpp:457:51: required from here
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.hpp:13:9: note: ‘struct glm::mat<4, 4, double, glm::packed_highp>’ has no user-provided default constructor
13 | struct mat<4, 4, T, Q>
| ^~~~~~~~~~~~~~~
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.hpp:35:49: note: constructor is not user-provided because it is explicitly defaulted in the class body
35 | GLM_DEFAULTED_DEFAULT_CTOR_DECL GLM_CONSTEXPR mat() GLM_DEFAULT_CTOR;
| ^~~
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.hpp:6,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/matrix_double4x4.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/mat4x4.hpp:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGltf/include/CesiumGltf/Model.h:7,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGltf/src/Model.cpp:1:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_vec4.hpp:42:6: note: and the implicitly-defined constructor does not initialize ‘double glm::vec<4, double, glm::packed_highp>::x’
42 | T x, y, z, w;
| ^
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/matrix_double3x3.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/mat3x3.hpp:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeometry/include/CesiumGeometry/OrientedBoundingBox.h:8,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeometry/src/OrientedBoundingBox.cpp:1:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat3x3.inl: In instantiation of ‘constexpr glm::mat<3, 3, T, Q> glm::operator*(const glm::mat<3, 3, T, Q>&, const glm::mat<3, 3, T, Q>&) [with T = double; glm::qualifier Q = glm::packed_highp]’:
/home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeometry/src/OrientedBoundingBox.cpp:114:42: required from here
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat3x3.hpp:13:9: note: ‘struct glm::mat<3, 3, double, glm::packed_highp>’ has no user-provided default constructor
13 | struct mat<3, 3, T, Q>
| ^~~~~~~~~~~~~~~
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat3x3.hpp:35:49: note: constructor is not user-provided because it is explicitly defaulted in the class body
35 | GLM_DEFAULTED_DEFAULT_CTOR_DECL GLM_CONSTEXPR mat() GLM_DEFAULT_CTOR;
| ^~~
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/vector_bool3.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/vec3.hpp:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeometry/include/CesiumGeometry/AxisAlignedBox.h:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeometry/include/CesiumGeometry/OrientedBoundingBox.h:3,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeometry/src/OrientedBoundingBox.cpp:1:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_vec3.hpp:46:6: note: and the implicitly-defined constructor does not initialize ‘double glm::vec<3, double, glm::packed_highp>::x’
46 | T x, y, z;
| ^
[ 4%] Building CXX object extern/cesium-native/CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/Plane.cpp.o
[ 6%] Building CXX object extern/cesium-native/CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/Transforms.cpp.o
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/matrix_double3x3.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/mat3x3.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/matrix.hpp:25,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.inl:1,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.hpp:188,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/matrix_double4x4.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/mat4x4.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/gtc/matrix_transform.hpp:24,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeometry/src/Transforms.cpp:3:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat3x3.inl: In instantiation of ‘constexpr glm::mat<3, 3, T, Q> glm::operator*(const glm::mat<3, 3, T, Q>&, const glm::mat<3, 3, T, Q>&) [with T = double; glm::qualifier Q = glm::packed_highp]’:
/home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeometry/src/Transforms.cpp:76:67: required from here
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat3x3.hpp:13:9: note: ‘struct glm::mat<3, 3, double, glm::packed_highp>’ has no user-provided default constructor
13 | struct mat<3, 3, T, Q>
| ^~~~~~~~~~~~~~~
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat3x3.hpp:35:49: note: constructor is not user-provided because it is explicitly defaulted in the class body
35 | GLM_DEFAULTED_DEFAULT_CTOR_DECL GLM_CONSTEXPR mat() GLM_DEFAULT_CTOR;
| ^~~
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/vector_bool3.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/vec3.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/matrix.hpp:19,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.inl:1,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.hpp:188,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/matrix_double4x4.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/mat4x4.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/gtc/matrix_transform.hpp:24,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeometry/src/Transforms.cpp:3:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_vec3.hpp:46:6: note: and the implicitly-defined constructor does not initialize ‘double glm::vec<3, double, glm::packed_highp>::x’
46 | T x, y, z;
| ^
[ 6%] Building CXX object extern/cesium-native/CesiumGeometry/CMakeFiles/CesiumGeometry.dir/src/clipTriangleAtAxisAlignedThreshold.cpp.o
[ 8%] Building CXX object extern/cesium-native/CesiumGeospatial/CMakeFiles/CesiumGeospatial.dir/src/GlobeAnchor.cpp.o
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/matrix_double3x3.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/mat3x3.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/matrix.hpp:25,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.inl:1,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.hpp:188,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/matrix_double4x4.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/mat4x4.hpp:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/GlobeAnchor.h:7,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/src/GlobeAnchor.cpp:1:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat3x3.inl: In instantiation of ‘constexpr glm::mat<3, 3, T, Q> glm::operator*(const glm::mat<3, 3, T, Q>&, const glm::mat<3, 3, T, Q>&) [with T = double; glm::qualifier Q = glm::packed_highp]’:
/home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/src/GlobeAnchor.cpp:23:57: required from here
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat3x3.hpp:13:9: note: ‘struct glm::mat<3, 3, double, glm::packed_highp>’ has no user-provided default constructor
13 | struct mat<3, 3, T, Q>
| ^~~~~~~~~~~~~~~
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat3x3.hpp:35:49: note: constructor is not user-provided because it is explicitly defaulted in the class body
35 | GLM_DEFAULTED_DEFAULT_CTOR_DECL GLM_CONSTEXPR mat() GLM_DEFAULT_CTOR;
| ^~~
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/func_common.inl:8,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/common.hpp:538,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/gtc/epsilon.inl:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/gtc/epsilon.hpp:60,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumUtility/include/CesiumUtility/Math.h:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/Cartographic.h:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/Ellipsoid.h:3,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/GlobeAnchor.h:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/src/GlobeAnchor.cpp:1:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_vec3.hpp:46:6: note: and the implicitly-defined constructor does not initialize ‘double glm::vec<3, double, glm::packed_highp>::x’
46 | T x, y, z;
| ^
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/matrix_double4x4.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/mat4x4.hpp:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/GlobeAnchor.h:7,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/src/GlobeAnchor.cpp:1:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.inl: In instantiation of ‘constexpr glm::mat<4, 4, T, Q> glm::operator*(const glm::mat<4, 4, T, Q>&, const glm::mat<4, 4, T, Q>&) [with T = double; glm::qualifier Q = glm::packed_highp]’:
/home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/src/GlobeAnchor.cpp:40:62: required from here
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.hpp:13:9: note: ‘struct glm::mat<4, 4, double, glm::packed_highp>’ has no user-provided default constructor
13 | struct mat<4, 4, T, Q>
| ^~~~~~~~~~~~~~~
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.hpp:35:49: note: constructor is not user-provided because it is explicitly defaulted in the class body
35 | GLM_DEFAULTED_DEFAULT_CTOR_DECL GLM_CONSTEXPR mat() GLM_DEFAULT_CTOR;
| ^~~
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/func_common.inl:9,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/common.hpp:538,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/gtc/epsilon.inl:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/gtc/epsilon.hpp:60,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumUtility/include/CesiumUtility/Math.h:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/Cartographic.h:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/Ellipsoid.h:3,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/GlobeAnchor.h:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/src/GlobeAnchor.cpp:1:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_vec4.hpp:42:6: note: and the implicitly-defined constructor does not initialize ‘double glm::vec<4, double, glm::packed_highp>::x’
42 | T x, y, z, w;
| ^
[ 8%] Building CXX object extern/cesium-native/CesiumGeospatial/CMakeFiles/CesiumGeospatial.dir/src/GlobeRectangle.cpp.o
[ 8%] Building CXX object extern/cesium-native/CesiumGeospatial/CMakeFiles/CesiumGeospatial.dir/src/GlobeTransforms.cpp.o
[ 8%] Building CXX object extern/cesium-native/CesiumGeospatial/CMakeFiles/CesiumGeospatial.dir/src/HilbertOrder.cpp.o
[ 9%] Building CXX object extern/cesium-native/CesiumGeospatial/CMakeFiles/CesiumGeospatial.dir/src/LocalHorizontalCoordinateSystem.cpp.o
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/matrix_double4x4.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/mat4x4.hpp:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/LocalHorizontalCoordinateSystem.h:6,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/src/LocalHorizontalCoordinateSystem.cpp:3:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.inl: In instantiation of ‘constexpr glm::mat<4, 4, T, Q> glm::operator*(const glm::mat<4, 4, T, Q>&, const glm::mat<4, 4, T, Q>&) [with T = double; glm::qualifier Q = glm::packed_highp]’:
/home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/src/LocalHorizontalCoordinateSystem.cpp:90:66: required from here
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.hpp:13:9: note: ‘struct glm::mat<4, 4, double, glm::packed_highp>’ has no user-provided default constructor
13 | struct mat<4, 4, T, Q>
| ^~~~~~~~~~~~~~~
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.hpp:35:49: note: constructor is not user-provided because it is explicitly defaulted in the class body
35 | GLM_DEFAULTED_DEFAULT_CTOR_DECL GLM_CONSTEXPR mat() GLM_DEFAULT_CTOR;
| ^~~
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/func_common.inl:9,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/common.hpp:538,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/gtc/epsilon.inl:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/gtc/epsilon.hpp:60,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumUtility/include/CesiumUtility/Math.h:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/Cartographic.h:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/src/LocalHorizontalCoordinateSystem.cpp:1:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_vec4.hpp:42:6: note: and the implicitly-defined constructor does not initialize ‘double glm::vec<4, double, glm::packed_highp>::x’
42 | T x, y, z, w;
| ^
[ 9%] Building CXX object extern/cesium-native/CesiumGeospatial/CMakeFiles/CesiumGeospatial.dir/src/Projection.cpp.o
[ 9%] Building CXX object extern/cesium-native/CesiumGeospatial/CMakeFiles/CesiumGeospatial.dir/src/S2CellBoundingVolume.cpp.o
[ 18%] Linking CXX static library libCesiumGltfReader.a
[ 18%] Built target CesiumGltfReader
[ 18%] Building CXX object extern/cesium-native/CesiumGltfContent/CMakeFiles/CesiumGltfContent.dir/src/GltfUtilities.cpp.o
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/matrix_double4x4.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/mat4x4.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/matrix.hpp:29,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat3x3.inl:1,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat3x3.hpp:183,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/ext/matrix_double3x3.hpp:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/mat3x3.hpp:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeometry/include/CesiumGeometry/OrientedBoundingBox.h:8,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/BoundingRegion.h:8,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/BoundingRegionBuilder.h:3,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGltfContent/src/GltfUtilities.cpp:5:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.inl: In instantiation of ‘constexpr glm::mat<4, 4, T, Q> glm::operator*(const glm::mat<4, 4, T, Q>&, const glm::mat<4, 4, T, Q>&) [with T = double; glm::qualifier Q = glm::packed_highp]’:
/home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGltfContent/src/GltfUtilities.cpp:211:58: required from here
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.hpp:13:9: note: ‘struct glm::mat<4, 4, double, glm::packed_highp>’ has no user-provided default constructor
13 | struct mat<4, 4, T, Q>
| ^~~~~~~~~~~~~~~
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_mat4x4.hpp:35:49: note: constructor is not user-provided because it is explicitly defaulted in the class body
35 | GLM_DEFAULTED_DEFAULT_CTOR_DECL GLM_CONSTEXPR mat() GLM_DEFAULT_CTOR;
| ^~~
In file included from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/func_common.inl:9,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/common.hpp:538,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/gtc/epsilon.inl:5,
from /home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/gtc/epsilon.hpp:60,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumUtility/include/CesiumUtility/Math.h:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/Cartographic.h:5,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/Ellipsoid.h:3,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/BoundingRegion.h:3,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGeospatial/include/CesiumGeospatial/BoundingRegionBuilder.h:3,
from /home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGltfContent/src/GltfUtilities.cpp:5:
/home/hysim/.ezvcpkg/2024.07.12/installed/x64-linux-unity/include/glm/detail/type_vec4.hpp:42:6: note: and the implicitly-defined constructor does not initialize ‘double glm::vec<4, double, glm::packed_highp>::x’
42 | T x, y, z, w;
| ^
/home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGltfContent/src/GltfUtilities.cpp: In static member function ‘static void CesiumGltfContent::GltfUtilities::compactBuffers(CesiumGltf::Model&)’:
/home/hysim/UProjects/cesium-unity-samples/Packages/cesium-unity/native~/extern/cesium-native/CesiumGltfContent/src/GltfUtilities.cpp:1063:37: error: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Werror=sign-compare]
1063 | i < gltf.buffers.size() && i < std::numeric_limits<int32_t>::max();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [extern/cesium-native/CesiumGltfContent/CMakeFiles/CesiumGltfContent.dir/build.make:76:extern/cesium-native/CesiumGltfContent/CMakeFiles/CesiumGltfContent.dir/src/GltfUtilities.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:843:extern/cesium-native/CesiumGltfContent/CMakeFiles/CesiumGltfContent.dir/all] 错误 2
make: *** [Makefile:156:all] 错误 2
