Linking issue - Undefined reference while accessing azure storage with C++
Opened this issue · 0 comments
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