Thanks to visit codestin.com
Credit goes to github.com

Skip to content

您好,cmake错误 #25

@ericjing83

Description

@ericjing83

您好大神,我向您求助

我的系统: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?非常感谢。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions