Open LenaWil opened 1 year ago
passing
-I `llvm-config --includedir`
should fix it (where the llvm-config
is the one you used to build c2rust)
I've had a comparable error for stddef.h; using clang I had to add: -I /usr/lib/clang/<your-version>/include/
. If you're using gcc add -I /usr/lib/gcc/x86_64-pc-linux-gnu/<your-version>/include
if you have this error too.
I am trying to compile Iodine on macOS, but I get the following error when I try:
I think I am running https://github.com/immunant/c2rust/commit/d1e05f3203efa29d1277eead56a33d93d549ac0b, since I needed #892 I used the Git version.
My compile_commands.json looks like this: