Skip to content

failed to build on ubuntu 18.04 with cmake  #12

Description

@wyfSunflower

xtark@xtark-vmpc:/Documents$ git clone https://github.com/embeddedmz/httpclient-cpp.git
正克隆到 'httpclient-cpp'...
remote: Enumerating objects: 176, done.
remote: Counting objects: 100% (45/45), done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 176 (delta 23), reused 32 (delta 13), pack-reused 131
接收对象中: 100% (176/176), 253.54 KiB | 295.00 KiB/s, 完成.
处理 delta 中: 100% (62/62), 完成.
xtark@xtark-vmpc:
/Documents$ cd httpclient-cpp/
xtark@xtark-vmpc:/Documents/httpclient-cpp$ ls
CMakeLists.txt HTTP LICENSE README.md TestHTTP VERSION
xtark@xtark-vmpc:
/Documents/httpclient-cpp$ mkdir build;cd build
xtark@xtark-vmpc:~/Documents/httpclient-cpp/build$ cmake ..
-- The CXX compiler identification is GNU 7.5.0
-- 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
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.58.0")
CMake Error at HTTP/CMakeLists.txt:13 (install):
install TARGETS given no ARCHIVE DESTINATION for static library target
"httpclient".

-- Configuring incomplete, errors occurred!
See also "/home/xtark/Documents/httpclient-cpp/build/CMakeFiles/CMakeOutput.log".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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