linking with headers and libs

How can I connect my class with other header and .lib? (MySQL Connector files).
I need to create a plugin or is it done differently?