It has nothing to do with the editor. Take a look at the compilation command. Add the directory of the connector file after the -I parameter, add the lib directory after -L, and add the name of the library to be linked after -l
For example
gcc test.c -o test -I/path/to/include -L/path/to/lib -lm -lpthread
It has nothing to do with the editor. Take a look at the compilation command. Add the directory of the connector file after the -I parameter, add the lib directory after -L, and add the name of the library to be linked after -l
For example