adding external lib
So, I'm doing a college project and I need to use a external lib to parse a json file. I'm using the json-c library as I saw in this video: https://www.youtube.com/watch?v=dQyXuFWylm4
I tried everything to make it work but it didn't.....
To install it I just copied the files from the lib github and uploaded in my project. I'm getting this error:
main.c:(.text+0xa1): undefined reference to `json_tokener_parse'
main.c:(.text+0xbc): undefined reference to `json_object_object_get_ex'
main.c:(.text+0xcb): undefined reference to `json_object_get_string'
It seems like the lib is not properly installed, since some code worked and some not. Thank you in advance :)