prog.c:1:21: error: jansson.h: No such file or directory
prog.c:2:19: error: cairo.h: No such file or directory
prog.c: In function ‘main’:
prog.c:5: error: ‘json_t’ undeclared (first use in this function)
prog.c:5: error: (Each undeclared identifier is reported only once
prog.c:5: error: for each function it appears in.)
prog.c:5: error: ‘root’ undeclared (first use in this function)
prog.c:6: error: ‘json_error_t’ undeclared (first use in this function)
prog.c:6: error: expected ‘;’ before ‘error’
prog.c:7: warning: implicit declaration of function ‘json_load_file’
prog.c:7: error: ‘error’ undeclared (first use in this function)
prog.c:9: warning: implicit declaration of function ‘fprintf’
prog.c:9: warning: incompatible implicit declaration of built-in function ‘fprintf’
prog.c:9: error: ‘stderr’ undeclared (first use in this function)
prog.c:12: warning: implicit declaration of function ‘printf’
prog.c:12: warning: incompatible implicit declaration of built-in function ‘printf’
prog.c:12: warning: implicit declaration of function ‘json_is_object’
prog.c:14: error: ‘jidade’ undeclared (first use in this function)
prog.c:14: warning: implicit declaration of function ‘json_object_get’
prog.c:15: warning: implicit declaration of function ‘json_number_value’
prog.c:18: error: ‘jtest’ undeclared (first use in this function)
prog.c:19: error: ‘jnovo’ undeclared (first use in this function)
prog.c:23: error: ‘jarray’ undeclared (first use in this function)
prog.c:24: warning: implicit declaration of function ‘json_array_size’
prog.c:24: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘int’
prog.c:25: error: ‘for’ loop initial declaration used outside C99 mode
prog.c:26: warning: implicit declaration of function ‘json_array_get’
prog.c:26: warning: format ‘%.0lf’ expects type ‘double’, but argument 3 has type ‘int’
prog.c:28: error: ‘jarray2’ undeclared (first use in this function)
prog.c:29: error: ‘blah’ undeclared (first use in this function)
prog.c:30: warning: implicit declaration of function ‘json_string_value’
prog.c:30: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’