Building with ./zcutil/build.sh --use-clang does not succeed due to the following error
In file included from libsnark/algebra/curves/tests/test_groups.cpp:11:
In file included from libsnark/algebra/curves/alt_bn128/alt_bn128_pp.hpp:11:
In file included from libsnark/algebra/curves/alt_bn128/alt_bn128_init.hpp:11:
In file included from libsnark/algebra/fields/fp.hpp:13:
In file included from libsnark/algebra/fields/bigint.hpp:15:
In file included from libsnark/common/serialization.hpp:102:
In file included from libsnark/common/serialization.tcc:19:
libsnark/common/utils.hpp:26:39: fatal error: use of undeclared identifier 'UINT64_C'
inline size_t exp2(size_t k) { return UINT64_C(1) << k; }
^
1 error generated.
Can you reliably reproduce the issue?
Fresh clone the repository
Start building the binary with ./zcutil/build.sh --use-clang
Build does not succeed
Expected behavior
Build should succeed
Actual behavior and errors
No response
The full version of zend you are using
Latest source at commit 37c5823
Machine specs
OS name and version: Ubuntu 22.04 LTS on WSL2
CPU: Intel Core i7 8705G
RAM: 32GB
Disk size: 1TB
Disk type (HD/SDD): NVMe
Linux kernel version (uname -a): Linux SKULL 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Compiler version (gcc -version): clang 14.0.0
Any extra information that might be useful in the debugging process
Build with no clang extra args (i.e. with gcc/g++) succeeds.
Do you have a back-up of ~/.zen directory and/or a VM snapshot?
Describe the issue
Building with
./zcutil/build.sh --use-clang
does not succeed due to the following errorCan you reliably reproduce the issue?
./zcutil/build.sh --use-clang
Expected behavior
Build should succeed
Actual behavior and errors
No response
The full version of
zend
you are usingLatest source at commit
37c5823
Machine specs
Linux SKULL 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Any extra information that might be useful in the debugging process
Build with no clang extra args (i.e. with gcc/g++) succeeds.
Do you have a back-up of
~/.zen
directory and/or a VM snapshot?Not relevant