bupt-william / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

Libjingle0.6.14 with mediastreamer error #321

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Added the required lines in libjingle.scons as given in readme.
Give the command- $PATH_TO_SWTOOLKIT/hammer.sh

What is the expected output? What do you see instead?
expected output:Successful built
Error: terminating with following error
scons: Reading SConscript files ...

scons: warning: No installed VCs
File 
"/home/mano/Desktop/src/swtoolkit/site_scons/site_tools/target_platform_windows.
py", line 283, in generate

scons: warning: No version of Visual Studio compiler found - C/C++ compilers 
most likely not set correctly
File 
"/home/mano/Desktop/src/swtoolkit/site_scons/site_tools/target_platform_windows.
py", line 283, in generate

scons: warning: The build_dir keyword has been deprecated; use the variant_dir 
keyword instead.
File "/home/mano/Desktop/src/swtoolkit/site_scons/site_init.py", line 203, in 
BuildEnvironmentSConscripts
scons: done reading SConscript files.
scons: Building targets ...
________Compiling build/dbg/obj/session/phone/linphonemediaengine.o
session/phone/linphonemediaengine.cc: In constructor 
‘cricket::LinphoneVoiceChannel::LinphoneVoiceChannel(cricket::LinphoneMediaEng
ine*)’:
session/phone/linphonemediaengine.cc:141:71: error: cannot call member function 
‘talk_base::Thread* talk_base::ThreadManager::CurrentThread()’ without 
object
scons: *** [build/dbg/obj/session/phone/linphonemediaengine.o] Error 1
scons: building terminated because of errors.

What version of the product are you using? On what operating system?
Ubuntu 11.10
Libjingle 0.6.14
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Please provide any additional information below.

Original issue reported on code.google.com by manohara...@gmail.com on 12 Mar 2012 at 4:52

GoogleCodeExporter commented 9 years ago
Even I am also facing the same issue with Libjingle 0.6.14 and mediastreamer 
2.8.2

As I went through the issue list, I couldn't locate the patches for these 
compilation issues.

If anyone has already got past this issues. Could you please send your changed 
files as zip attachment.

Original comment by krgaura...@gmail.com on 3 May 2012 at 12:27

GoogleCodeExporter commented 9 years ago
Find line in linphonemediaengine.cc:
talk_base::Thread* = talk_base::ThreadManager::CurrentThread()
and change it like this: 

talk_base::ThreadManager = tm;
talk_base::Thread* = tm.CurrentThread();

If this helps you please send me your solution because i got some other errors 
that i could not resolve.
Thanks.

Original comment by alek.i.m...@gmail.com on 7 May 2012 at 7:46

GoogleCodeExporter commented 9 years ago
Can you tell me how you countered "disaable lib412" while configuring media 
streamer library.?

Original comment by mitivarun@gmail.com on 17 May 2012 at 4:32

GoogleCodeExporter commented 9 years ago
Alek, I used your solution and I got the following error when making calls:

Error(common.cc:67): base/physicalsocketserver.cc(1164): ASSERT FAILED: 
dispatchers_.empty() @ ~PhysicalSocketServer

To fix the issue I had to use (in libjingle0.6.14) the following:

talk_base::Thread *thread = 
talk_base::ThreadManager::Instance()->CurrentThread();
talk_base::SocketServer *ss = thread->socketserver();

Hope this helps.

Original comment by ame68...@gmail.com on 23 May 2012 at 11:23

GoogleCodeExporter commented 9 years ago
Hi, everybody.
I got the error when building Libjingle0.6.14 with mediastreamer2, the error 
occurs when  compiling linphonemediaengine.cc:

c:\src\libjingle\mediastreamer2\mscommon.h(22) : fatal error C1083: Cannot open
include file: 'ortp/ortp.h': No such file or directory
scons: *** [build\dbg\obj\session\phone\linphonemediaengine.obj] Error 2
scons: building terminated because of errors.

Because of missing other libraries, such as ortp,... I must add them to the 
library, but anyway, it give errors, because there is so many errors like this 
(missing or cannot open include file). 
Who can hep to solve this problem? 
The  solution mediastreamer.2.8.2 has the same problem? Is it really the 
solution has created with not being enough library?
Thanks.

Original comment by duc...@tin180.com on 3 Jul 2012 at 2:10

GoogleCodeExporter commented 9 years ago
Linphone is no longer supported.

Original comment by juberti@google.com on 31 May 2013 at 8:49