<div dir="ltr"><div><div><div><div>I don't understand the error either. Here is a snippet of the output from Make yesterday:<br><br>make -C vp8<br>make[3]: Entering directory `/home/ccrisler/GStreamer/gst-plugins-bad-0.10.20/ext/vp8'<br>
CC libgstvp8_la-gstvp8dec.lo<br> CC libgstvp8_la-gstvp8enc.lo<br>In file included from gstvp8utils.h:24,<br> from gstvp8enc.c:56:<br>/usr/include/vpx/vpx_codec.h:45:26: error: vpx_config.h: No such file or directory<br>
make[3]: *** [libgstvp8_la-gstvp8enc.lo] Error 1<br>make[3]: Leaving directory `/home/ccrisler/GStreamer/gst-plugins-bad-0.10.20/ext/vp8'<br>make[2]: *** [vp8] Error 2<br>make[2]: Leaving directory `/home/ccrisler/GStreamer/gst-plugins-bad-0.10.20/ext'<br>
make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/ccrisler/GStreamer/gst-plugins-bad-0.10.20'<br>make: *** [all] Error 2<br><br></div>Here is a snippet of gstvp8enc.c<br><br>#ifdef HAVE_CONFIG_H<br>
#include "config.h"<br>#endif<br><br>#ifdef HAVE_VP8_ENCODER<br><br>#include <gst/tag/tag.h><br>#include <string.h><br><br>#include "gstvp8utils.h"<br>#include "gstvp8enc.h"<br><br>
</div>And here is gstvp8utils.h<br><br>#include <gst/gst.h><br>#include <vpx/vpx_codec.h><br><br></div>Clearly it is not protected. However, today it builds without error.<br><br></div>Thank you Tim.<br><div><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 15, 2013 at 6:07 PM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, 2013-04-15 at 16:54 -0400, Chuck Crisler wrote:<br>
<br>
> I am getting a compile error when trying to completely build<br>
> plugins-bad-0.10.20.<br>
<br>
</div>0.10.20 is from September 2010, is there any reason why you're building<br>
such an ancient version? It's not even the last 0.10 release..<br>
<div class="im"><br>
> The problem seems to be that HAVE_CONFIG_H is defined in the project<br>
> seemingly to mean that there is a config.h in the bad plugin root<br>
> directory that the gstreamer modules should include. Unfortunately in<br>
> VP8 the file vpx_codec.h also uses #ifdef HAVE_CONFIG_H to include<br>
> vpx_config.h, which looks like a generated file that isn't generated,<br>
> hence the error. What is the accepted way to get around this?<br>
<br>
</div>This is a bug in libvpx, pretty rookie mistake really, I would be<br>
surprised if it wasn't fixed yet.<br>
<br>
But this has also been fixed in gst-plugins-bad by the following commit<br>
from May 2010:<br>
<br>
commit fd77b419a4cffab6f96c6228870693789ed30c12<br>
Author: Sebastian Dröge <<a href="mailto:sebastian.droege@collabora.co.uk">sebastian.droege@collabora.co.uk</a>><br>
Date: Thu May 20 09:56:25 2010 +0200<br>
<br>
vp8: Undef HAVE_CONFIG_H before including libvpx headers<br>
<br>
A public libvpx header includes private headers if this is<br>
defined, causing compilation failures because the private headers<br>
are not installed of course.<br>
<br>
<br>
which should be even in -bad 0.10.20 so I don't know what's going on.<br>
<br>
Cheers<br>
-Tim<br>
<br>
<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>
</blockquote></div><br></div>