Windows上vscode调用mysql#include<mysql.h>显示mysql.h: No such file or directory
runcoder执行的命令中没有-I参数,因此找不到mysql.h。F5运行时,task.json中gcc要加参数-lmysql,用-L指定lib的路径。
mysql.h不存在
网上搜到的解决方法基本上都是Linux系统的