心胸决定格局,眼界决定境界...

windows下编译libjingle遇到的问题

整体流程:http://blog.csdn.net/q5707802/article/details/42682401

 

存在的版本问题:

1.使用scons-2.1.0报错:TypeError: object of type 'Dir' has no len():,
使用scons-2.0.1进入编译,scons-2.0.1下载地址:http://www.ddxia.com/view/128928115336406.html,

scons安装直接装setup.py那种包,设定好环境变量

http://www.programgo.com/article/18182681122/

 

2.注意不要使用srtp-1.4.4和1.4.0, 因为这个版本遗漏了Libjingle所使用的一些extensions
                    注意srtp-cvs.zip解压后文件名为srtp-cvs,要改名为srtp

srtp-cvs.zip  

http://mysuperbaby.iteye.com/blog/908866

 

 编译成VS工程文件:会碰到的问题

定位到470左右,把

# Solution and target projects
  s = vs_env.ComponentVSSolution(
    ['all_libraries', 'all_programs', 'all_test_programs'],
    projects = [p],
  )

修改为:

# Solution and target projects
  s = vs_env.ComponentVSSolution(
     'libjingle',  # Please uncomment this line if you build VS proj files.
    ['all_libraries', 'all_programs', 'all_test_programs'],
    project = [p],
  )

一定要把projects = [p] 修改为 projects = [p]

 

 

 

 

 

 

 

 

2 楼 laiyangdeli 2011-02-17  
会遇到下面的编译错误:
talk\base\latebindingsymboltable.h(49) : fatal error C1189: #error :  Not implemented
scons: *** [build\dbg\obj\base\latebindingsymboltable.obj] Error 2
scons: building terminated because of errors.
Java代码  收藏代码
  1. 解决方法:  

在libjingle.scons中注释掉下面2行:
"base/latebindingsymboltable.cc",
"session/phone/libudevsymboltable.cc",

Refer to:
http://code.google.com/p/libjingle/issues/detail?id=121
1 楼 laiyangdeli 2011-02-17  
为了去掉下面的warning, 可以安装pywin32:
"
Warning: Unable to load win32file module; using copy instead of hard linking for env.Install().  Is pywin32 present?
"

pywin32 - Python Extensions for Windows
http://sourceforge.net/projects/pywin32/
 
 
posted @ 2016-02-02 19:15  WELEN  阅读(455)  评论(0)    收藏  举报