Use mysql_config to find the location of Mysql's headers and libraries directories.