Build dep fail on archlinux, clang version 16.0.6, linux version 6.6.16-1. I follow this link to build zen on my machine:https://www.zwin.dev/getting_started/installation. At this step ./zen-release build deps, some compilation errors happens:
*** ninja -C build
ninja: Entering directory `build'
[1/10] Compiling C++ object src/libzukou.so.p/logger.cc.o
FAILED: src/libzukou.so.p/logger.cc.o
clang++ -Isrc/libzukou.so.p -Isrc -I../src -I../include -Iprotocol -I/usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=gnu++17 -O2 -g -D_GNU_SOURCE -DWL_HIDE_DEPRECATED -fvisibility=hidden -Wstrict-prototypes -Wno-gnu-zero-variadic-macro-arguments -fPIC -include config.h -MD -MQ src/libzukou.so.p/logger.cc.o -MF src/libzukou.so.p/logger.cc.o.d -o src/libzukou.so.p/logger.cc.o -c ../src/logger.cc
../src/logger.cc:9:3: error: use of undeclared identifier 'va_start'
va_start(args, format);
^
../src/logger.cc:11:3: error: use of undeclared identifier 'va_end'
va_end(args);
^
2 errors generated.
[5/10] Compiling C++ object sample/zukou-box.p/box.cc.o
FAILED: sample/zukou-box.p/box.cc.o
clang++ -Isample/zukou-box.p -Isample -I../sample -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=gnu++17 -O2 -g -D_GNU_SOURCE -DWL_HIDE_DEPRECATED -fvisibility=hidden -Wstrict-prototypes -Wno-gnu-zero-variadic-macro-arguments -MD -MQ sample/zukou-box.p/box.cc.o -MF sample/zukou-box.p/box.cc.o.d -o sample/zukou-box.p/box.cc.o -c ../sample/box.cc
In file included from ../sample/box.cc:6:
In file included from /usr/include/glm/gtx/quaternion.hpp:21:
In file included from /usr/include/glm/gtx/../gtx/norm.hpp:20:
/usr/include/glm/gtx/../gtx/component_wise.hpp:22:3: error: "GLM: GLM_GTX_component_wise is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
# error "GLM: GLM_GTX_component_wise is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
^
In file included from ../sample/box.cc:6:
In file included from /usr/include/glm/gtx/quaternion.hpp:21:
/usr/include/glm/gtx/../gtx/norm.hpp:23:3: error: "GLM: GLM_GTX_norm is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
# error "GLM: GLM_GTX_norm is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
^
In file included from ../sample/box.cc:6:
/usr/include/glm/gtx/quaternion.hpp:24:3: error: "GLM: GLM_GTX_quaternion is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
# error "GLM: GLM_GTX_quaternion is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
^
3 errors generated.
[6/10] Compiling C++ object sample/zukou-celestial-body.p/sphere.cc.o
ninja: build stopped: subcommand failed.
===========================
failure
===========================
Build dep fail on archlinux, clang version 16.0.6, linux version 6.6.16-1. I follow this link to build zen on my machine:https://www.zwin.dev/getting_started/installation. At this step
./zen-release build deps
, some compilation errors happens: