cmakelists.txt的apache节俭错误
Apache Thrift errors with CMakeLists.txt
我正在尝试构建Apache节省的C 库,并且我遇到的CMAKE错误我无法完全解密,这是我遵循的一系列步骤以获取错误
git clone https://git-wip-us.apache.org/repos/asf/thrift.git
cd thrift/lib/cpp
mkdir cmake-build
cmake ..
我遇到的错误是
CMake Error at CMakeLists.txt:162 (include):
include could not find load file:
ThriftMacros
CMake Error at CMakeLists.txt:164 (ADD_LIBRARY_THRIFT):
Unknown CMake command "ADD_LIBRARY_THRIFT".
其他人之前是否遇到过此错误?
这不是构建它的方法。您需要按照否则指示的根目录构建,您会错过一大批CMake定义。
来自根存储库目录:
mkdir cmake-build && cd cmake-build
cmake .. -DBUILD_CPP:BOOL=ON
相关文章:
- 警告处理为错误这里有什么问题
- "error: no matching function for call to"构造函数错误
- boost::进程间消息队列引发错误
- C++,OpenCV,尝试显示图像时"OpenCV(4.3.0) Error: Assertion failed (size.width>0 && size.height>0)"此错误
- 有关插入适配器的错误。[错误]请求从 'back_insert_iterator<vector<>>' 类型转换为非标量类型
- QT在错误的班级中寻找空位
- vector.resize()中的分配错误
- 代码在main()中运行,但在函数中出现错误
- 释放错误后堆使用
- (C++)分析树以计算返回错误值的简单算术表达式
- Project Euler问题4的错误解决方案
- Apache IGNITE编译ODBC驱动程序错误
- Apache HTTPD模块共享内存权限拒绝了错误
- Apache Ignite v2.7:无法构建 Linux ODBC 驱动程序 - 内联变量编译错误
- cmakelists.txt的apache节俭错误
- Apache 崩溃并显示错误 R6016 没有足够的空间来存储线程数据
- 将CGI中的错误消息重定向到Apache日志文件
- 为什么使用<iostream>在Apache上导致500错误
- Apache Thrift教程中的c++链接器错误-未定义的符号
- 在Apache服务器中设置指令时出现不兼容的指针类型错误