Home > other >  We are using a third-party library, often used PKG - config this thing to compile the program. The P
We are using a third-party library, often used PKG - config this thing to compile the program. The P

Time:04-23

We are using a third-party library, often used PKG - config this thing to compile the program, and the PKG - what is the config?

CodePudding user response:

When using a third-party library, little not to use the header files and libraries to the third party, we at compile, link, must specify these header files and libraries, for relatively large third-party libraries, the number of the header files and libraries is more, manual writing is quite troublesome, PKG can config the header files and point out the location of the library files, to the compiler to use,