我想在我的电脑上使用FADE 。所以,我必须使用 libaws++,这是一个允许与 Amazon Web Services 通信的 C++ 库。
好的,这是我的问题:
libaws++的网站不可用。我用谷歌搜索“libaws++”,只找到了libaws。我不知道 libaws 是否是 libaws++。他们都曾经与亚马逊网络服务通信。所以我从sourceforge下载 libaws 。
这是我安装 libaws 的过程:
- tar libaws-0.9.2.tar.gz
- cd libaws-0.9.2
- cp ~/libaws_patch_for_fade.patch libaws_patch_for_fade.patch(cp 到 libaws-0.9.2 的补丁)
- 补丁 -p2 -i libaws_patch_for_fade.patch
- mkdir libawsbuild
- cd libawsbuild
- 制作..
- 制作
并出现错误:
[ 28%] Building CXX object src/CMakeFiles/aws.dir/api/connectionpool.cpp.o
In file included from /home/lx/Nutstore/cloud/libaws-0.9.2/include/libaws/aws.h: 26:0,
from /home/lx/Nutstore/cloud/libaws-0.9.2/include/libaws/connec tionpool.h:22,
from /home/lx/Nutstore/cloud/libaws-0.9.2/src/api/connectionpoo l.cpp:16:
/home/lx/Nutstore/cloud/libaws-0.9.2/include/libaws/sqsresponse.h:124:9: error: a€?uint64_ta€? does not name a type
In file included from /home/lx/Nutstore/cloud/libaws-0.9.2/include/libaws/aws.h: 29:0,
from /home/lx/Nutstore/cloud/libaws-0.9.2/include/libaws/connec tionpool.h:22,
from /home/lx/Nutstore/cloud/libaws-0.9.2/src/api/connectionpoo
/home/lx/Nutstore/cloud/libaws-0.9.2/include/libaws/sqsresponse.h:124:9: error: a€?uint64_ta€? does not name a type
In file included from /home/lx/Nutstore/cloud/libaws-0.9.2/include/libaws/aws.h: 29:0,
from /home/lx/Nutstore/cloud/libaws-0.9.2/include/libaws/connec tionpool.h:22,
from /home/lx/Nutstore/cloud/libaws-0.9.2/src/api/connectionpoo l.cpp:16:
/home/lx/Nutstore/cloud/libaws-0.9.2/include/libaws/sdbresponse.h:105:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
.....
make[2]: *** [src/CMakeFiles/aws.dir/api/connectionpool.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/aws.dir/all] Error 2
make: *** [all] Error 2
我在谷歌和stackoverflow上搜索并没有得到任何有用的信息。