iphone同步到itunes7用itunes同步不了

2009年8月 C/C++大版内专家分月排行榜第三2009年7月 C/C++大版内专家分月排行榜第三2009年2月 C/C++大版内专家分月排行榜第三
2003年9月 C/C++大版内专家分月排行榜第二2002年6月 C/C++大版内专家分月排行榜第二2002年4月 C/C++大版内专家分月排行榜第二
2007年3月 C/C++大版内专家分月排行榜第三2007年2月 C/C++大版内专家分月排行榜第三2007年1月 C/C++大版内专家分月排行榜第三2003年7月 C/C++大版内专家分月排行榜第三
2003年9月 C/C++大版内专家分月排行榜第二2002年6月 C/C++大版内专家分月排行榜第二2002年4月 C/C++大版内专家分月排行榜第二
2007年3月 C/C++大版内专家分月排行榜第三2007年2月 C/C++大版内专家分月排行榜第三2007年1月 C/C++大版内专家分月排行榜第三2003年7月 C/C++大版内专家分月排行榜第三
本帖子已过去太久远了,不再提供回复功能。怎么更新了下GCC就用不了boost了……_c++吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:279,728贴子:
怎么更新了下GCC就用不了boost了……收藏
c++海同强大的师资阵容,因人制定课程内容,分阶段学习.c++就到正规IT技术培训机构-海同科技,培训IT技术面对面教学,免费重读!
D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o)||In function `ZN5boost9gregorian10greg_month17get_month_map_ptrEv':|D:\u\Tools\C++\boost_1_47_0\boost_1_47_0\libs\date_time\src\gregorian\greg_month.cpp|36|multiple definition of `boost::gregorian::greg_month::get_month_map_ptr()'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-1_47.a(greg_month.o):greg_month.cpp|| first defined here|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o)||In function `ZNK5boost9gregorian10greg_month15as_short_stringEv':|D:\u\Tools\C++\boost_1_47_0\boost_1_47_0\libs\date_time\src\gregorian\greg_month.cpp|58|multiple definition of `boost::gregorian::greg_month::as_short_string() const'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-1_47.a(greg_month.o):greg_month.cpp|| first defined here|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o)||In function `ZNK5boost9gregorian10greg_month14as_long_stringEv':|D:\u\Tools\C++\boost_1_47_0\boost_1_47_0\libs\date_time\src\gregorian\greg_month.cpp|65|multiple definition of `boost::gregorian::greg_month::as_long_string() const'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-1_47.a(greg_month.o):greg_month.cpp|| first defined here|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o)||In function `ZN5boost9gregorian25special_value_from_stringERKSs':|D:\u\Tools\C++\boost_1_47_0\boost_1_47_0\libs\date_time\src\gregorian\greg_month.cpp|73|multiple definition of `boost::gregorian::special_value_from_string(std::string const&)'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-1_47.a(greg_month.o):greg_month.cpp|| first defined here|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o)||In function `ZNK5boost9gregorian10greg_month16as_short_wstringEv':|D:\u\Tools\C++\boost_1_47_0\boost_1_47_0\libs\date_time\src\gregorian\greg_month.cpp|91|multiple definition of `boost::gregorian::greg_month::as_short_wstring() const'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-1_47.a(greg_month.o):greg_month.cpp|| first defined here|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o)||In function `ZNK5boost9gregorian10greg_month15as_long_wstringEv':|D:\u\Tools\C++\boost_1_47_0\boost_1_47_0\libs\date_time\src\gregorian\greg_month.cpp|98|multiple definition of `boost::gregorian::greg_month::as_long_wstring() const'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-1_47.a(greg_month.o):greg_month.cpp|| first defined here|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o)||In function `ZN5boost9gregorian16create_facet_defEc':|D:\u\Tools\C++\boost_1_47_0\boost_1_47_0\libs\date_time\src\gregorian\greg_month.cpp|112|multiple definition of `boost::gregorian::create_facet_def(char)'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-1_47.a(greg_month.o):greg_month.cpp|| first defined here|
D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o)||In function `ZN5boost9gregorian15generate_localeERSt6localec':|D:\u\Tools\C++\boost_1_47_0\boost_1_47_0\libs\date_time\src\gregorian\greg_month.cpp|124|multiple definition of `boost::gregorian::generate_locale(std::locale&, char)'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-1_47.a(greg_month.o):greg_month.cpp|| first defined here|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o)||In function `ZN5boost9gregorian16create_facet_defEw':|D:\u\Tools\C++\boost_1_47_0\boost_1_47_0\libs\date_time\src\gregorian\greg_month.cpp|143|multiple definition of `boost::gregorian::create_facet_def(wchar_t)'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-1_47.a(greg_month.o):greg_month.cpp|| first defined here|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o)||In function `ZN5boost9gregorian15generate_localeERSt6localew':|D:\u\Tools\C++\boost_1_47_0\boost_1_47_0\libs\date_time\src\gregorian\greg_month.cpp|155|multiple definition of `boost::gregorian::generate_locale(std::locale&, wchar_t)'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-1_47.a(greg_month.o):greg_month.cpp|| first defined here|d:\u\tools\c++\mingw\bin\..\lib\gcc\i686-w64-mingw32\4.6.2\..\..\..\..\lib\libstdc++.a(stdexcept.o)||In function `~out_of_range':|\home\oracle\vcs\svn\gcc\branches\gcc-4_6-branch\libstdc++-v3\src\stdexcept.cc|64|multiple definition of `std::out_of_range::~out_of_range()'|d:\u\tools\c++\mingw\bin\..\lib\gcc\i686-w64-mingw32\4.6.2\..\..\..\..\lib\libstdc++.a(stdexcept.o)||In function `~out_of_range':|\home\oracle\vcs\svn\gcc\branches\gcc-4_6-branch\libstdc++-v3\src\stdexcept.cc|64|multiple definition of `std::out_of_range::~out_of_range()'|d:\u\tools\c++\mingw\bin\..\lib\gcc\i686-w64-mingw32\4.6.2\..\..\..\..\lib\libstdc++.a(stdexcept.o)||In function `~out_of_range':|\home\oracle\vcs\svn\gcc\branches\gcc-4_6-branch\libstdc++-v3\src\stdexcept.cc|64|multiple definition of `std::out_of_range::~out_of_range()'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-1_47.a(greg_month.o):greg_month.cpp|| undefined reference to `_Unwind_Resume'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-1_47.a(greg_month.o):greg_month.cpp|| undefined reference to `_Unwind_Resume'| boost::date_time::weekdays) const]+0x10b)||undefined reference to `_Unwind_Resume'| boost::date_time::special_values) const]+0xe0)||undefined reference to `_Unwind_Resume'|) const]+0xc9)||undefined reference to `_Unwind_Resume'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-1_47.a(greg_month.o):greg_month.cpp:(.eh_frame+0x12)||undefined reference to `__gxx_personality_v0'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o):greg_month.cpp|| undefined reference to `_Unwind_Resume'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o):greg_month.cpp|| undefined reference to `_Unwind_Resume'|
D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o):greg_month.cpp|| undefined reference to `_Unwind_Resume'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o):greg_month.cpp|| undefined reference to `_Unwind_Resume'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o):greg_month.cpp|| undefined reference to `_Unwind_Resume'|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o):greg_month.cpp|| more undefined references to `_Unwind_Resume' follow|D:\u\Tools\C++\MinGW\lib\boost\libboost_date_time-mgw45-mt-d-1_47.a(greg_month.o):greg_month.cpp:(.eh_frame+0x12)||undefined reference to `__gxx_personality_v0'|D:\u\Tools\C++\MinGW\lib\boost\libboost_thread-mgw45-mt-1_47.a(thread.o):thread.cpp|| undefined reference to `_Unwind_Resume'|D:\u\Tools\C++\MinGW\lib\boost\libboost_thread-mgw45-mt-1_47.a(thread.o):thread.cpp|| undefined reference to `_Unwind_Resume'|D:\u\Tools\C++\MinGW\lib\boost\libboost_thread-mgw45-mt-1_47.a(thread.o):thread.cpp|| undefined reference to `_Unwind_Resume'|D:\u\Tools\C++\MinGW\lib\boost\libboost_thread-mgw45-mt-1_47.a(thread.o):thread.cpp|| undefined reference to `_Unwind_Resume'|D:\u\Tools\C++\MinGW\lib\boost\libboost_thread-mgw45-mt-1_47.a(thread.o):thread.cpp|| undefined reference to `_Unwind_Resume'|D:\u\Tools\C++\MinGW\lib\boost\libboost_thread-mgw45-mt-1_47.a(thread.o):thread.cpp|| more undefined references to `_Unwind_Resume' follow|D:\u\Tools\C++\MinGW\lib\boost\libboost_thread-mgw45-mt-1_47.a(thread.o):thread.cpp:(.eh_frame+0x12)||undefined reference to `__gxx_personality_v0'|||=== Build finished: 43 errors, 0 warnings (0 minutes, 6 seconds) ===|#include &iostream&#include &boost/thread.hpp&int main(){````boost::this_thread::sleep(boost::posix_time::seconds(5));````return 0;}
错误提示?不行就重新编译一次吧
不是发了么……没用……难道要重编译boost= =
你装了几个boost?好像冲突了?
回复6楼:爪机反应慢…
还能装几个……
怎么可能……装那么多boost干嘛……
c++培训课程,美国上市公司&达内&出品c++课程,15年教学经验,总监级c++讲师亲授!!达内开创&先就业后付款&模式.名企项目总监授课,成就&稀缺级&c/c++软件工程师
算了……看来我还是重编译下boost吧……
错误提示里有来自两个路径的boost文件符号冲突了…看看是不是要改改链接选项?
不知道……我还是先重编译下把……
啊,知道是怎么回事了……
表示一个小错误变成一大堆模板错误是大量应用模板的后果 = =
是我装了两份boost……
原来gcc4.6.2可以自动检测的啊……= =
boost作用大吗?我正在犹豫还学不学boost。
这个版本(MinGW-w64)与boost::thread有兼容性问题,不知现在修复了没有。。。
怎么又不对了……
这样啊。。。。。
我记得跟你说过吧
什么情况……Linking console executable: bin\Release\Hello.exed:/u/tools/c++/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../lib\libmingw32.a(lib32_libmingw32_a-tlssup.o):tlssup.c:(.tls+0x0): multiple definition of `_tls_used'D:\u\Tools\C++\MinGW\lib\libboost_thread-mgw46-mt-1_47.a(tss_pe.o):tss_pe.cpp:(.rdata$T+0x0): first defined herecollect2: ld returned 1 exit statusProcess terminated with status 1 (0 minutes, 11 seconds)0 errors, 0 warnings (0 minutes, 11 seconds)
Linking console executable: bin\Release\Hello.exed:/u/tools/c++/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../lib\libmingw32.a(lib32_libmingw32_a-tlssup.o):tlssup.c:(.tls+0x0): multiple definition of `_tls_used'D:\u\Tools\C++\MinGW\lib\libboost_thread-mgw46-mt-1_47.a(tss_pe.o):tss_pe.cpp:(.rdata$T+0x0): first defined herecollect2: ld returned 1 exit statusProcess terminated with status 1 (0 minutes, 11 seconds)0 errors, 0 warnings (0 minutes, 11 seconds) 还吞……
果然是这个,跟我遇到的一样
怎么解决……
不知道。。。估计得去官网反映一下,让官方解决
登录百度帐号推荐应用
为兴趣而生,贴吧更懂你。或Linux下boost库的安装
下boost库的安装
& 最近由于编译一个程序用到了C++的boost库,所以便安装了这个库。但是,其中遇到了一些小问题。所以记录下来,以供别人参考。
& & & & &首先说一下我的环境:Ubuntu 12.04 32bit, &gcc 4.6.3
& & & & &其实在ubuntu下,可以用一下命令直接安装
sudo apt-get install libboost-dev&
& & & & & 但是,我这样安装以后,编译程序时出现了很多错误,而且都是文件的错误。我开始以为是我的boost库版本不对,后来换了好几个版本,都出现了同样的问题。后来,自己编译了一个boost.1.42。然后程序就顺利通过了。后来想了一下原因,可能是因为从上面的命令默认安装的boost在编译打包时没有开启mpi这个功能。而我的程序需要这个功能。以下说一下安装的简要步骤(我编译了boost1.42和boost1.50,两者安装方法相同,以后者为例): & &
&1.下载boost1.53源文件 (93.56M) &http://sourceforge.net/projects/boost/files/latest/download?source=dlp
&2.解压后,进入boost_1_53_0目录,执行:./bootstrap.sh
&3.(重点)修改 &tools/build/v2/user-config.jam文件,在最后面加上一行&&(注意mpi后面有个空格, & & & 然后一个分号 )
& 4. 执行: ./b2
& 5. 执行:sudo ./b2 &install
& & & 以上便是全部安装过程,因为网上提到的比较多,所以此处从略。重点想提的是第三步,务必记得。不过,如果你的程序不需要mpi这个功能,那也就不重要了。应用默认设置即可。而且,第四步,执行时可以在后面家prefix参数,如果不加,装好后,默认的头文件在/usr/local/include/boost目录下。库文件在/usr/local/lib/目录下。默认不用修改。
& & & &如果编译好程序后,在运行时提示无法加载某个库文件,则把/usr/local/lib下的所有boost的库文件mv到/usr/lib目录下就可以了。boost(7)

Linux中安装boost库详解&&
14:31:08|&&分类:
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:13319次
排名:千里之外
转载:85篇
(8)(13)(1)(2)(1)(1)(6)(7)(5)(29)(14)

我要回帖

更多关于 itunes如何同步iphone 的文章

 

随机推荐