Yate:windows source Download, configuration, compile

Source: Internet
Author: User

SOURCE download: Use SVN to download Checkout:http://voip.null.ro/svn/yate/trunk

Configuration: (I am using vs2008, so the QT tools are downloaded corresponds to 2008)

1. Download and install Qt-opensource-windows-x86-vs2008-4.8.7.exe,: HTTP://DOWNLOAD.QT.IO/OFFICIAL_RELEASES/QT, You can download the appropriate version in accordance with your VS version

Qt-vs-addin-1.1.11-opensource.exe http://download.qt.io/official_releases/vsaddin/

2. Set the environment variables and add the following system variables:

Qtdir= C:\Qt\4.8.7

qmakespec=win32-msvc2008

Path = C:\Qt\4.8.7\bin;

3. After completing the steps, open the YATE.sln in the Windows directory, the VS project, and then configure the following

4. Due to a few errors in the source code under Windows, you need to manually modify:

(1) because the original download process was created using VS2005, and the code does not consider a later version, you need to modify the Yate\yateclass.h code.

Original definition: #define VSNPRINTF _vsnprintf

Modified: #if (_msc_ver < 1500)
#define VSNPRINTF _vsnprintf
#endif

(2) Yate\windows\main-client.cpp: Add a plugin ("Winyateclient") to the Winclientplugin constructor

5. Successful compilation

Related references:

Http://wenku.baidu.com/link?url=_3GizFF3Q064z8hqb2hcH_4kYD01xbsLaTchnlzAzKSo-DxcSP17FUdGiy_XiNJxLc_ Dz9oqgdxvo0igo3ehnitjhdkpzp4tcbxav4er2ae

http://blog.csdn.net/stephenxu111/article/details/25990127

Yate:windows source Download, configuration, compile

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.