我有以下编译时错误,我找不到原因:致命错误: mysql_connection.h:没有这样的文件或目录#include <stdlib.h>#include <iostream>
Include directly the different
headers from cppconn/ and mysql_driver.h + mysql_util.h(and mysql_connection.
我需要包括连接器,c++和boost到我的项目,但这不起作用。Boost在以下位置提取:C:\boost_1_71_0cmake_minimum_requiredC:/Program Files/MySQL/Connector C++ 8.0)
include_directories(${FULL_PA
根据这个url:,我使用一个标准的源发行版( MySQL - server -8.0)安装了服务器。出于某种目的,我在MySQL源代码中添加了一些mysql-server-8.0/sql/mysqld.cc源代码,我添加的代码使用了/usr/lib中的自定义.so库。我想在构建MySQL源代码时链接到这个库,所以当我构建MySQL时,我使用了以下命令:
cmake ..-DWITH_BOOST=/home/ubuntu/