Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Linking issue - Undefined reference while accessing azure storage with C++ #422

@KaavyaShreeSK

Description

@KaavyaShreeSK

Hi team,

Facing challenges in accessing the azure blob storage using SDK in C++. Followed all procedures as mentioned in the documentation, yet having issues while linking the libraries. I've installed the libraries using Vcpkg. Have linked the following libraries in the cmakeList.txt,

azure-storage-common

azure-storage-blobs

azure-core

Even after linking the libraries, getting undefined reference to the functions of azure storage.

undefined reference to `Azure::Storage::Blobs::BlobServiceClient::CreateFromConnectionString(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, Azure::Storage::Blobs::BlobClientOptions const&)'

I request to kindly guide me on resolving the error and let me know if this is due to any mistakes while library linking and installation.

Thanks

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions