Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 2 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with this program. If not, see http://www.gnu.org/licenses/.
Getting Started: Building and Using PJSIP and PJMEDIA
[Last Update: $Date: 2007-02-02 20:42:44 +0000 (Fri, 02 Feb 2007) $]
Print Friendly Page
_________________________________________________________________
This article describes how to download, customize, build, and use the open
source PJSIP and PJMEDIA SIP and media stack. The online (and HTML) version
of this file can be downloaded from http://www.pjsip.org/using.htm
Quick Info
_________________________________________________________________
Building with GNU tools (Linux, *BSD, MacOS X, mingw, etc.)
Generally these should be all that are needed to build the libraries,
applications, and samples:
$ ./configure
$ make dep && make clean && make
Building Win32 Target with Microsoft Visual Studio
Generally we can just do these steps:
1. Visual Studio 6: open pjproject.dsw workspace,
2. Visual Studio 2005: open pjproject-vs8.sln solution,
3. Create an empty pjlib/include/pj/config_site.h, and
4. build the pjsua application.
Building for Windows Mobile
Generally these are all that are needed:
1. Open pjsip-apps/build/wince-evc4/wince_demos.vcw EVC4 workspace,
2. Create an empty pjlib/include/pj/config_site.h, and
3. build the pjsua_wince application.
Invoking Older Build System (e.g. for RTEMS)
Generally these should be all that are needed to build the libraries,
applications, and samples:
$ ./configure-legacy
$ make dep && make clean && make
Locating Output Binaries/Libraries
Libraries will be put in lib directory, and binaries will be put in
bin directory, under each projects.
Running the Applications
After successful build, you can try running pjsua application on
pjsip-apps/bin directory. PJSUA manual can be found in
http://www.pjsip.org/pjsua.htm page.
Table of Contents:
_________________________________________________________________
1. Getting the Source Distribution
1.1 Getting the Release tarball
1.2 Getting from Subversion trunk
1.3 Source Directories Layout
2. Build Preparation
2.1 config_site.h file
2.2 Disk Space Requirements
3. Building Linux, *nix, *BSD, and MacOS X Targets with GNU Build
Systems
3.1 Supported Targets
3.2 Requirements
3.3 Running configure
3.4 Running make
3.5 Cross Compilation
3.6 Build Customizations
4. Building for Windows Targets with Microsoft Visual Studio
4.1 Requirements
4.2 Building the Projects
4.3 Debugging the Sample Application
5. Building for Windows Mobile Targets (Windows CE/WinCE/PDA/SmartPhone)
5.1 Requirements
5.2 Building the Projects
6. Older PJLIB Build System for Non-Autoconf Targets (e.g. RTEMS)
6.1 Supported Targets
6.2 Invoking the Build System
7. Running the Applications
7.1 pjsua
7.2 Sample Applications
7.3 pjlib-test
7.4 pjsip-test
8. Using PJPROJECT with Applications
Appendix I: Common Problems/Frequently Asked Question (FAQ)
I.1 fatal error C1083: Cannot open include file: 'pj/config_site.h':
No such file or directory
1. Getting the Source Code Distribution
_________________________________________________________________
All libraries (PJLIB, PJLIB-UTIL, PJSIP, PJMEDIA, and PJMEDIA-CODEC) are
currently distributed under a single source tree, collectively named as
PJPROJECT or just PJ libraries. These libraries can be obtained by either
downloading the release tarball or getting them from the Subversion trunk.
1.1 Getting the Release tarball
_________________________________________________________________
Getting the released tarball is a convenient way to obtain stable version of
PJPROJECT. The tarball may not contain the latest features or bug-fixes, but
normally it is considered more stable as each will be tested more rigorously
before released.
The latest released tarball can be downloaded from the
http://www.pjsip.org/download.htm.
1.2 Getting from Subversion trunk
_________________________________________________________________
PJPROJECT Subversion repository will always contain the latest/most
up-to-date version of the sources. Normally the Subversion repository is
always kept in a "good" state. However, there's always a chance that things
break and the tree doesn't build correctly (particularly for the
"not-so-popular" targets), so please consult the mailing list should there
be any problems.
Using Subversion also has benefits of keeping the local copy of the source
up to date with the main PJ source tree and to easily track the changes made
to the local copy, if any.
What is Subversion
Subversion (SVN) is Open Source version control system similar to CVS.
Subversion homepage is in http://subversion.tigris.org/
Getting Subversion Client
A Subversion (SVN) client is needed to download the PJ source files from
pjsip.org SVN tree. SVN client binaries can be downloaded from
http://subversion.tigris.org/, and the program should be available for
Windows, Linux, MacOS X, and many more platforms.
Getting the Source for The First Time
Once Subversion client is installed, we can use these commands to initially
retrieve the latest sources from the Subversion trunk:
$ svn co http://svn.pjproject.net/repos/pjproject/trunk pjproject
$ cd pjproject
Keeping The Local Copy Up-to-Date
Once sources have been downloaded, we can keep the local copy up to date by
periodically synchronizing the local source with the latest revision from
the PJ's Subversion trunk. The mailing list provides best source of
information about the availability of new updates in the trunk.
To update the local copy with the latest changes in the main PJ's
repository:
$ cd pjproject
$ svn update
Tracking Local and Remote Changes
To see what files have been changed locally:
$ cd pjproject
$ svn status
The above command only compares local file against the original local copy,
so it doesn't require Internet connection while performing the check.
To see both what files have been changed locally and what files have been
updated in the PJ's Subversion repository:
$ cd pjproject
$ svn status -u
Note that this command requires active Internet connection to query the
status of PJPROJECT's source repository.
1.3 Source Directories Layout
_________________________________________________________________
Top-Level Directory Layout
The top-level directories (denoted as $TOP here) in the source distribution
contains the following sub-directories:
$TOP/build
Contains make
没有合适的资源?快使用搜索试试~ 我知道了~
win10加VS2017下编译pjproject2.7库成功的工程
共3812个文件
h:723个
c:660个
sbr:455个
5星 · 超过95%的资源 需积分: 50 60 下载量 77 浏览量
2017-12-11
09:44:37
上传
评论
收藏 96.44MB ZIP 举报
温馨提示
环境是win10加VS2017下编译pjproject2.7.1库成功的工程。
资源推荐
资源详情
资源评论
收起资源包目录
win10加VS2017下编译pjproject2.7库成功的工程 (3812个子文件)
toast.1 4KB
bitter.1 2KB
gsm_option.3 5KB
gsm.3 3KB
gsm_print.3 2KB
gsm_explode.3 1KB
aconfigure.ac 63KB
aconfigure 285KB
package.appxmanifest 3KB
Package.appxmanifest 2KB
AUTHORS 520B
AUTHORS 98B
make.bat 5KB
gradlew.bat 2KB
gradlew.bat 2KB
starttest_sample.bat 1KB
ABLD.BAT 350B
00.bat 251B
svn_pset.bat 155B
01.bat 138B
svn_add.bat 122B
pjsua.bmp 43KB
pjsua.bmp 12KB
list_icon.bmp 2KB
mark_icon.bmp 2KB
list_icon_mask.bmp 294B
mark_icon_mask.bmp 166B
pjmedia-videodev-i386-Win32-vc14-Debug.bsc 6.88MB
libwebrtc-i386-Win32-vc14-Debug.bsc 6.4MB
libbaseclasses-i386-Win32-vc14-Debug.bsc 5MB
pjlib-i386-Win32-vc14-Debug.bsc 4.5MB
pjmedia-i386-Win32-vc14-Debug.bsc 4.03MB
pjsua2-lib-i386-Win32-vc14-Debug.bsc 3.77MB
pjsua-i386-Win32-vc14-Debug.bsc 3.53MB
pjsip-core-i386-Win32-vc14-Debug.bsc 3.35MB
pjmedia-audiodev-i386-Win32-vc14-Debug.bsc 3.14MB
pjnath-i386-Win32-vc14-Debug.bsc 3.11MB
pjlib-util-i386-Win32-vc14-Debug.bsc 3.1MB
libsrtp-i386-Win32-vc14-Debug.bsc 2.8MB
pjsua-lib-i386-Win32-vc14-Debug.bsc 1.56MB
pjmedia-codec-i386-Win32-vc14-Debug.bsc 1.03MB
libyuv-i386-Win32-vc14-Debug.bsc 1.02MB
pjsip-ua-i386-Win32-vc14-Debug.bsc 827KB
pjsip-simple-i386-Win32-vc14-Debug.bsc 715KB
libspeex-i386-Win32-vc14-Debug.bsc 659KB
libilbccodec-i386-Win32-vc14-Debug.bsc 435KB
libg7221codec-i386-Win32-vc14-Debug.bsc 387KB
libgsmcodec-i386-Win32-vc14-Debug.bsc 347KB
libmilenage-i386-Win32-vc14-Debug.bsc 123KB
libresample-i386-Win32-vc14-Debug.bsc 27KB
libpjproject-i386-Win32-vc14-Debug.bsc 19KB
alaw_ulaw_table.c 191KB
py_pjsua.c 158KB
sip_inv.c 146KB
pjsua_call.c 145KB
srtp.c 143KB
_pjsua.c 118KB
pjsua_acc.c 116KB
pjsua_media.c 104KB
pjsua_core.c 98KB
sip_transaction.c 98KB
aes.c 95KB
ssl_sock_ossl.c 93KB
ice_session.c 93KB
pjsua_app_cli.c 91KB
mips_test.c 90KB
basic_op.c 89KB
nsx_core.c 86KB
stream.c 84KB
aecm_core_mips.c 74KB
sip_parser.c 71KB
stun_msg.c 70KB
pjsua_app_config.c 70KB
pjsua_pres.c 67KB
sip_dialog.c 65KB
pjsua_vid.c 64KB
sip_transport.c 64KB
aec_core.c 64KB
pjsua_aud.c 64KB
ice_strans.c 63KB
sip_msg.c 63KB
nb_celp.c 62KB
aec_rdft_mips.c 61KB
vid_stream.c 61KB
evsub.c 61KB
sip_util.c 60KB
transport_ice.c 60KB
pjsua_app.c 59KB
conference.c 59KB
sip_transport_tls.c 58KB
turn_session.c 57KB
msg_test.c 56KB
siprtp.c 55KB
resolver.c 55KB
nsx_core_mips.c 54KB
ffmpeg_vid_codecs.c 54KB
resolver_test.c 53KB
http_client.c 52KB
pjsua_app_legacy.c 51KB
cli_telnet.c 50KB
共 3812 条
- 1
- 2
- 3
- 4
- 5
- 6
- 39
资源评论
- wanghenan2018-04-12好东西 感谢分享
- sinat_289513972018-11-24好东西 感谢分享
一缕阳光把梦想照亮
- 粉丝: 38
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于jsp+mysql的JSP个人日记本源码.zip
- 基于jsp+mysql+servlet的JSP图书馆图书管理系统源码.zip
- 【2024win11软件启动速度反应慢解决方法附工具】
- 3.1_将字符串颠倒输出 .cpp
- 基于MATLAB实现的数字信号处理课后仿真代码,共十四章
- mysql-8.0(windows+mac版本).zip
- Screenshot_2024-05-14-17-26-40-479_com.tencent.mobileqq.jpg
- 749783406737663csgk_schedule.zip
- 基于html+css+js(jquery)开发的网易云商城+源码+音乐+商品详情+商城界面+商城购物车+网易云首页(高分优秀项目
- 信息论课程设计基于Python实现的霍夫曼、费诺、香农编码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功