-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
要求CMake找到一个由“Snappy”提供的包配置文件,但是 CMake没有找到。 #348
Comments
make srpc 报错 |
你好,可以看看是否有/root/srpc/third_party/snappy/cmake/SnappyConfig.cmake.in这个文件? |
你好,这里只是warning的信息,因为你系统默认没有安装的话,这里find_package(snappy)找不到的话,就会从third_party/snappy/cmake里找,后面会继续编译的,如下:
如果你最终失败了,可以把最终的错误信息发一下~ |
[100%] Built target workflow-static Could not find a package configuration file provided by "Snappy" with any
Add the installation prefix of "Snappy" to CMAKE_PREFIX_PATH or set -- Looking for C++ include snappy.h -- Configuring incomplete, errors occurred! |
这个看起来是没有安装protoc~ protobuf和protoc都需要自行安装,一般安装protobuf的时候都会一起安装,可以直接执行一下 |
CMake Warning at CMakeLists.txt:43 (find_package):
By not providing "FindSnappy.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Snappy", but
CMake did not find one.
Could not find a package configuration file provided by "Snappy" with any
of the following names:
The text was updated successfully, but these errors were encountered: