You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed json-c using homebrew and tried to test it out.
With #include <json/json.h> and "gcc main.c -l json" I got the following error:
fatal error: 'json/json.h' file not found
With #include <json-c/json.h> and "gcc main.c -l json" I got the following error:
ld: library not found for -ljson
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered:
I installed json-c using homebrew and tried to test it out.
With #include <json/json.h> and "gcc main.c -l json" I got the following error:
fatal error: 'json/json.h' file not found
With #include <json-c/json.h> and "gcc main.c -l json" I got the following error:
ld: library not found for -ljson
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: