libuhttpd icon indicating copy to clipboard operation
libuhttpd copied to clipboard

您好,cmake错误

Open ericjing83 opened this issue 2 months ago • 1 comments

您好大神,我向您求助

我的系统:debian10.13 我提前下载并编译了libev,make install的位置是/usr/local/libev-4.33/install 然后,我用这个命令下载了您的库以及依赖库:git clone --branch v3.14.1 --recursive https://github.com/zhaojh329/libuhttpd.git 然后,我解压了库,并创建了build文件夹,我cd到了这里:/usr/local/libuhttpd/build 然后,我尝试用:cmake .. 我看到了如下的错误: CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Libev (missing: LIBEV_LIBRARY LIBEV_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cmake/Modules/FindLibev.cmake:25 (find_package_handle_standard_args) CMakeLists.txt:20 (find_package)

我尝试了手动添加环境变量:export LIBEV_LIBRARY=/usr/local/libev-4.33/install/lib,然后,再次执行cmake .. 还是遇到了相同的错误。 请您指正,如何正确进行cmake?非常感谢。

ericjing83 avatar Apr 11 '24 02:04 ericjing83