OpenRTMFP/Cumulus — Issue #45: build error 
Author: yaohuan
Created: 2011-12-06 11:08:14+00:00
State: open

Hello,cumulusdev , I like Cumulus very much, but I found a problem when I build Cumulus source code by Visual Studio 2008 or Visual Studio 2010 .

issue:

1>------ 已启动全部重新生成: 项目: CumulusLib, 配置: debug_shared Win32 ------
1> Target.cpp
1> Middle.cpp
1> Streams.cpp
1> QualityOfService.cpp
1> Publications.cpp
1> Publication.cpp
1> Listener.cpp
1> Trigger.cpp
1> Message.cpp
1> FlowWriter.cpp
1> FlowStream.cpp
1> FlowNull.cpp
1> FlowGroup.cpp
1> FlowConnection.cpp
1> Flow.cpp
1> Sessions.cpp
1> Session.cpp
1> Handshake.cpp
1> Cookie.cpp
1> Logs.cpp
1> 正在生成代码...
1> 正在编译...
1> RTMFPServer.cpp
1> RTMFP.cpp
1> Peer.cpp
1> Handler.cpp
1> Group.cpp
1> Entity.cpp
1> Clients.cpp
1> AESEngine.cpp
1> Util.cpp
1> Startable.cpp
1> ServerSession.cpp
1> ServerConnection.cpp
1> RTMFPServerEdge.cpp
1> Address.cpp
1> PacketWriter.cpp
1> PacketReader.cpp
1> MemoryStream.cpp
1> EdgeSession.cpp
1> Edges.cpp
1> BinaryWriter.cpp
1> 正在生成代码...
1> 正在编译...
1> BinaryStream.cpp
1>d:\vs2010space\openrtmfp\cumuluslib\sources\binarystream.cpp(41): warning C4244: “初始化”: 从“std::streamoff”转换到“int”，可能丢失数据
1> BinaryReader.cpp
1> AMFWriter.cpp
1> AMFReader.cpp
1> AMFObjectWriter.cpp
1> AMFObject.cpp
1> Cumulus.cpp
1> 正在生成代码...
1> 正在创建库 D:\vs2010space\OpenRTMFP\CumulusLib\lib/\CumulusLibd.lib 和对象 D:\vs2010space\OpenRTMFP\CumulusLib\lib/\CumulusLibd.exp
1> 正在创建库 D:\vs2010space\OpenRTMFP\CumulusLib\lib/\CumulusLibd.lib 和对象 D:\vs2010space\OpenRTMFP\CumulusLib\lib/\CumulusLibd.exp
1> CumulusLib.vcxproj -> D:\vs2010space\OpenRTMFP\CumulusLib\lib/\CumulusLibd.dll
2>------ 已启动全部重新生成: 项目: CumulusService, 配置: debug_shared Win32 ------
2> StatusWriter.cpp
2> Server.cpp
2> main.cpp
2> Auth.cpp
2> 正在生成代码...
2>Server.obj : error LNK2019: 无法解析的外部符号 "public: class Cumulus::FlowWriter & __thiscall Cumulus::Client::writer(void)" (?writer@Client@Cumulus@@QAEAAVFlowWriter@2@XZ)，该符号在函数 "private: virtual bool __thiscall Server::onConnection(class Cumulus::Client &,class Cumulus::AMFReader &)" (?onConnection@Server@@EAE_NAAVClient@Cumulus@@AAVAMFReader@3@@Z) 中被引用
2>Server.obj : error LNK2019: 无法解析的外部符号 "public: double __thiscall Cumulus::AMFReader::readNumber(void)" (?readNumber@AMFReader@Cumulus@@QAENXZ)，该符号在函数 "private: virtual bool __thiscall Server::onMessage(class Cumulus::Client &,class std::basic_string,class std::allocator > const &,class Cumulus::AMFReader &)" (?onMessage@Server@@EAE_NAAVClient@Cumulus@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAVAMFReader@3@@Z) 中被引用
2>StatusWriter.obj : error LNK2019: 无法解析的外部符号 "public: class Cumulus::QualityOfService const & __thiscall Cumulus::Listener::audioQOS(void)const " (?audioQOS@Listener@Cumulus@@QBEABVQualityOfService@2@XZ)，该符号在函数 "private: void __thiscall StatusWriter::refresh(class Cumulus::Handler &)" (?refresh@StatusWriter@@AAEXAAVHandler@Cumulus@@@Z) 中被引用
2>StatusWriter.obj : error LNK2019: 无法解析的外部符号 "public: class Cumulus::QualityOfService const & __thiscall Cumulus::Listener::videoQOS(void)const " (?videoQOS@Listener@Cumulus@@QBEABVQualityOfService@2@XZ)，该符号在函数 "private: void __thiscall StatusWriter::refresh(class Cumulus::Handler &)" (?refresh@StatusWriter@@AAEXAAVHandler@Cumulus@@@Z) 中被引用
2>D:\vs2010space\OpenRTMFP\CumulusService\debug_shared\CumulusService.exe : fatal error LNK1120: 4 个无法解析的外部命令
========== 全部重新生成: 成功 1 个，失败 1 个，跳过 0 个 ==========

Can you help me see what ? Thanks ! love you ! love Cumulus!