You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used vcpkg install azure-storage-cpp azure-storage-cpp:x86-windows-static
attempting to create libs/headers which I can reference in another project. However, when I build my other project with these libs/headers, I'm still seeing errors like unresolved external symbol "__declspec(dllimport) public: class azure::storage::cloud_file_client __thiscall azure::storage::cloud_storage_account::create_cloud_file_client(void)
which makes me think that the static libraries are not being found.
The text was updated successfully, but these errors were encountered:
@opalr
Sorry for such late response, we never tried with static building scenario either..
To reference the static built library, you'd need to define #define _NO_WASTORAGE_API before including azure storage sdk headers. After defined this macro, you still need to add to link azure storage SDK reference static libraries like:
"xmllite.lib
bcrypt.lib
rpcrt4.lib
Crypt32.lib
Winhttp.lib"
Have run into the same issue and thanks for the fix.
It would be good if this had more visibility by being referenced in the readme or somewhere appropriate.
I used
vcpkg install azure-storage-cpp azure-storage-cpp:x86-windows-static
attempting to create libs/headers which I can reference in another project. However, when I build my other project with these libs/headers, I'm still seeing errors like
unresolved external symbol "__declspec(dllimport) public: class azure::storage::cloud_file_client __thiscall azure::storage::cloud_storage_account::create_cloud_file_client(void)
which makes me think that the static libraries are not being found.
The text was updated successfully, but these errors were encountered: