如何使的#include&LT;&mysql.h中GT;工作? [英] How to make #include <mysql.h> work?
本文介绍了如何使的#include&LT;&mysql.h中GT;工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是从源代码构建的一个开源项目,
I'm building an open source project from source,
和它需要包括&LT;&mysql.h中GT;
:
#if USE_MYSQL
#include <mysql.h>
#endif
和compilor报告:
and the compilor reports:
mysql.h no such file or directory
的MySQL 是另一个更大的开源项目,有什么做我需要做的,使其工作?
MySQL is yet another greater open source project,what do I need to do to make it work?
推荐答案
对于我来说,在Ubuntu 12.04,我需要用这个包含
For me, on Ubuntu 12.04, I needed to use this include
#include <mysql/mysql.h>
这篇关于如何使的#include&LT;&mysql.h中GT;工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文