大家好,麻烦帮我看一下这是为什么,编程方式是我按照网上说的做的,但报这几个错误,我找了好久也不知道是为什么,麻烦你们帮我看看 谢谢啦
[root@localhost C++]# g++ -o send send.C -I /usr/local/include/jrtplib3/
send.C: In function ‘void checkerror(int)’:
send.C:24: 错误:不能将 ‘std::string’ 转换为 ‘char*’,在 initialization 中
send.C: In function ‘int main(int, char**)’:
send.C:56: 错误:对 ‘RTPSession::Create(int)’ 的调用没有匹配的函数
/usr/local/include/jrtplib3/rtpsession.h:89: 附注:备选为: int RTPSession::Create(const RTPSessionParams&, const RTPTransmissionParams*, RTPTransmitter::TransmissionProtocol)
/usr/local/include/jrtplib3/rtpsession.h:98: 附注: int RTPSession::Create(const RTPSessionParams&, RTPTransmitter*)
send.C:60: 错误:对 ‘RTPSession::AddDestination(long unsigned int&, int&)’ 的调用没有匹配的函数
/usr/local/include/jrtplib3/rtpsession.h:117: 附注:备选为: int RTPSession::AddDestination(const RTPAddress&)
send.C:67: 错误:‘class RTPSession’ 没有名为 ‘SetDefaultTimeStampIncrement’ 的成员
[root@localhost C++]#
于 2012-05-08 11:20:35发表:
求解,也遇到相同问题
mg271603433 于 2011-01-05 17:57:16发表:
顶一个。