最近在学freeswitch,以下是我在vs2015编译时freeswitchconsole遇到的问题,记录下来,内容有点乱,有空再整理吧。估计没空。。。。。转载请注明出处。
vs2015 64位编译freeswitch 32位
文中提到的其他库都可以在http://download.csdn.net/detail/ssj901217/9882000下载到。
FreeswitchCoreLib 属性-> c/c++--->常规 附加包含目录中,增加..\..\apr\include
http://www.linuxfromscratch.org/blfs/view/stable/general/libtiff.html 下载LibTIFF-4.0.7,解压后的tiff-4.0.7放于freeswitch.git\libs\
生成libjpeg时报fatal error C1083: 无法打开源文件: “..\..\jpeg-8d\jaricom.c”: No such file or directory。
http://www.ijg.org/files/下载jpegsr8d.zip,解压后的jpeg-8d放于freeswitch.git\libs\
生成: 项目: zlib报c1 : fatal error C1083: 无法打开源文件: “..\..\zlib\adler32.c”: No such file or directory
http://www.zlib.net/ 下载 zlib-1.2.11,把解压后的改名为zlib放于freeswitch.git\libs\
生成: 项目: libspeex : fatal error C1083: 无法打开源文件: “..\..\sqlite-amalgamation-3080401\sqlite3.c”: No such file or directory
http://www.sqlite.org/download.html 下载sqlite-amalgamation,解压后改名为sqlite-amalgamation-3080401放于freeswitch.git\libs\
项目: curllib fatal error C1083: 无法打开源文件: “..\..\pcre-8.34\pcre_xclass.c”: No such file or directory
http://download.csdn.net/download/cyuyan112233/7422611下载pcre-8.34.tar.gz,解压后pcre-8.34放于freeswitch.git\libs\
生成: 项目: curllib fatal error C1083: 无法打开源文件: “..\..\curl-7.35.0\lib\wildcard.c”: No such file or directory
http://www.linuxfromscratch.org/blfs/view/7.5/basicnet/curl.html下载curl-7.35.0,解压后放于freeswitch.git\libs\
生成: 项目: libpng,
Generating pnglibconf.h
1> 系统找不到指定的路径。
http://www.libpng.org/pub/png/libpng.html下载libpng,解压后改名为libpng,放于reeswitch.git\libs\
'yasm' 不是内部或外部命令,也不是可运行的程序
http://yasm.tortall.net/Download.html 下载yasm
将vsyasm.exe改名为yasm.exe放到c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\ 目录下
用文本方式打开vsyasm.props文件将其中的
$(Platform) 替换为 win$(PlatformArchitecture)
将除yasm.exe以外的三个文件放到
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations
生成: 项目: libvpx,
LINK : fatal error LNK1181: 无法打开输入文件“Win32\Debug\vpx_ports_emms_asm.obj”
libvpx项目,找出所有的emms.asm,右击属性--》自定义生成工具-》常规 把命令行后输出里面的vpx_ports_emms_asm替换成%(Filename)
其它类似情况同样处理。
以上,就能运行freeswitchconsole起来了。
您的支持,是我持续创作的动力!!!!