group-signature-server
group-signature-server copied to clipboard
cmake执行问题
我是centos7.8系统,这个项目在下载完源码执行cmake..的时候,总是有一个错误: -- The C compiler identification is GNU 4.8.5 -- The CXX compiler identification is GNU 4.8.5 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at /usr/local/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cmake/FindCURL.cmake:54 (find_package_handle_standard_args) cmake/ProjectJsonRpcCpp.cmake:3 (find_package) CMakeLists.txt:13 (include)
-- Configuring incomplete, errors occurred!
安装libmicrohttpd和libmicrohttpd-devel之后还是无法解决问题,跟上面的错误一样。使用不同的cmake版本也是报错,如使用cmake3.18版本,则是下面错误:
Call Stack (most recent call first): cmake/FindMHD.cmake:51 (find_package_handle_standard_args) cmake/ProjectJsonRpcCpp.cmake:7 (find_package) CMakeLists.txt:13 (include)
同,求问,MacOS系统。
我是centos7.8系统,这个项目在下载完源码执行cmake..的时候,总是有一个错误: -- The C compiler identification is GNU 4.8.5 -- The CXX compiler identification is GNU 4.8.5 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at /usr/local/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cmake/FindCURL.cmake:54 (find_package_handle_standard_args) cmake/ProjectJsonRpcCpp.cmake:3 (find_package) CMakeLists.txt:13 (include)
-- Configuring incomplete, errors occurred!
安装libmicrohttpd和libmicrohttpd-devel之后还是无法解决问题,跟上面的错误一样。使用不同的cmake版本也是报错,如使用cmake3.18版本,则是下面错误:
Call Stack (most recent call first): cmake/FindMHD.cmake:51 (find_package_handle_standard_args) cmake/ProjectJsonRpcCpp.cmake:7 (find_package) CMakeLists.txt:13 (include)
If you are using ubuntu system, you can use “sudo apt-get install libcurl4-openssl-dev” Solve the problem