<html><head><style type="text/css">body {word-wrap: break-word; background-color:#ffffff;}</style></head><body><div style="font-family: sans-serif; font-size: 16px">&gt;&gt; Do you have it on the system or the NDK root? It needs to be on the latter. Stefan<br><br>I have it at /usr/lib (came with the Ubuntu system) which I agree isn't useful.<br><br>Ah, so I need to go download the libjpeg sources on my own, create <a href="http://Android.mk">Android.mk</a> for them, build libjpeg using ndk-build and make that available to the gstreamer build?<br><br>Is the "NDK root" the actual Android NDK install path?&nbsp; Or, perhaps I can do this similar to the glib dependency and plunk the libjpeg project in the gstreamer-0.10_ndk_build dir (a peer to glib)?&nbsp; I'm thinking the build output will already go to the obj/ dir and be in the link path of the configure check and jpeg plugin build?<br><br>Thank you for your help!<br><br>Regards,<br><br>Ryan</div><br><br>-----Original message-----<br><blockquote style="; border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: sans-serif; font-size: 14px"><b>From: </b>Stefan Sauer &lt;ensonic@hora-obscura.de&gt;<b><br>To: </b>&quot;gstreamer-android@lists.freedesktop.org&quot; &lt;gstreamer-android@lists.freedesktop.org&gt;<b><br>Sent: </b>Thu, Apr 26, 2012 02:50:06 CDT<b><br>Subject: </b>Re: Building gst-plugins-good/ext/jpeg<br><br></div><div>

<div bgcolor="#ffffff">
On 04/25/2012 11:45 PM, Ryan Melville wrote:
<blockquote type="cite"><style>
<!--
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Thanks to the directions at <a href="http://gstreamer.freedesktop.org/wiki/GstreamerAndroid_InstallInstructions" target="_BLANK">
http://gstreamer.freedesktop.org/wiki/GstreamerAndroid_InstallInstructions</a> I was able to build GStreamer for Android.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">However, I noticed that libgstjpeg.so was not built.&nbsp; This is in gst-plugins-good/ext/jpeg.&nbsp; It doesn’t seem to be referenced by any Android.mk…</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">My build mentioned:</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="">configure: *** checking feature: jpeg library ***</span></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="">configure: *** for plug-ins: jpeg ***</span></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="">checking for jpeg_set_defaults in -ljpeg-mmx... no</span></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="">checking for jpeg_set_defaults in -ljpeg... no</span></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="">configure: *** These plugins will not be built: jpeg</span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">I *<b>do</b>* have /usr/lib/libjpeg.so on my system and it *<b>does</b>* have jpeg_set_defaults as shown by “readelfs –Ws /usr/lib/libjpeg.so”, which seems to be the detection logic in ‘configure’.&nbsp; But, I’m not sure it would even look
 at my Linux system’s libraries (what use would they be to an Android build?).</p>
</div>
</blockquote>
<br>
Do you have it on the system or the NDK root? It needs to be on the latter.<br>
Stefan<br>
<blockquote type="cite">
<div class="WordSection1">
<p class="MsoNormal"></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Anyway, I apparently don’t understand why the jpeg plugin isn’t being selected to build, as I don’t understand the magic that happened during “./setup.sh” to setup all of my Android.mk’s and build the other libraries.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Has anyone else built the jpeg plugin?&nbsp; Or, I would greatly appreciate any insight or tips on how to build it.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal" style="margin-bottom:12pt">Regards,</p>
<p class="MsoNormal" style="margin-bottom:12pt">Ryan</p>
<p class="MsoNormal">&nbsp;</p>
</div>
<pre>
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gstreamer-android mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_BLANK">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a>
</pre>
</blockquote>
<br>
</div>

</div></blockquote></body></html>