-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
when i run zig build test
test
└─ run test
└─ compile test Debug native 1 errors
/usr/lib/zig/lib/include/inttypes.h:24:15: error: 'inttypes.h' file not found
#include_next <inttypes.h>
^~~~~~~~~~~~~
/home/-----/.cache/zig/p/N-V-__8AAOk6JQAXpvkJGBorQg-icgDLkJd2c4SQdmbZ1NBV/src/mpack/mpack.c:35:10: note: in file included from /home/-----/.cache/zig/p/N-V-__8AAOk6JQAXpvkJGBorQg-icgDLkJd2c4SQdmbZ1NBV/src/mpack/mpack.c:35:
#include "mpack.h"
^
/home/-----/.cache/zig/p/N-V-__8AAOk6JQAXpvkJGBorQg-icgDLkJd2c4SQdmbZ1NBV/src/mpack/mpack.h:970:14: note: in file included from /home/-----/.cache/zig/p/N-V-__8AAOk6JQAXpvkJGBorQg-icgDLkJd2c4SQdmbZ1NBV/src/mpack/mpack.h:970:
#include <inttypes.h>
^
error: the following command failed with 1 compilation errors:
/usr/lib/zig/zig test -ODebug --dep mpack_tcp --dep mpack -Mroot=/home/-----/learn/zig/mpack-tcp/src/main.zig -Mmpack_tcp=/home/-----/learn/zig/mpack-tcp/src/root.zig -cflags -DMPACK_BUILDER=0 -DMPACK_EXPECT=0 -DMPACK_EXTENSIONS=1 -DMPACK_DEBUG=1 -DMPACK_STRINGS=1 -DMPACK_BUILDER_INTERNAL_STORAGE=1 -DMPACK_OPTIMIZE_FOR_SIZE=0 -- /home/-----/.cache/zig/p/N-V-__8AAOk6JQAXpvkJGBorQg-icgDLkJd2c4SQdmbZ1NBV/src/mpack/mpack.c -I /home/-----/.cache/zig/p/N-V-__8AAOk6JQAXpvkJGBorQg-icgDLkJd2c4SQdmbZ1NBV/src/mpack -I /home/-----/.cache/zig/p/mpack_zig-0.0.0-AAAAAJtkAQAvn27N8fddZ6jWkowDqYLTtSPqaT0d3o2O/src/c/include --dep mpack_build_opts -Mmpack=/home/-----/.cache/zig/p/mpack_zig-0.0.0-AAAAAJtkAQAvn27N8fddZ6jWkowDqYLTtSPqaT0d3o2O/src/lib.zig -Mmpack_build_opts=.zig-cache/c/7eb50b5db5c8ba919accc410446c5b3c/options.zig --cache-dir .zig-cache --global-cache-dir /home/-----/.cache/zig --name test --zig-lib-dir /usr/lib/zig/lib/ -fincremental --listen=-
Build Summary: 3/6 steps succeeded; 1 failed; 1/1 tests passed
I am getting this error, suggesting inttypes.h
not found.
How should i proceed?
Metadata
Metadata
Assignees
Labels
No labels