maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   gstreamer photography.h (file not found). (https://talk.maemo.org/showthread.php?t=56910)

flgor 2010-06-23 11:18

gstreamer photography.h (file not found).
 
Hello,

Problem solved adding gstreamer0.10-plugins-bad-dev in config

I try to use the gst_photography_set_autofocus().

When i try to compile the application on Garage it fails because gst/interfaces/photography.h: No such file or directory

src.pro file looks like this:

Code:

INCLUDEPATH += -I/targets/FREMANTLE_ARMEL/usr/include/gstreamer-0.10 \
                            -I/targets/FREMANTLE_ARMEL/usr/include/gstreamer-0.10/gst/interfaces \
              -I/targets/FREMANTLE_ARMEL/usr/include/glib-2.0 \
              -I/targets/FREMANTLE_ARMEL/usr/lib/gstreamer-0.10/include/ \
              -I/targets/FREMANTLE_ARMEL/usr/lib/glib-2.0/include/ \
              -I/targets/FREMANTLE_ARMEL/usr/include/libxml2 \
             


LIBS += -lgstreamer-0.10 -lglib-2.0 -lgstphotography-0.10 -lgstinterfaces-0.10
CONFIG += link_pkgconfig
PKGCONFIG += gstreamer-0.10 glib-2.0

QMAKE_LFLAGS += `pkg-config --libs gstreamer-interfaces-0.10 \
                                                        --libs gstreamer-plugins-bad-0.10 \
                                                        --libs gtk+-2.0`

and the control file looks like this:

Code:

Build-Depends: debhelper (>= 5),libqt4-dev, libqt4-core,libqt4-gui, libqt4-dbus, libqt4-network, libqt4-script,libglib2.0-dev, libgstreamer-plugins-base0.10-dev,libx11-dev, libgstreamer0.10-0
Standards-Version: 3.7.2


Architecture: armel
Depends: gstreamer-tools, gstreamer0.10-plugins-bad, ${shlibs:Depends}, ${misc:Depends}
#, libgstreamer-plugins-base0.10-dev,libgstreamer0.10-dev,libx11-dev, ${shlibs:Depends}, ${misc:Depends}


Any idea why the compiler can't find the photography.h?
When i compile on local I don't have this problem.





Thanks
-flgor

lardman 2010-06-23 14:44

Re: gstreamer photography.h (file not found).
 
Try this:

#include <gst/interfaces/photography.h>


All times are GMT. The time now is 04:47.

vBulletin® Version 3.8.8