Giter Club home page Giter Club logo

Comments (5)

helenchw avatar helenchw commented on June 2, 2024 1

I also encountered the same CMake error on Ubuntu 16.04 with CMake 3.5.

A workaround is to modify the lines for the external project "catch" in 3rdparty/CMakeLists.txt as follows:

ExternalProject_Add(catch
    URL ${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp
    URL_HASH MD5=9b3d2cb5c0f9532cddfbbfd0a622f0af
    DOWNLOAD_COMMAND ""
    CONFIGURE_COMMAND ""
    BUILD_COMMAND ""
    INSTALL_COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp <INSTALL_DIR>/catch.hpp
)

from aliyun-openapi-cpp-sdk.

JacksonTian avatar JacksonTian commented on June 2, 2024

看报错信息是 libcurl 不存在?

from aliyun-openapi-cpp-sdk.

fangkangbest avatar fangkangbest commented on June 2, 2024

libcurl 这个我安装过了。
frank@ubuntu:~$ curl --version
curl 7.52.1 (x86_64-pc-linux-gnu) libcurl/7.61.0 OpenSSL/1.0.2g zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy

from aliyun-openapi-cpp-sdk.

fangkangbest avatar fangkangbest commented on June 2, 2024

it's ok. Thanks a lot.

I also encountered the same CMake error on Ubuntu 16.04 with CMake 3.5.
A workaround is to modify the lines for the external project "catch" in 3rdparty/CMakeLists.txt as follows:
ExternalProject_Add(catch
URL ${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp
URL_HASH MD5=9b3d2cb5c0f9532cddfbbfd0a622f0af
DOWNLOAD_COMMAND ""
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp <INSTALL_DIR>/catch.hpp
)

it's ok. thanks a lot.

from aliyun-openapi-cpp-sdk.

zhangzifa avatar zhangzifa commented on June 2, 2024

This is already been fixed fix build failed.
I close this issue.

from aliyun-openapi-cpp-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.