Reply
Thread Tools
Posts: 34 | Thanked: 2 times | Joined on Feb 2010
#1
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

Last edited by flgor; 2010-06-23 at 11:45.
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#2
Try this:

#include <gst/interfaces/photography.h>
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:36.