#Building a C++ dependency

1 messages · Page 1 of 1 (latest)

sand mantle
#

I have a library that consists of 1 .cpp file that needs to be compiled, but when I add it to the executable via .addCSourceFile, it errors saying that the include for cstddef can’t be found, even though it is in both the c++ standard library and in the zig source tree.

limpid holly
#

are you calling linkLibCpp in the build script?