gstconfig.h file is missing

Bug #1479932 reported by INIZAN yannick
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gstreamer1.0 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

gstconfig.h file is missing from include files :

In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27:0,
                 from /usr/include/gstreamer-1.0/gst/gst.h:35,
                 from /usr/include/gstreamer-1.0/gst/pbutils/pbutils.h:23,
                 from Media.c:9:
/usr/include/gstreamer-1.0/gst/gstelement.h:55:27: fatal error: gst/gstconfig.h: No such file or directory
 #include <gst/gstconfig.h>
                           ^
compilation terminated.

Revision history for this message
Iain Lane (laney) wrote : Re: [Bug 1479932] [NEW] gstconfig.h file is missing

On Thu, Jul 30, 2015 at 07:03:28PM -0000, INIZAN yannick wrote:
> Public bug reported:
>
> gstconfig.h file is missing from include files :
>
> In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27:0,
> from /usr/include/gstreamer-1.0/gst/gst.h:35,
> from /usr/include/gstreamer-1.0/gst/pbutils/pbutils.h:23,
> from Media.c:9:
> /usr/include/gstreamer-1.0/gst/gstelement.h:55:27: fatal error: gst/gstconfig.h: No such file or directory
> #include <gst/gstconfig.h>

Which version of gstreamer? It's there in wily

  -rw-r--r-- root/root 4487 2015-07-22 14:20 ./usr/lib/x86_64-linux-gnu/gstreamer-1.0/include/gst/gstconfig.h

...and in trusty

  -rw-r--r-- root/root 4488 2014-05-13 18:52 ./usr/include/gstreamer-1.0/gst/gstconfig.h

 status incomplete

--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]

Changed in gstreamer1.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
INIZAN yannick (inizan-yannick) wrote :

I'm on ubuntu wily. And yes file is present in directory but not found during compilation process

Revision history for this message
INIZAN yannick (inizan-yannick) wrote :

Not a bug : include directories changed in this package, we have to reconfigure project for a correct build

Changed in gstreamer1.0 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Iain Lane (laney) wrote : Re: [Bug 1479932] Re: gstconfig.h file is missing

On Fri, Jul 31, 2015 at 09:53:59AM -0000, INIZAN yannick wrote:
> I'm on ubuntu wily. And yes file is present in directory but not found
> during compilation process

What are you trying to build?

I would say that it's probably not using gstreamer's pkg-config file
correctly; this gives you the right CFLAGS to use.

  laney@wily> pkg-config --cflags gstreamer-1.0
  -pthread -I/usr/include/gstreamer-1.0 -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include

I just fixed a problem quite similar to this in telepathy-qt5.

Cheers,

--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]

Revision history for this message
Czikus (czikus-gmail) wrote :

I had the same problem in a large project compiled from source. But, removing all compilation cache and recompiling worked. Probably something must have changed in the ubuntu package between my previous compilation and now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.