I'm running FreeBSD 14.1 and clang version 18.1.5. I installed the json-c version 0.17 library via pkg and it exists in /usr/local/lib and the headers are in /usr/local/include/json-c.
This is my code:
#include <stdio.h>
#include <stdlib.h>
#include <json-c/json.h>
int main(void) {
//...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.