CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
xxxx/MYSQL_INCLUDE_DIR
解决: yum install mysql-devel
其它缺少的boost/cmake等都可以通过编译源码来安装。
cmake-3.8.2.tar.gz
boost_1_78_0.tar.gz
本文介绍了解决CMake构建过程中出现的变量未找到问题的方法。通过安装mysql-devel包解决了MYSQL_INCLUDE_DIR变量未设置的问题,并提到了可以通过编译源码的方式安装其他缺失的依赖如boost和cmake。
894

被折叠的 条评论
为什么被折叠?



