erichocean / libjingle

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

Compilation problem with libjingle 0.5.5 (gtk) #170

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When trying to compile libjingle 0.5.5 I get the following error:
________Compiling build/dbg/obj/session/phone/gtkvideorenderer.o
session/phone/gtkvideorenderer.cc:30:21: error: gtk/gtk.h: No such file or 
directory
And other errors related to gtk. What I need to install? And It seems that gtk 
is used only by the call example. Is there a way to compile only the main SDK?

I think these pre-requisites should be listed on README. On April 3 I wrote in 
the FAQ:
It would be great if the README inform that you can download the srtp from the 
download link of this site and that libjingle uses libssl-dev and 
libasound2-dev. I could not download srtp from the link 
http://sourceforge.net/projects/srtp/develop with anonymous access. And about 
libssl-dev and libasound2-dev, I had errors during compiling and had to search 
to find what I needed install (you can install these packages using apt-get 
install).

Now the README says that you can download srtp from this site but doesn't say 
anything about libssl-dev, libasound2-dev and now gtk. It would be nice if the 
README was updated. Thanks.

Original issue reported on code.google.com by diego.cd...@gmail.com on 1 Jun 2011 at 2:40

GoogleCodeExporter commented 9 years ago
Another issue about README is that it says in last paragraph:
* Add the following line into the "srcs = [ ..." section of the libjingle.scons 
file.
      "session/phone/linphonemediaengine.cc",
But every Library/App has a "srcs = [ ..." section and README doesn't say in 
which of them to put that line. 
p.s. There is already this line in the "linphone_srcs = [" section of 
talk.Library(env, name = "libjingle"

Original comment by diego.cd...@gmail.com on 1 Jun 2011 at 4:48

GoogleCodeExporter commented 9 years ago
Fixed, will be updated in 0.5.7 release.

Original comment by jun...@google.com on 7 Jun 2011 at 11:26

GoogleCodeExporter commented 9 years ago
Jun, thanks for updating the README but I would like to suggest two more 
changes:
First, the line:
* On Linux, you need to install libssl-dev, libasound2-dev and gtk+2.0.
Should appear before the line:
* Third, go to the talk/ directory and run $path_to_swtoolkit/hammer.sh. Run
    $path_to_swtoolkit/hammer.sh --help for information on how to build for
    different modes.
Just exchange these lines because if you is following the instructions in order 
you will try to compile libjingle before installing those packages and will get 
an error.
Second I think you should put the real package name for gtk instead of gtk+2.0 
because you can't execute sudo apt-get install gtk+2.0 (but you can type sudo 
apt-get install libssl-dev libasound2-dev). I installed libgtk2.0-dev. Thanks.

Original comment by diego.cd...@gmail.com on 17 Jul 2011 at 5:30

GoogleCodeExporter commented 9 years ago
Thanks for the feedback. I'll fix the README in the next release.

Original comment by jun...@google.com on 18 Jul 2011 at 11:46

GoogleCodeExporter commented 9 years ago
It should be fixed in the next release.

Original comment by jun...@google.com on 4 Jan 2012 at 6:06