<div dir="ltr">Hi Luis<div><br></div><div>Thanks for the reply</div><div><br></div><div><div class="gmail_extra" style="font-size:13px">>>Could you give us some more context? </div><div class="gmail_extra" style="font-size:13px">>>Which Tutorial are you getting the code from? Have a link? Just to confirm.</div><div class="gmail_extra" style="font-size:13px"><span style="font-size:small">I am trying to run Tutorial 5. I cloned the tutorials from this link given by Sebastian <a href="http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials">http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials</a></span></div></div><div><br></div><div><span style="font-size:13px">>>How are you building the code? Which platform, environment? You only say eclipse.</span><br></div><div><span style="font-size:13px">I am building the code according to the instructions given by  </span><a class="" href="https://plus.google.com/u/0/108085624118718268570?prsrc=4" target="_blank" style="text-decoration:none;font-family:'normal arial',sans-serif;font-size:16px;line-height:20px">Alejandro Vázquez</a> </div><div><div style="font-size:13px">-<span class="">Gstreamer</span>  autobuild when you run some of the tutorials </div><div style="font-size:13px">-The first thing to do is try to compile any of the tutorials.</div><div style="font-size:13px">Step:</div><div style="font-size:13px">1- Dowload NDK r9 (the latter does not work with <span class="">GStreamer</span>).</div><div style="font-size:13px">2- Configure eclipse (Windows/preference/android/ndk)</div><div style="font-size:13px">3-Import the tutorials (GStreamerSDK/share/gst-sdk)</div><div style="font-size:13px">4-define GSTREAMER_ROOT_ANDROID (your path GStreamerSDK)</div><div style="font-size:13px">5-Convert to C/c++ Project (Select the project->New->C/C++->Convert to C/C++. Makefile project--Android GCC)</div><div style="font-size:13px">6-Compile and run.</div></div><div style="font-size:13px"><br></div><div style="font-size:13px">>>The code fails to build the first time but builds fine if you close and reopen the project?<br></div><div style="font-size:13px">By this I mean, if I open the tutorial-5.c, then it shows error in the file. So the code will build fine, but it wont run. It shows "Your Project Contains error(s), please fix them before running your application"</div><div style="font-size:13px">If I close the project and the reopen it and then try to run it, it runs fine. I am attaching 2 screenshots which clarify what I said more. PS I run the tutorial as Android Application not as Android Native Application as the option does not show when I right click on the project</div><div style="font-size:13px"><br></div><div style="font-size:13px">Please let me know if you need some more explanation</div><div style="font-size:13px"><br></div><div style="font-size:13px">Regards</div><div style="font-size:13px">Pankaj Bansal</div><div><span style="font-size:13px"><br></span></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 5, 2015 at 4:19 PM, Luis de Bethencourt <span dir="ltr"><<a href="mailto:luis@debethencourt.com" target="_blank">luis@debethencourt.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On 5 January 2015 at 10:00, pankaj bansal <span dir="ltr"><<a href="mailto:pankaj.bansal.jiit@gmail.com" target="_blank">pankaj.bansal.jiit@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>I am trying to debug the native code in Tutorial - 5, but not able to do that. I have build the code and it runs fine. But when I open tutorial-5.c, it shows error everywhere in file. Then When I try to run the application it shows </div><div><br></div><div>[2015-01-05 15:08:08 - Tutorial5] Your project contains error(s), please fix them before running your application.<br></div><div><br></div><div>Now if I close the project in eclipse and reopen it, then run the tutorial, it will run fine. So basically it gives error in Native code and does not run When native files are open. </div><div><br></div><div>How do I debug the Native code ?</div><div><br></div><div>Regards</div><span><font color="#888888"><div>Pankaj Bansal</div></font></span></div>
</blockquote></div><br></div></div></div><div class="gmail_extra">Hello Pankaj,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Could you give us some more context? </div><div class="gmail_extra">Which Tutorial are you getting the code from? Have a link? Just to confirm.</div><div class="gmail_extra">How are you building the code? Which platform, environment? You only say eclipse.</div><div class="gmail_extra"><br></div><div class="gmail_extra">The code fails to build the first time but builds fine if you close and reopen the project?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">Luis</div></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div></div>