官方参考链接:http://wiki.opalvoip.org/index.php?n=Main.BuildingPTLib
编译
- 安装openssl 1.x版本:https://slproweb.com/products/Win32OpenSSL.html
- 安装并打开vs2022,选择git导入ptlib源码,链接:git://git.code.sf.net/p/opalvoip/ptlib
- 选择ptlib_2022.sln,点击install按钮会安装一些依赖
- 先编译PTLIB static
- 设置项目属性,选择VC++目录,将openssl头文件目录和库目录
- 编译
- 编译MergeSym
- 编译ptlib Dll
- 设置项目属性,选择VC++目录,将MergeSym.exe目录添加到可执行文件目录
- 编译