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
E:\QTProjects\StackedWidget\mainwindow.cpp:342: error: no member named 'GetObjectW' in 'AlibabaCloud::OSS::OssClient'
E:\QTProjects\StackedWidget\mainwindow.cpp:342: error: 'class AlibabaCloud::OSS::OssClient' has no member named 'GetObjectW'; did you mean 'GetObject'?
auto outcome = client.GetObject(request);
^
我才用CMake+vs2022编译,看样子库配置没有问题,出在了重载上。但是我在调用#include <alibabacloud/oss/OssClient.h>之前使用 #undef GetObject
#undef GetObjectW
#undef GetObjectA
却没有起到任何效果!
实在是不理解了!请各位大师指条路。
”
void MainWindow::on_network_uodate_clicked()
{
// OSS账号信息初始化
std::string Endpoint = "https://oss-cn-hangzhou.aliyuncs.com";
std::string BucketName = "examplebucket";
std::string ObjectName = "exampledir/exampleobject.txt";
std::string FileNametoSave = "D:\localpath\examplefile.txt";
E:\QTProjects\StackedWidget\mainwindow.cpp:342: error: no member named 'GetObjectW' in 'AlibabaCloud::OSS::OssClient'
E:\QTProjects\StackedWidget\mainwindow.cpp:342: error: 'class AlibabaCloud::OSS::OssClient' has no member named 'GetObjectW'; did you mean 'GetObject'?
auto outcome = client.GetObject(request);
^
我才用CMake+vs2022编译,看样子库配置没有问题,出在了重载上。但是我在调用#include <alibabacloud/oss/OssClient.h>之前使用
#undef GetObject
#undef GetObjectW
#undef GetObjectA
却没有起到任何效果!
实在是不理解了!请各位大师指条路。
”
void MainWindow::on_network_uodate_clicked()
{
// OSS账号信息初始化
std::string Endpoint = "https://oss-cn-hangzhou.aliyuncs.com";
std::string BucketName = "examplebucket";
std::string ObjectName = "exampledir/exampleobject.txt";
std::string FileNametoSave = "D:\localpath\examplefile.txt";
}
“
The text was updated successfully, but these errors were encountered: