nihui:qsopcast不支持64位吗?
32位下编译正常,在64位下出现错误:[ 47%] Building CXX object src/CMakeFiles/qsopcast.dir/abstractchannel.cpp.o
[ 50%] Building CXX object src/CMakeFiles/qsopcast.dir/channel_bookmark.cpp.o
[ 52%] Building CXX object src/CMakeFiles/qsopcast.dir/channel_history.cpp.o
[ 55%] Building CXX object src/CMakeFiles/qsopcast.dir/channel_pplive.cpp.o
[ 58%] Building CXX object src/CMakeFiles/qsopcast.dir/channel_ppstream.cpp.o
[ 61%] Building CXX object src/CMakeFiles/qsopcast.dir/channel_sopcast.cpp.o
[ 64%] Building CXX object src/CMakeFiles/qsopcast.dir/channellistmodel.cpp.o
/usr/src/packages/BUILD/qsopcast-0.4.80/src/channellistmodel.cpp: In member function 'void ChannelListModel::addChannelList(const QHash<QString, QList<AbstractChannel*> >&)':
/usr/src/packages/BUILD/qsopcast-0.4.80/src/channellistmodel.cpp:108: error: cast from 'AbstractChannel*' to 'int' loses precision
/usr/src/packages/BUILD/qsopcast-0.4.80/src/channellistmodel.cpp: In member function 'void ChannelListModel::addChannelList(const QHash<QString, QHash<QString, QList<AbstractChannel*> > >&)':
/usr/src/packages/BUILD/qsopcast-0.4.80/src/channellistmodel.cpp:141: error: cast from 'AbstractChannel*' to 'int' loses precision
make: *** Error 1
make: *** Error 2
make: *** Error 2
error: Bad exit status from /var/tmp/rpm-tmp.38603 (%build)
[ 本帖最后由 hillwood 于 2009-12-3 12:44 编辑 ] 谢楼主反馈! :wink:
没照顾到 64位,所以把指针强转为 int 了........
下个版本修正 :wink:
但是 sopcast ppstream 本身要是不支持 64 位就没办法了.... totem的ppstream插件在64位下都很正常。
页:
[1]