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/
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]
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.
- 解决方法:
在libjingle.scons中注释掉下面2行:
"base/latebindingsymboltable.cc",
"session/phone/libudevsymboltable.cc",
Refer to:
http://code.google.com/p/libjingle/issues/detail?id=121
"
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/

浙公网安备 33010602011771号