致命错误:mysql/mysql.h:没有那个文件或目录
#include<mysql/mysql.h>
^
编译中断。
make[2]: *** [src/CMakeFiles/hik.dir/LZTtools.cpp.o] 错误 1
make[1]: *** [src/CMakeFiles/hik.dir/all] 错误 2
缺少libmysqlclient-dev,OK安装就是了
ubuntu下 :
audo apt-get install libmysqlclient-dev
centos下 :
yum install mysql-devel