linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Error compiling Mediastreamer2 library on Windows(


From: 耿玉峰
Subject: [Linphone-developers] Error compiling Mediastreamer2 library on Windows(some files or variables missing)
Date: Fri, 16 Oct 2015 15:07:50 +0800

Hi there,

I'm a student doing some research with Mediastreamer2 as testbed. I have been using mediastreamer2-2.8.2 for a long time, and it works just fine.

Recently I tried to move on to the latest version of mediastreamer2 and oRTP, but when building on Windows with VS2010, according to the README in Mediastreamer2
I got some error log, they're listed below:

1. about the oRTP module,
1>ClCompile:
1>  zrtp.c
1>c1 : fatal error C1083: 无法打开源文件:“..\..\src\zrtp.c”: No such file or directory
1>  stun_udp.c
1>c1 : fatal error C1083: 无法打开源文件:“..\..\src\stun_udp.c”: No such file or directory
1>  stun.c
1>c1 : fatal error C1083: 无法打开源文件:“..\..\src\stun.c”: No such file or directory
1>  str_utils.c
1>c:\users\gengy\documents\git repo\ms2\ortp\src\str_utils.c(21): fatal error C1083: 无法打开包括文件:“ortp-config.h”: No such file or directory
(Please ignore the Chinese characters above...)

It seems that these files("zrtp.c", "zrtp.h", etc.) had been deleted from the source file, which causes failure while compiling. So, are these files deleted on purpose? Should I just delete them from the project?

2. about the Mediastreamer2
error C2065: “HAVE_NON_FREE_CODECS”: 未声明的标识符
...
>c1 : fatal error C1083: 无法打开源文件:“..\..\src\audiofilters\msconf.c”: No such file or directory

Seems that variable HAVE_NON_FREE_CODECS is not defined anywhere, how should I fix this?
And file msconf.c is missing, too.

Anyway, I just failed to build the project, and the README file did not explain it clearly.

Has anyone succeeded with Mediastreamer2 and oRTP on Windows vs 2010?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]