Finding what library files I need to include for the implementation of a particular c header
How do I find what library files I need to in开发者_Python百科clude for the implementation of a particular c header if there is not library with the same name?
I'd Google for the name of the header or the functions within it.
If you're on a Debian-based system you could also try dpkg -S <full header path>
to tell you what package provided the header, then see what other files (in /usr/lib
) that same package provides.
精彩评论