c++ - 错误服务 irc mysql

标签 c++ c

我正在尝试安装 IRC 服务,但出现以下错误,我想知道是否有人以前见过此情况并有解决方案 谢谢

g++ -DHAVE_CONFIG_H -I. -I..     -g -O3 -Wall -Igoogle/sparsehash/src/ -I/usr/include/mysql -MT base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o base64.cpp
In file included from base64.cpp:21:0:
stdafx.h:64:19: error fatal: mysql.h: No existe el archivo o el directorio
compilación terminada.
make[2]: *** [base64.o] Error 1
make[2]: se sale del directorio «/home/yeremay/services-master/Nucleo»
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio «/home/yeremay/services-master»`




make: *** [all] Error 2

最佳答案

您需要在 /usr/include/mysql 中有 mysql.h 文件,这就是错误消息所说的内容。

或者将其更改为-I/usr/include

关于c++ - 错误服务 irc mysql,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21577796/

相关文章:

java - BST 从 Java 插入到 C

c++ - 如何使用 XCB 将按键事件发送到应用程序?

c程序调用函数时崩溃

c - 使用switch计算单利和复利的程序

C++ - 成员对象中枚举的行为

c++ - *this 的 std::move 和稍后对类方法和字段的访问

c++ - 运行 OFX 插件

c++ - 表示十六进制格式的 fp16 最小数字

c++ - 在 OS X 上安装 Boost 1.48.0

c - 在端口扫描器中使用非阻塞套接字