Hi there,
I’ve spent a some time trying to build the Google cloud storage version of the cloud storage plugin, following this instructions. In the process I’ve notice two problems:
-
In the docs the use of vcpkg is recommended, to install the google-cloud-cpp library but the required version of the library to make the plugin works is not specified. And the plugin doesn’t work with the latest version of the library (2.1.0).
-
Through trial and error, I realized that the version of google-cloud-cpp supported by the plugin is 0.21.0, released on 04/2020, and I managed to successfully build the plugin. But according to the changelog of google-cloud-cpp, after 2023-07-01 they will drop all support to v1.42.0 and earlier versions.
After that I tried to adapt the plugin to use the version 2.1.0 of google-cloud-cpp but I got stuck on this error:
/usr/bin/ld: CMakeFiles/OrthancGoogleCloudStorage.dir/GoogleStoragePlugin.cpp.o: in function GoogleStoragePluginFactory::CreateStoragePlugin(OrthancPlugins::OrthancConfiguration const&)': GoogleStoragePlugin.cpp:(.text+0x7de): undefined reference to
google::v2_1_0::Status::~Status()’
I tried to solve it, but my C++ skills aren’t enough to solve it.
There are future plans to update this dependency before his deprecation?
Best regards.