#c++ errors compiling zig

1 messages · Page 1 of 1 (latest)

crimson lark
#

confusing because those symbols are the std library

#

ran zig-master build -Dno-lib -Denable-llvm

#

inside nix-shell -p cmake gnumake zlib gcc libxml2 gcc zstd stdenv.cc.cc.lib llvmPackages_21.llvm llvmPackages_21.lld llvmPackages_21.libclang

#

prolly this warning: config.h could not be located automatically. Consider providing it explicitly via "-Dconfig_h"

#

gotta run the make install way at least once is my guess

#

yep

#

oh spoke too soon that didnt fix the warning

#

-Dconfig_h=build/config.h makes the warning go away

#

and that fixed it