首页 > 其他分享 >Step by Step about How to Build libjingle 0.4

Step by Step about How to Build libjingle 0.4

时间:2023-06-02 21:38:41浏览次数:55  
标签:about http img Expat 0.4 Step libjingle file com


[b]1. Download and Install Visual C++ 2010 Express[/b]
[url]http://www.microsoft.com/express/Downloads/#2010-Visual-CPP[/url]

[b]2. Download and install binary package for Expat[/b]
http://sourceforge.net/projects/expat/files/expat_win32/ Currently the latest version is 2.0.1, which is my selection.

After installed, remember the below two directories:
Header file diretory: C:\Program Files (x86)\Expat 2.0.1\Source\lib
Lib file directory: C:\Program Files (x86)\Expat 2.0.1\Bin
[b]
3. Download the libjingle 0.4 zip and unzip it[/b]
[url]http://libjingle.googlecode.com/files/libjingle-0.4.0.zip[/url]

[b]4. Open the solution with Visual C++ 2010 Express[/b]
Open Visual C++ 2010 Express, click File->Open->Project/Solution, select talk/libjincle.sln, it will prompt solution conversion, continue. Now you may see there are three projects in the solution.
[img]http://dl.iteye.com/upload/attachment/415174/c480e504-8fe4-3b01-a3c4-4f1a867c16b4.jpg[/img]

[b]5. Configure the Expat directories for the solution[/b]
Right click "libjingle" project in the Solution Explorer, select Properties, and config the VC++ Diretories as the below:
Include Directories: C:\Program Files (x86)\Expat 2.0.1\Source\lib
Library Directories: C:\Program Files (x86)\Expat 2.0.1\Bin
[img]http://dl.iteye.com/upload/attachment/415182/b582ff43-4132-34f9-94d0-332543fe07c7.jpg[/img]
[b]
6. Build the libjingle project[/b]
Right click "libjingle" project in the Solution Explorer, select Build. The build will start.
After build finished, you will find build failure with the below error information:
[i]gipslitemediaengine.h(33): fatal error C1083: Cannot open include file: 'talk/third_party/gips/Interface/GipsVoiceEngineLite.h': No such file or directory
1> gipslitemediaengine.cc[/i]

Don't worry. It is because on Windows the project depend on GIPS voice engine. Since we don't care the voice call now, so select all files on Source Files->session->phone, right click and select Exclude From Project. Build again. This time you will make build successfully.
And you may find the generated talk\Debug\libjingle.lib.
[b]
7. Build pcp project.[/b]
Configure the he Expat directories for this project as step 5. You will make build successfully. And you may find the generated talk\Debug\pcp.exe.

[b]8. Test receiving file.[/b]
Run the below command:

pcp



Then send a file to this gmail account from Google Talk client with another account.


[img]http://dl.iteye.com/upload/attachment/415223/094da63d-2012-37a1-8bf7-3fce9b7ffe03.jpg[/img]



[b]9. Test sending file.[/b]


Run the below command:


pcp 01.jpg [email protected]



Then accept the file from Google Talk client with the recepient account.


[img]http://dl.iteye.com/upload/attachment/415228/ef6611ac-47fd-3a28-aac7-ad406638dbd2.jpg[/img]



At last,


You may try the attached binary pcp.exe for the test.


And in fact, for Expat XML Parser, you don't need install it, only expat.h/expat_external.h and libexpatMT.lib are needed, which I have attached.


标签:about,http,img,Expat,0.4,Step,libjingle,file,com
From: https://blog.51cto.com/u_16125990/6405079

相关文章

  • 2015.4.22.20.46_ecilipse_8.30_Eclipse 10个最有用的快捷键_0.01
    Eclipse中10个最有用的快捷键组合一个Eclipse骨灰级开发者总结了他认为最有用但又不太为人所知的快捷键组合。通过这些组合可以更加容易的浏览源代码,使得整体的开发效率和质量得到提升。1.ctrl+shift+r:打开资源这可能是所有快捷键组合中最省时间的了。这组快捷键可以让你打开你的......
  • 英国皇家植物园采用机器学习预测植物抗疟性,将准确率从 0.46 提升至 0.67
    内容一览:疟疾是严重危害人类生命健康的重大传染病,研究人员一直在致力于寻找新的植物源性抗疟疾化合物,以研发相关药物。近期英国皇家植物园利用机器学习算法有效预测了植物抗疟性,该研究成果目前已发表在《FrontiersinPlantScience》期刊上。关键词:植物学抗疟疾支持向量......
  • AtCoder Beginner Contest 258 Ex Odd Steps
    洛谷传送门AtCoder传送门不错的矩阵快速幂优化dp练习题。考虑一个朴素dp,\(f_i\)为组成和为\(i\)且用到的数都是奇数的方案数。有转移:\[f_i=\begin{cases}\sum\limits_{j=0}^{i-1}[i\bmod2\nej\bmod2]f_j&i\notinA\\0&i\inA\end{cases}\]考虑前......
  • About-Time
    AboutTimeCreated:2023-05-30T21:23+08:00Categories:Movies本科毕业答辩完的晚上,实在不想改论文,干脆看电影。《时空恋旅人》可能是至少四年前高中同桌兼舍友的推荐,看完才发现,啊,太好了,话说我咋记得这么清楚?电影一开始吸引到我的地方,是男主(Tim)和女主(Mary)在派对上的见面,BGM......
  • tflearn Training Step每次 We will run it for 10 epochs (t
    TrainingTFLearnprovidesamodelwrapper'DNN'thatcanautomaticallyperformsaneuralnetworkclassifiertasks,suchastraining,prediction,save/restore,etc...Wewillrunitfor10epochs(thenetworkwillseealldata10times)withabat......
  • libjingle 0.4和0.5版本之间的区别
    我所知道的主要的区别是:1.Build方式的区别.0.4在Windows上用VisualC++Express来build的,而0.5用的SCons来build的(一种跨平台的build工具)2.在0.5上去掉了fileshare的实现代码以及例子.我当前最关注的就是文件传输这一部分,所以决定从0.4版本......
  • [Libjingle 0.4]LibJingle编译指南
    LibJingle(forUbuntu)编译指南 LibJingle(forWin)编译指南 LibJingle项目恢复活跃 Compilelibjingleonubuntu......
  • ubuntu 20.4 安装msyql+创建mysql用户
    sudoapt-getupdatesudoapt-getupgratesudoaptinstallmysql-server设置运行远程访问修改:sudovim/etc/mysql/mysql.conf.d/mysqld.cnf用#注释掉bind-address=127.0.0.1进入mysql创建用户mysql-uroot-pCREATEUSER'test'@'%'IDENTIFIEDBY'12345......
  • ubuntu server 20.4设置使用root登录
    ubuntu@ubuntu:~$sudopasswdrootNewpassword:Retypenewpassword:passwd:passwordupdatedsuccessfullyubuntu@ubuntu:~$suroot#切换到root账户Password:root@ubuntu:/home/ubuntu#使用vim/etc/ssh/sshd_config编辑配置文件找到#PermitRootLoginprohib......
  • About me
    关于我\(ZJJH\color{red}辣鸡OIer\whker\)\(洛谷:123xiayicheng\)\(AT\灰名选手瑟瑟发抖\CF\灰名选手瑟瑟发抖\)\(CSP-J\2020\没进\)\(CSP-J\2021\没进\)\(CSP-J\2022\200pts\)......