jrtplib的安装(1)

         jrtplib 安装过程:

        由于需求,开始做实时通讯,经过选择,确定了使用jrtplib开源库作为c++传输通讯库,由于刚开始理解为跨平台库

在windows使用codeblocks+mingw上进行编译:但在编译的过程中,出现ui64的错误 这个可以将ui64换成ull 但是接下来

编译出错为:

jrtplib-3.9.1\src\rtcpcompoundpacketbuilder.cpp:243:115: error:
no matching function for call to 
'operator new [](sizetype, jrtplib::RTPMemoryManager*, int)'

报错,调试了很久也没有能够编译通过,已经在社区提出问题,若能帮忙解决,非常感谢=_=!  ;

   最终转向linux上进行安装:

  安装过程:jrtplib-3.7.1.tar.gz     jthread-1.2.1.tar.gz  先装jthread再装jrtplib   ./configure&make&makeinstall 注意的

是在安装jrtplib时,会有rtperrors.cpp:225:36: error: 'snprintf' was not declared in this scope错误:

添加

#include <stdio.h>

#include <stdarg.h>

#include <string.h>

就行

还有一个memcpy 找不到错误,则在对应文件添加 #include <string.h>就行

  make install 之后就能运行成功了:

  来源:http://www.cnblogs.com/fengqing888/archive/2011/08/16/2140464.html

                 http://www.tekuba.net/wap.asp?act=View&id=178

                http://www.cnblogs.com/my_life/articles/1953131.html



你可能感兴趣的:(jrtplib的安装(1))