Skip to content

Compilation fixes for UWP#4335

Merged
antkmsft merged 4 commits into
Azure:mainfrom
antkmsft:fix-uwp
Feb 3, 2023
Merged

Compilation fixes for UWP#4335
antkmsft merged 4 commits into
Azure:mainfrom
antkmsft:fix-uwp

Conversation

@antkmsft

@antkmsft antkmsft commented Feb 2, 2023

Copy link
Copy Markdown
Member

No description provided.

Comment thread sdk/core/azure-core/vcpkg/Config.cmake.in Outdated
Comment thread sdk/identity/azure-identity/src/azure_cli_credential.cpp
Comment thread sdk/identity/azure-identity/src/azure_cli_credential.cpp

@antkmsft antkmsft left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woo-hoo! I was able to locally build all our packages as x64-uwp, x64-windows, and x64-windows-static. We're good.

PS C:\src\vcpkg>.\vcpkg install `
azure-core-cpp:x64-windows                              azure-core-cpp:x64-windows-static                              azure-core-cpp:x64-uwp                             `
                                                        azure-core-tracing-opentelemetry-cpp:x64-windows-static                                                           `
azure-identity-cpp:x64-windows                          azure-identity-cpp:x64-windows-static                          azure-identity-cpp:x64-uwp                         `
azure-security-attestation-cpp:x64-windows              azure-security-attestation-cpp:x64-windows-static              azure-security-attestation-cpp:x64-uwp             `
azure-security-keyvault-administration-cpp:x64-windows  azure-security-keyvault-administration-cpp:x64-windows-static  azure-security-keyvault-administration-cpp:x64-uwp `
azure-security-keyvault-certificates-cpp:x64-windows    azure-security-keyvault-certificates-cpp:x64-windows-static    azure-security-keyvault-certificates-cpp:x64-uwp   `
azure-security-keyvault-keys-cpp:x64-windows            azure-security-keyvault-keys-cpp:x64-windows-static            azure-security-keyvault-keys-cpp:x64-uwp           `
azure-security-keyvault-secrets-cpp:x64-windows         azure-security-keyvault-secrets-cpp:x64-windows-static         azure-security-keyvault-secrets-cpp:x64-uwp        `
azure-storage-blobs-cpp:x64-windows                     azure-storage-blobs-cpp:x64-windows-static                     azure-storage-blobs-cpp:x64-uwp                    `
azure-storage-common-cpp:x64-windows                    azure-storage-common-cpp:x64-windows-static                    azure-storage-common-cpp:x64-uwp                   `
azure-storage-files-datalake-cpp:x64-windows            azure-storage-files-datalake-cpp:x64-windows-static            azure-storage-files-datalake-cpp:x64-uwp           `
azure-storage-files-shares-cpp:x64-windows              azure-storage-files-shares-cpp:x64-windows-static              azure-storage-files-shares-cpp:x64-uwp             `
azure-storage-queues-cpp:x64-windows                    azure-storage-queues-cpp:x64-windows-static                    azure-storage-queues-cpp:x64-uwp                   `
azure-security-keyvault-administration-cpp:x64-windows  azure-security-keyvault-administration-cpp:x64-windows-static  azure-security-keyvault-administration-cpp:x64-uwp

...

Computing installation plan...
The following packages will be built and installed:
    azure-core-cpp[core,curl,http]:x64-uwp -> 1.8.0-beta.4
    azure-core-cpp[core,curl,http,winhttp]:x64-windows -> 1.8.0-beta.4
    azure-core-cpp[core,curl,http,winhttp]:x64-windows-static -> 1.8.0-beta.4
    azure-core-tracing-opentelemetry-cpp[core]:x64-windows-static -> 1.0.0-beta.4
    azure-identity-cpp[core]:x64-uwp -> 1.4.0-beta.4
    azure-identity-cpp[core]:x64-windows -> 1.4.0-beta.4
    azure-identity-cpp[core]:x64-windows-static -> 1.4.0-beta.4
    azure-security-attestation-cpp[core]:x64-uwp -> 1.1.0-beta.2
    azure-security-attestation-cpp[core]:x64-windows -> 1.1.0-beta.2
    azure-security-attestation-cpp[core]:x64-windows-static -> 1.1.0-beta.2
    azure-security-keyvault-administration-cpp[core]:x64-uwp -> 4.0.0-beta.1
    azure-security-keyvault-administration-cpp[core]:x64-windows-static -> 4.0.0-beta.1
    azure-security-keyvault-administration-cpp[core]:x64-windows -> 4.0.0-beta.1
    azure-security-keyvault-certificates-cpp[core]:x64-windows-static -> 4.2.0-beta.1
    azure-security-keyvault-certificates-cpp[core]:x64-windows -> 4.2.0-beta.1
    azure-security-keyvault-certificates-cpp[core]:x64-uwp -> 4.2.0-beta.1
    azure-security-keyvault-keys-cpp[core]:x64-windows-static -> 4.4.0-beta.1
    azure-security-keyvault-keys-cpp[core]:x64-windows -> 4.4.0-beta.1
    azure-security-keyvault-keys-cpp[core]:x64-uwp -> 4.4.0-beta.1
    azure-security-keyvault-secrets-cpp[core]:x64-windows-static -> 4.2.0-beta.1
    azure-security-keyvault-secrets-cpp[core]:x64-windows -> 4.2.0-beta.1
    azure-security-keyvault-secrets-cpp[core]:x64-uwp -> 4.2.0-beta.1
    azure-storage-blobs-cpp[core]:x64-windows -> 12.7.0-beta.1
    azure-storage-blobs-cpp[core]:x64-uwp -> 12.7.0-beta.1
    azure-storage-blobs-cpp[core]:x64-windows-static -> 12.7.0-beta.1
    azure-storage-common-cpp[core]:x64-windows -> 12.4.0-beta.1
    azure-storage-common-cpp[core]:x64-uwp -> 12.4.0-beta.1
    azure-storage-common-cpp[core]:x64-windows-static -> 12.4.0-beta.1
    azure-storage-files-datalake-cpp[core]:x64-windows-static -> 12.6.0-beta.1
    azure-storage-files-datalake-cpp[core]:x64-uwp -> 12.6.0-beta.1
    azure-storage-files-datalake-cpp[core]:x64-windows -> 12.6.0-beta.1
    azure-storage-files-shares-cpp[core]:x64-uwp -> 12.4.0-beta.1
    azure-storage-files-shares-cpp[core]:x64-windows -> 12.4.0-beta.1
    azure-storage-files-shares-cpp[core]:x64-windows-static -> 12.4.0-beta.1
    azure-storage-queues-cpp[core]:x64-uwp -> 12.1.0-beta.1
    azure-storage-queues-cpp[core]:x64-windows -> 12.1.0-beta.1
    azure-storage-queues-cpp[core]:x64-windows-static -> 12.1.0-beta.1
  * curl[core,non-http,schannel,ssl,sspi]:x64-windows -> 7.87.0
  * curl[core,non-http,openssl,ssl]:x64-uwp -> 7.87.0
  * curl[core,non-http,schannel,ssl,sspi]:x64-windows-static -> 7.87.0
  * nlohmann-json[core]:x64-windows-static -> 3.11.2
  * openssl[core]:x64-uwp -> 3.0.7#2
  * openssl[core]:x64-windows-static -> 3.0.7#2
  * openssl[core]:x64-windows -> 3.0.7#2
  * opentelemetry-cpp[core]:x64-windows-static -> 1.8.1#1
  * vcpkg-cmake[core]:x64-windows -> 2022-12-22
  * vcpkg-cmake-config[core]:x64-windows -> 2022-02-06#1
  * vcpkg-cmake-get-vars[core]:x64-windows -> 2022-12-16
  * wil[core]:x64-windows-static -> 2022-09-23
  * wil[core]:x64-windows -> 2022-09-23
  * zlib[core]:x64-windows-static -> 1.2.13
  * zlib[core]:x64-windows -> 1.2.13
  * zlib[core]:x64-uwp -> 1.2.13
Additional packages (*) will be modified to complete this operation.

...

Installing 1/53 vcpkg-cmake:x64-windows...
...
Installing 2/53 vcpkg-cmake-config:x64-windows...
...
Installing 3/53 vcpkg-cmake-get-vars:x64-windows...
...
Installing 4/53 openssl:x64-uwp...
...
Installing 5/53 zlib:x64-uwp...
...
Installing 6/53 curl:x64-uwp...
...
Installing 7/53 azure-core-cpp:x64-uwp...
...
Installing 8/53 zlib:x64-windows...
...
Installing 9/53 curl:x64-windows...
...
Installing 10/53 wil:x64-windows...
...
Installing 11/53 azure-core-cpp:x64-windows...
...
Installing 12/53 zlib:x64-windows-static...
...
Installing 13/53 curl:x64-windows-static...
...
Installing 14/53 wil:x64-windows-static...
...
Installing 15/53 azure-core-cpp:x64-windows-static...
...
Installing 16/53 nlohmann-json:x64-windows-static...
...
Installing 17/53 opentelemetry-cpp:x64-windows-static...
...
Installing 18/53 azure-core-tracing-opentelemetry-cpp:x64-windows-static...
...
Installing 19/53 azure-identity-cpp:x64-uwp...
...
Installing 20/53 openssl:x64-windows...
...
Installing 21/53 azure-identity-cpp:x64-windows...
...
Installing 22/53 openssl:x64-windows-static...
...
Installing 23/53 azure-identity-cpp:x64-windows-static...
...
Installing 24/53 azure-security-attestation-cpp:x64-uwp...
...
Installing 25/53 azure-security-attestation-cpp:x64-windows...
...
Installing 26/53 azure-security-attestation-cpp:x64-windows-static...
...
Installing 27/53 azure-security-keyvault-administration-cpp:x64-uwp...
...
Installing 28/53 azure-security-keyvault-administration-cpp:x64-windows...
...
Installing 29/53 azure-security-keyvault-administration-cpp:x64-windows-static...
...
Installing 30/53 azure-security-keyvault-certificates-cpp:x64-uwp...
...
Installing 31/53 azure-security-keyvault-certificates-cpp:x64-windows...
...
Installing 32/53 azure-security-keyvault-certificates-cpp:x64-windows-static...
...
Installing 33/53 azure-security-keyvault-keys-cpp:x64-uwp...
...
Installing 34/53 azure-security-keyvault-keys-cpp:x64-windows...
...
Installing 35/53 azure-security-keyvault-keys-cpp:x64-windows-static...
...
Installing 36/53 azure-security-keyvault-secrets-cpp:x64-uwp...
...
Installing 37/53 azure-security-keyvault-secrets-cpp:x64-windows...
...
Installing 38/53 azure-security-keyvault-secrets-cpp:x64-windows-static...
...
Installing 39/53 azure-storage-common-cpp:x64-uwp...
...
Installing 40/53 azure-storage-blobs-cpp:x64-uwp...
...
Installing 41/53 azure-storage-common-cpp:x64-windows...
...
Installing 42/53 azure-storage-blobs-cpp:x64-windows...
...
Installing 43/53 azure-storage-common-cpp:x64-windows-static...
...
Installing 44/53 azure-storage-blobs-cpp:x64-windows-static...
...
Installing 45/53 azure-storage-files-datalake-cpp:x64-uwp...
...
Installing 46/53 azure-storage-files-datalake-cpp:x64-windows...
...
Installing 47/53 azure-storage-files-datalake-cpp:x64-windows-static...
...
Installing 48/53 azure-storage-files-shares-cpp:x64-uwp...
...
Installing 49/53 azure-storage-files-shares-cpp:x64-windows...
...
Installing 50/53 azure-storage-files-shares-cpp:x64-windows-static...
...
Installing 51/53 azure-storage-queues-cpp:x64-uwp...
...
Installing 52/53 azure-storage-queues-cpp:x64-windows...
...
Installing 53/53 azure-storage-queues-cpp:x64-windows-static...

...

Total install time: 1.546 h
azure-core-cpp provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(azure-core-cpp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Azure::azure-core)

azure-core-tracing-opentelemetry-cpp provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(azure-core-tracing-opentelemetry-cpp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Azure::azure-core-tracing-opentelemetry)

azure-identity-cpp provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(azure-identity-cpp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Azure::azure-identity)

azure-security-attestation-cpp provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(azure-security-attestation-cpp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Azure::azure-security-attestation)

azure-security-keyvault-administration-cpp provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(azure-security-keyvault-administration-cpp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Azure::azure-security-keyvault-administration)

azure-security-keyvault-certificates-cpp provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(azure-security-keyvault-certificates-cpp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Azure::azure-security-keyvault-certificates)

azure-security-keyvault-keys-cpp provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(azure-security-keyvault-keys-cpp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Azure::azure-security-keyvault-keys)

azure-security-keyvault-secrets-cpp provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(azure-security-keyvault-secrets-cpp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Azure::azure-security-keyvault-secrets)

azure-storage-common-cpp provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(azure-storage-common-cpp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Azure::azure-storage-common)

azure-storage-blobs-cpp provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(azure-storage-blobs-cpp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Azure::azure-storage-blobs)

azure-storage-files-datalake-cpp provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(azure-storage-files-datalake-cpp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Azure::azure-storage-files-datalake)

azure-storage-files-shares-cpp provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(azure-storage-files-shares-cpp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Azure::azure-storage-files-shares)

azure-storage-queues-cpp provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(azure-storage-queues-cpp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Azure::azure-storage-queues)

PS C:\src\vcpkg>

@antkmsft antkmsft merged commit 243fb4c into Azure:main Feb 3, 2023
@antkmsft antkmsft deleted the fix-uwp branch February 3, 2023 04:04
@antkmsft

antkmsft commented Feb 3, 2023

Copy link
Copy Markdown
Member Author

I also manually pushed the changes to our daily vcpkg verification branch to include all the packages with their recent state, everything is green: microsoft/vcpkg#17119

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants