You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
同样我也是cmake错误
`
root@blog-hk:~/libuhttpd/build# cmake ..
-- The C compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Libev: /usr/lib/x86_64-linux-gnu/libev.so (found version "4.33")
CMake Error at CMakeLists.txt:28 (add_subdirectory):
The source directory
/root/libuhttpd/src/ssl
does not contain a CMakeLists.txt file.
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- UHTTPD_VERSION: 3.14.1
-- Configuring incomplete, errors occurred!
See also "/root/libuhttpd/build/CMakeFiles/CMakeOutput.log".
`
您好大神,我向您求助
我的系统: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?非常感谢。
The text was updated successfully, but these errors were encountered: