【发布时间】:2021-08-28 10:21:42
【问题描述】:
我想构建easyhttp - https://github.com/sony/easyhttpcpp/wiki/Installing-EasyHttp#build-easyhttp 在 Cmakeing 之后,它没有找到完成构建的包
CMake Error at /usr/local/lib/cmake/Poco/PocoConfig.cmake:29 (find_package):
Could not find a package configuration file provided by "PocoNetSSL" with
any of the following names:
PocoNetSSLConfig.cmake
poconetssl-config.cmake
Add the installation prefix of "PocoNetSSL" to CMAKE_PREFIX_PATH or set
"PocoNetSSL_DIR" to a directory containing one of the above files. If
"PocoNetSSL" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:56 (find_package)
-- Configuring incomplete, errors occurred!
See also "/mnt/d/Linux/easyhttpcpp/_build/CMakeFiles/CMakeOutput.log".
【问题讨论】:
-
按照您链接的页面中的说明进行操作后是否正确安装了 poco?
-
是的,它已正确安装
-
安装在哪里?
-
通常解决这个错误的方法是按照 CMake 告诉你的去做。
-
Debian / Ubuntu poco 软件包将匹配 easyhttp :
apt install libpoco-dev...... 例如,Ubuntu 20.04 → 没有 cmake 错误。 $ make : 没有错误。
标签: c++ linux cmake windows-subsystem-for-linux