Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/67.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 错误服务irc mysql_C++_C - Fatal编程技术网

C++ 错误服务irc mysql

C++ 错误服务irc mysql,c++,c,C++,C,我正在尝试安装IRC服务,它给了我以下的错误,我想知道是否有人见过这一点,并有一个解决方案 谢谢 您需要将mysql.h文件放在/usr/include/mysql中,这就是错误消息所说的 或者您将其更改为-I/usr/include g++ -DHAVE_CONFIG_H -I. -I.. -g -O3 -Wall -Igoogle/sparsehash/src/ -I/usr/include/mysql -MT base64.o -MD -MP -MF .deps/base64.Tp

我正在尝试安装IRC服务,它给了我以下的错误,我想知道是否有人见过这一点,并有一个解决方案 谢谢


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

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

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