Error on build - json-c/json_object.h: No such file or directory
Its-Kenta opened this issue · 5 comments
Its-Kenta commented
Error when building, looks like paths are wrong?
8 | #include <json-c/json_object.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/compiler/CMakeFiles/libcspc.dir/build.make:104: src/compiler/CMakeFiles/libcspc.dir/ast/ast_json.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1293: src/compiler/CMakeFiles/libcspc.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Spydr06 commented
have you json-c
installed?
Its-Kenta commented
That would explain it.
Any chance we can add json-c
as a dependency in INSTALL.md?
Spydr06 commented
sure, I probably missed that
Spydr06 commented
also, I should maybe make it optional, since it currently only is needed for a non-working AST-to-json converter
Its-Kenta commented
Thanks, will close my issue now