今天编译程序是出现fatal error: mysql/mysql.h: No such file or directory,找不到mysql.h的头文件。首先确定正确安装了mysql。
解决办法是在shell在执行$:sudo apt-get install libmysql++即可。
今天编译程序是出现fatal error: mysql/mysql.h: No such file or directory,找不到mysql.h的头文件。首先确定正确安装了mysql。
解决办法是在shell在执行$:sudo apt-get install libmysql++即可。