Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[curlpp:x64-windows] build failure #10525

Closed
ghost opened this issue Mar 23, 2020 · 1 comment
Closed

[curlpp:x64-windows] build failure #10525

ghost opened this issue Mar 23, 2020 · 1 comment
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@ghost
Copy link

ghost commented Mar 23, 2020

Host Environment

  • OS: [Microsoft Windows [Version 10.0.18363.720]]
  • Compiler: Visual Studio 2019 Version: 16.5.0 VS Tools Version: 14.25.28610

To Reproduce
Steps to reproduce the behavior:
'.\vcpkg.exe install curlpp:x64-windows'

Failure logs

  • Console Output:
    -- Using cached D:/Git/vcpkg.downloads/jpbarrette-curlpp-8810334c830faa3b38bcd94f5b1ab695a4f05eb9.tar.gz
    -- Using source at D:/Git/vs2019.prod/buildtrees/curlpp/src/95a4f05eb9-6c154942c9
    -- Configuring x64-windows
    CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: ninja -v
    Working Directory: D:/Git/vs2019.prod/buildtrees/curlpp/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
    D:\Git\vs2019.prod\buildtrees\curlpp\config-x64-windows-out.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:295 (vcpkg_execute_required_process)
ports/curlpp/portfile.cmake:11 (vcpkg_configure_cmake)
scripts/ports.cmake:90 (include)

Additional context
From the above attached logs it appears the process cannot find ports it depends on:

CMake Error at D:/Git/vs2019.prod/scripts/buildsystems/vcpkg.cmake:217 (_add_library):
Target "curlpp" links to target "OpenSSL::Crypto" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:89 (add_library)

CMake Error at D:/Git/vs2019.prod/scripts/buildsystems/vcpkg.cmake:217 (_add_library):
Target "curlpp" links to target "ZLIB::ZLIB" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:89 (add_library)

CMake Warning (dev) at D:/Git/vs2019.prod/scripts/buildsystems/vcpkg.cmake:217 (_add_library):
Policy CMP0003 should be set before this line. Add code such as

if(COMMAND cmake_policy)
  cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

as early as possible but after the most recent call to
cmake_minimum_required or cmake_policy(VERSION). This warning appears
because target "curlpp" links to some libraries for which the linker must
search:

wldap32, winmm, ws2_32, advapi32, crypt32, advapi32, OpenSSL::SSL
OpenSSL::Crypto, ZLIB::ZLIB, crypt32, OpenSSL::SSL, OpenSSL::Crypto
ZLIB::ZLIB

and other libraries with known full path:

D:/Git/vs2019.prod/installed/x64-windows/debug/lib/libcurl-d.lib
D:/Git/vs2019.prod/installed/x64-windows/lib/cares.lib
@ghost ghost added the category:port-bug The issue is with a library, which is something the port should already support label Mar 23, 2020
@LilyWangL LilyWangL self-assigned this Mar 24, 2020
@LilyWangL
Copy link
Contributor

Thanks for posting this issue. This issue has been fixed. So I am closing this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

No branches or pull requests

1 participant