{"id":204068,"date":"2013-11-28T19:01:02","date_gmt":"2013-11-28T15:01:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=204068"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=204068","title":{"rendered":"<span class=\"post_title\">\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 WebRTC + Eclipce 4.3 + ubuntu 13.10<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c, \u0445\u0430\u0431\u0440\u0430\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438!<\/p>\n<p>  \u0412\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0448\u043f\u0430\u0440\u0433\u0430\u043b\u043a\u0443 \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 WebRTC + Eclipce 4.3 + ubuntu 13.10. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0442\u0435\u043c, \u043a\u0442\u043e \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0431\u044f \u0432 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043a\u043e\u0434\u0430 \u043d\u0430 \u0421++ \u0434\u043b\u044f webrtc.<\/p>\n<p>  \u0421\u043a\u0430\u0436\u0443 \u0441\u0440\u0430\u0437\u0443, \u0447\u0442\u043e \u0443 Google \u0435\u0441\u0442\u044c \u043d\u0435\u043f\u043b\u043e\u0445\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0440\u0435\u0434\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043d\u0430\u0447\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \u041d\u043e \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0443 \u043c\u0435\u043d\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0443\u0445\u043e\u0434\u0438\u0442 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e. \u041d\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u0436\u0435 \u0434\u0435\u043d\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043f\u043e \u043d\u043e\u0432\u043e\u043c\u0443. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043e\u043f\u044b\u0442\u043e\u043c, \u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043c\u0443-\u0442\u043e \u043e\u043d\u0430 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c \u043f\u0430\u0440\u0443 \u0441\u0443\u0442\u043e\u043a. \u041d\u0430 ubuntu \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 12.10 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u0441\u0435 \u0441\u0442\u0430\u0432\u0438\u043b\u043e\u0441\u044c \u0445\u043e\u0440\u043e\u0448\u043e \u0438 \u0441\u0440\u0430\u0437\u0443 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u041d\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0432\u044b\u0448\u043b\u0430 \u0432\u0435\u0440\u0441\u0438\u044f 13.10 \u0438 \u0442\u0443\u0442 \u043d\u0430\u0447\u0430\u043b\u0438\u0441\u044c \u0435\u0449\u0435 \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u041d\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0433\u0443\u0433\u043b-\u043a\u043e\u0434\u0430 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c \u043f\u043e\u043b-\u0434\u043d\u044f. \u0410 \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u0442\u043e\u043c\u0443 \u043a\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0447\u0430\u043b \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f? <br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430<\/h4>\n<p>  \u0418\u0442\u0430\u043a, \u043d\u0430\u0447\u043d\u0435\u043c. \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <a href=\"https:\/\/src.chromium.org\/svn\/trunk\/tools\/depot_tools.zip\">depot_tools<\/a>   <\/p>\n<pre><code class=\"bash\">$ mkdir ~\/webrtc $ cd ~\/webrtc $ wget https:\/\/src.chromium.org\/svn\/trunk\/tools\/depot_tools.zip <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0435\u043c \u0441\u043a\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0430\u0440\u0445\u0438\u0432 \u0432 \u044d\u0442\u043e\u0442 \u0436\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433. \u0418 \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0443\u0442\u0438 \u043a \u044d\u0442\u043e\u0439 \u043f\u0430\u043f\u043a\u0435:  <\/p>\n<pre><code class=\"bash\">$ export PATH=&quot;$PATH&quot;:\/home\/username\/webrtc\/depot_tools $ export CHROMIUM_ROOT = \/home\/username\/webrtc\/ #\u041d\u0435 \u0437\u043d\u0430\u044e \u043f\u0440\u0430\u0432\u0434\u0430 \u0437\u0430\u0447\u0435\u043c, \u043d\u043e \u0443 \u043c\u0435\u043d\u044f \u0441\u0435\u0439\u0447\u0430\u0441 \u0442\u0430\u043a. \u041c\u043e\u0436\u0435\u0442 \u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e <\/code><\/pre>\n<p>  \u0418 \u0437\u0430\u043e\u0434\u043d\u043e \u0434\u0430\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0432 \u0441\u0432\u043e\u0439 .bashrc, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u043b\u0438\u0441\u044c:  <\/p>\n<pre><code class=\"bash\">$ sudo nano ~\/.bashrc <\/code><\/pre>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u0435 \u0436\u0435 \u0441\u0430\u043c\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438. \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u00abusername\u00bb \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0435 \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:   <\/p>\n<pre><code class=\"bash\">export PATH=&quot;$PATH&quot;:\/home\/username\/webrtc\/depot_tools export CHROMIUM_ROOT = \/home\/username\/webrtc <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0432\u0441\u0435 \u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e:  <\/p>\n<pre><code class=\"bash\">$ gclient --version gclient.py 0.7 <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0435\u0440\u043d\u043e, \u0442\u043e \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u044e \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0415\u0441\u043b\u0438 \u043d\u0435\u0442, \u0442\u043e \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d python. \u041d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0435\u0433\u043e. <br \/>  \u0418\u0442\u0430\u043a, gclient \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438. \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e webrtc \u0438 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c:  <\/p>\n<pre><code class=\"bash\">$ gclient config http:\/\/webrtc.googlecode.com\/svn\/trunk $ gclient sync --force <\/code><\/pre>\n<p>  \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u043b\u0433\u043e. \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0437\u0430\u043a\u0430\u0447\u0430\u043b\u043e\u0441\u044c, \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c gyp:  <\/p>\n<pre><code class=\"bash\">$ sudo apt-get install gyp <\/code><\/pre>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 gyp, \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u0441\u043a\u0430\u0447\u0435\u043d\u043d\u043e\u0439 \u043d\u0430\u043c\u0438 \u0440\u0430\u043d\u043d\u0435 \u043f\u0430\u043f\u043a\u0435 \u0435\u0441\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 install-build-deps.sh. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0435\u0433\u043e:  <\/p>\n<pre><code class=\"bash\">$ sudo ~\/webrtc\/trunk\/build\/install-build-deps.sh <\/code><\/pre>\n<p>  \u0418 \u043d\u0430\u043c \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435: ERROR: Only Ubuntu 12.04 (precise) through 13.04 (raring) are currently supported. \u041d\u0435 \u0431\u0435\u0434\u0430, \u0430\u043f\u0433\u0440\u0435\u0439\u0434\u0438\u043c \u0441\u043a\u0440\u0438\u043f\u0442. \u041d\u0430\u0445\u043e\u0434\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0443 55 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043c \u0435\u0435 \u043a \u0442\u0430\u043a\u043e\u043c\u0443 \u0432\u0438\u0434\u0443:  <\/p>\n<pre><code class=\"bash\">ubuntu_versions=&quot;12\\.04|12\\.10|13\\.04|13\\.10&quot; <\/code><\/pre>\n<p>  \u0417\u0430\u043d\u043e\u0432\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442 install-build-deps.sh. \u041d\u0430\u0447\u043d\u0435\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a. <br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0445\u043e\u0434\u044f\u0441\u044c \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 ~\/webrtc\/ \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c gclient \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0440\u0430\u043c\u0438:  <\/p>\n<pre><code class=\"bash\">$ gclient runhooks --force <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043e\u0448\u0438\u0431\u043a\u0430:<\/p>\n<p>  <code> File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt; AssertionError: Point $JAVA_HOME or the java_home gyp variable to a directory containing include\/jni.h! gyp: Call to 'python -c &quot;import os; dir=os.getenv('JAVA_HOME', '\/usr\/lib\/jvm\/java-6-sun'); assert os.path.exists(os.path.join(dir, 'include\/jni.h')), 'Point \\$JAVA_HOME or the java_home gyp variable to a directory containing include\/jni.h!'; print dir&quot;' returned exit status 1. <\/code><\/p>\n<p>  \u0422\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c openjdk-6-jdk \u0438 \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043f\u0443\u0442\u0438:  <\/p>\n<pre><code class=\"bash\">$ sudo apt-get install openjdk-6-jdk  $ sudo ln -s \/usr\/lib\/jvm\/java-6-openjdk-amd64 \/usr\/lib\/jvm\/java-6-sun $ export JAVA_HOME=\/usr\/lib\/jvm\/java-6-openjdk-amd64 $ echo &quot;export JAVA_HOME=\/usr\/lib\/jvm\/java-6-openjdk-amd64&quot; &gt;&gt; ~\/.bashrc <\/code><\/pre>\n<p>  \u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c, \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0443 \u043d\u0430\u0441 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f Makefile:  <\/p>\n<pre><code class=\"bash\">$ echo &quot;export GYP_GENERATORS=make&quot; &gt;&gt; ~\/.bashrc <\/code><\/pre>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0430\u0437   <\/p>\n<pre><code class=\"bash\">$ gclient sync --force $ gclient runhooks --force <\/code><\/pre>\n<p>  \u0418 \u0443\u0431\u0435\u0436\u0434\u0430\u0435\u043c\u0441\u044f, \u0447\u0442\u043e \u0431\u044b\u043b \u0441\u043e\u0437\u0434\u0430\u043d Makefile \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 ~\/webrtc\/trunk\/<\/p>\n<h4>\u0418\u043c\u043f\u043e\u0440\u0442 \u0432 Eclipse \u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f<\/h4>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c Eclipse \u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u043e \u044d\u0442\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438: <a href=\"http:\/\/code.google.com\/p\/chromium\/wiki\/LinuxEclipseDev\">LinuxEclipseDev<\/a> (\u0420\u0430\u0437\u0434\u0435\u043b \u00abInstall the C Development Tools (\u00bbCDT&quot;)&quot;)<br \/>  \u0422\u0435\u043f\u0435\u0440\u044c, \u043a\u043e\u0433\u0434\u0430 \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442, \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0435\u0433\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c. <\/p>\n<h5>\u041e\u0448\u0438\u0431\u043a\u0430 1<\/h5>\n<p>  \u0423 \u043c\u0435\u043d\u044f \u0441\u0430\u043c\u0430\u044f \u043f\u0435\u0440\u0432\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430 \u0441\u0442\u0440\u043e\u043a\u0438, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435:<br \/>  <code>narrowing conversion of \u2018rate\u2019 from \u2018int\u2019 to \u2018uint32_t []<\/code><br \/>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b \u0444\u0430\u0439\u043b webrtc\/modules\/rtp_rtcp\/interface\/rtp_payload_registry_unittest.cc, \u0432 \u043d\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e:  <\/p>\n<pre><code class=\"cpp\">  ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload(       uint8_t payload_type, int rate) <\/code><\/pre>\n<p>  \u043d\u0430  <\/p>\n<pre><code class=\"cpp\">  ModuleRTPUtility::Payload* ExpectReturnOfTypicalAudioPayload(       uint8_t payload_type, uint32_t rate) <\/code><\/pre>\n<h5>\u041e\u0448\u0438\u0431\u043a\u0430 2<\/h5>\n<p>  \u0412 \u0441\u043b\u0435\u0434\u044e\u0449\u0435\u0439 \u043e\u0448\u0438\u0431\u043a\u0435 \u0431\u044b\u043b\u043e:<br \/>  <code>... -Werror=extra ...<\/code><br \/>  \u0424\u0430\u0439\u043b \/webrtc\/trunk\/webrtc\/build\/common.gypi \u0443<br \/>  \u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443 179  <\/p>\n<pre><code class=\"javascript\">179:  '-Wextra', <\/code><\/pre>\n<p>  \u0424\u0430\u0439\u043b \/webrtc\/trunk\/build\/common.gypi<br \/>  \u0421\u0442\u0440\u043e\u043a\u0430 3875<br \/>  \u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c  <\/p>\n<pre><code class=\"javascript\"> 3875:      'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES',    # -Werror <\/code><\/pre>\n<p>  \u041d\u0430  <\/p>\n<pre><code class=\"javascript\">3875:\t'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO',    # -Werror <\/code><\/pre>\n<p>  \u0418 \u0447\u0443\u0442\u044c \u043d\u0438\u0436\u0435 \u0441\u0442\u0440\u043e\u043a\u0430 3882, \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0435\u0435:  <\/p>\n<pre><code class=\"javascript\">3882: '-Wextra', <\/code><\/pre>\n<p>  <\/p>\n<h5>\u041e\u0448\u0438\u0431\u043a\u0430 3<\/h5>\n<p>  \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432\u0440\u043e\u0434\u0435 \u044d\u0442\u043e\u0433\u043e:<br \/>  <code>\/webrtc\/talk\/app\/webrtc\/java\/jni\/peerconnection_jni.cc:113:7: note: in definition of macro \u2018CHECK\u2019<\/code><br \/>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0444\u0430\u0439\u043b \/webrtc\/talk\/app\/webrtc\/java\/jni\/peerconnection_jni.cc:  <\/p>\n<pre><code class=\"cpp\">#include &lt;unistd.h&gt; <\/code><\/pre>\n<p>  <\/p>\n<h5>\u041e\u0448\u0438\u0431\u043a\u0430 n<\/h5>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435 \u0443\u0436\u0435 \u043d\u0435 \u0441\u0442\u0430\u043b \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 \u0432 unittest-\u0430\u0445 \u0433\u0443\u0433\u043b\u0430 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u0432\u044b\u043a\u043b\u0447\u0438\u043b \u0438\u0445 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044e \u0432 \u0444\u0430\u0439\u043b\u0435 webrtc\/trunk\/all.gyp.   <\/p>\n<pre><code class=\"javascript\">#'talk\/libjingle_tests.gyp:*', <\/code><\/pre>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435, \u0432 \u043f\u0430\u043f\u043a\u0435 \/home\/udaf\/rabbit\/webrtc\/trunk\/out\/Debug\/ \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u0441\u0440\u0435\u0434\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0430\u0431\u043e\u043b\u044c\u0448\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442: peerconnection_client \u0438 peerconnection_server <\/p>\n<h4>\u041a\u043e\u0440\u043e\u0442\u043a\u043e \u043e Gyp<\/h4>\n<p>  \u0413\u0443\u0433\u043b-\u043a\u043e\u0434 \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 gyp. \u0412 .gyp \u0444\u0430\u0439\u043b\u0430\u0445 \u043c\u043e\u0436\u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0435\u0439 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043a \u0441\u0432\u043e\u0435\u043c\u0443 \u043a\u043e\u0434\u0443 \u0432\u043e\u0442 \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"javascript\">\t\t'cflags': [ \t\t\t'-I\/usr\/local\/include -I\/usr\/local\/include\/cppconn -fexceptions', \t\t], \t\t'link_settings': { \t\t\t'ldflags': [ \t\t\t\t'&lt;!@(pkg-config --libs gtk+-2.0 gmodule-2.0 gthread-2.0 libavcodec libavformat libavutil libswscale)', \t\t\t\t'-lmysqlcppconn' \t\t\t], \t\t\t'libraries': [ \t\t  \t\t'-ldl', \t\t  \t\t'-lmysqlcppconn' \t\t\t], \t\t}, <\/code><\/pre>\n<h4>\u0421\u0441\u044b\u043b\u043a\u0438<\/h4>\n<p>  <\/p>\n<ul>\n<li><a href=\"http:\/\/www.webrtc.org\/reference\/getting-started\">www.webrtc.org\/reference\/getting-started<\/a> \u2014 \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 WebRTC<\/li>\n<li><a href=\"http:\/\/www.webrtc.org\/reference\/getting-started\/prerequisite-sw\">www.webrtc.org\/reference\/getting-started\/prerequisite-sw<\/a> \u2014 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 WebRTC<\/li>\n<li><a href=\"https:\/\/sites.google.com\/a\/chromium.org\/dev\/developers\/how-tos\/depottools\">sites.google.com\/a\/chromium.org\/dev\/developers\/how-tos\/depottools<\/a> \u2014 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 depot_tools<\/li>\n<li><a href=\"http:\/\/code.google.com\/p\/chromium\/wiki\/LinuxEclipseDev\">code.google.com\/p\/chromium\/wiki\/LinuxEclipseDev<\/a> \u2014 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Eclipse <\/li>\n<li><a href=\"http:\/\/code.google.com\/p\/gyp\/wiki\/GypUserDocumentation\">code.google.com\/p\/gyp\/wiki\/GypUserDocumentation<\/a> \u2014 \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 gyp.<\/li>\n<\/ul>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/204068\/\"> http:\/\/habrahabr.ru\/post\/204068\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c, \u0445\u0430\u0431\u0440\u0430\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438!<\/p>\n<p>  \u0412\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0448\u043f\u0430\u0440\u0433\u0430\u043b\u043a\u0443 \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 WebRTC + Eclipce 4.3 + ubuntu 13.10. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0442\u0435\u043c, \u043a\u0442\u043e \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0431\u044f \u0432 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043a\u043e\u0434\u0430 \u043d\u0430 \u0421++ \u0434\u043b\u044f webrtc.<\/p>\n<p>  \u0421\u043a\u0430\u0436\u0443 \u0441\u0440\u0430\u0437\u0443, \u0447\u0442\u043e \u0443 Google \u0435\u0441\u0442\u044c \u043d\u0435\u043f\u043b\u043e\u0445\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0440\u0435\u0434\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043d\u0430\u0447\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \u041d\u043e \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0443 \u043c\u0435\u043d\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0443\u0445\u043e\u0434\u0438\u0442 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e. \u041d\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u0436\u0435 \u0434\u0435\u043d\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043f\u043e \u043d\u043e\u0432\u043e\u043c\u0443. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043e\u043f\u044b\u0442\u043e\u043c, \u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043c\u0443-\u0442\u043e \u043e\u043d\u0430 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c \u043f\u0430\u0440\u0443 \u0441\u0443\u0442\u043e\u043a. \u041d\u0430 ubuntu \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 12.10 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u0441\u0435 \u0441\u0442\u0430\u0432\u0438\u043b\u043e\u0441\u044c \u0445\u043e\u0440\u043e\u0448\u043e \u0438 \u0441\u0440\u0430\u0437\u0443 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u041d\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0432\u044b\u0448\u043b\u0430 \u0432\u0435\u0440\u0441\u0438\u044f 13.10 \u0438 \u0442\u0443\u0442 \u043d\u0430\u0447\u0430\u043b\u0438\u0441\u044c \u0435\u0449\u0435 \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u041d\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0433\u0443\u0433\u043b-\u043a\u043e\u0434\u0430 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c \u043f\u043e\u043b-\u0434\u043d\u044f. \u0410 \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u0442\u043e\u043c\u0443 \u043a\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0447\u0430\u043b \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f?   <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-204068","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/204068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=204068"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/204068\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=204068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=204068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=204068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}