Compiling gstreamer application on beagle board

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling gstreamer application on beagle board

amit_emb
Hi,

I have installed all of the pakages required for building gstreamer application (using command opkg install  <pakage-name>)

List of pakages installed on beagle board:
1.  gstreamer
2.  gstreamer-dev
3.  gst-plugins-base
4.  gst-plugin-good
5.  gst-plugin-ugly
6.  gst-plugin-mpegdec
7.  gst-plugin-mpegdemux
8.  gst-plugins-mpegtsmux
9.  gstreamer-static
10. gst-plugin-xvimagesink
11. gst-plugin-ximagesink
12. gst-plugin-vorbis
13. gst-plugin-volume
14. gst-plugin-videotestsrc
15. gst-plugin-videoscale
16. gst-plugin-videorate
17. gst-plugin-theora
18. gst-plugin-pango
19. gst-plugin-ogg
20. gst-plugin-mad
21. gst-plugin-ffmpegcolorspace
22. gst-plugin-esd
23. gst-plugin-app

when I tried to build a simple gstreamer application by using following command:

gcc $(pkg-config --cflags --libs gstreamer-0.10) gst_pro1.c -o gst_pro1

Its generating following error.

Error:
--------------------------Snip Start-----------------------------------
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
gst_pro1.c:1:21: error: gst/gst.h: No such file or directory
gst_pro1.c:3: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'cb_have_data'
gst_pro1.c:21: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'main'
--------------------------Snip End------------------------------------

So, please suggest me what I can do to remove above error or there is any other way to installing gstremer on beagle board.

Please help me to sorting out this problem, any responce would be highly appreciable. Thanks in advance.

Thanks
Amit

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling gstreamer application on beagle board

Sudarshan Bisht
Did you do "export PKG_CONFIG_PATH=/usr/lib/pkgconfig"    ?


On Tue, Jul 20, 2010 at 10:54 AM, amit sharma <[hidden email]> wrote:
Hi,

I have installed all of the pakages required for building gstreamer application (using command opkg install  <pakage-name>)

List of pakages installed on beagle board:
1.  gstreamer
2.  gstreamer-dev
3.  gst-plugins-base
4.  gst-plugin-good
5.  gst-plugin-ugly
6.  gst-plugin-mpegdec
7.  gst-plugin-mpegdemux
8.  gst-plugins-mpegtsmux
9.  gstreamer-static
10. gst-plugin-xvimagesink
11. gst-plugin-ximagesink
12. gst-plugin-vorbis
13. gst-plugin-volume
14. gst-plugin-videotestsrc
15. gst-plugin-videoscale
16. gst-plugin-videorate
17. gst-plugin-theora
18. gst-plugin-pango
19. gst-plugin-ogg
20. gst-plugin-mad
21. gst-plugin-ffmpegcolorspace
22. gst-plugin-esd
23. gst-plugin-app

when I tried to build a simple gstreamer application by using following command:

gcc $(pkg-config --cflags --libs gstreamer-0.10) gst_pro1.c -o gst_pro1

Its generating following error.

Error:
--------------------------Snip Start-----------------------------------
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
gst_pro1.c:1:21: error: gst/gst.h: No such file or directory
gst_pro1.c:3: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'cb_have_data'
gst_pro1.c:21: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'main'
--------------------------Snip End------------------------------------

So, please suggest me what I can do to remove above error or there is any other way to installing gstremer on beagle board.

Please help me to sorting out this problem, any responce would be highly appreciable. Thanks in advance.

Thanks
Amit

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling gstreamer application on beagle board

Emmanuel Pacaud-3
In reply to this post by amit_emb
Hi,

Just listen to what the build system says: :)

Le mardi 20 juillet 2010 à 09:54 +0200, amit sharma a écrit :
> Package gstreamer-0.10 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gstreamer-0.10.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gstreamer-0.10' found

Try to locate gstreamer-0.10.pc, and if it is present, set
PKG_CONFIG_PATH to the right value.

If not, you're may be missing a development package.

Emmanuel.


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling gstreamer application on beagle board

Irfan Shaikh-2
In reply to this post by amit_emb
Mention path of ur filesystem (FILESYS_DIR)
 
export PKG_CONFIG_PATH=$FILESYS_DIR/opt/gstreamer/lib/pkgconfig:$FILESYS_DIR/usr/lib/pkgconfig

________________________________

From: amit sharma [mailto:[hidden email]]
Sent: Tue 7/20/2010 1:24 PM
To: [hidden email]
Subject: [gst-devel] Compiling gstreamer application on beagle board


Hi,

I have installed all of the pakages required for building gstreamer application (using command opkg install  <pakage-name>)

List of pakages installed on beagle board:
1.  gstreamer
2.  gstreamer-dev
3.  gst-plugins-base
4.  gst-plugin-good
5.  gst-plugin-ugly
6.  gst-plugin-mpegdec
7.  gst-plugin-mpegdemux
8.  gst-plugins-mpegtsmux
9.  gstreamer-static
10. gst-plugin-xvimagesink
11. gst-plugin-ximagesink
12. gst-plugin-vorbis
13. gst-plugin-volume
14. gst-plugin-videotestsrc
15. gst-plugin-videoscale
16. gst-plugin-videorate
17. gst-plugin-theora
18. gst-plugin-pango
19. gst-plugin-ogg
20. gst-plugin-mad
21. gst-plugin-ffmpegcolorspace
22. gst-plugin-esd
23. gst-plugin-app

when I tried to build a simple gstreamer application by using following command:

gcc $(pkg-config --cflags --libs gstreamer-0.10) gst_pro1.c -o gst_pro1

Its generating following error.

Error:
--------------------------Snip Start-----------------------------------
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
gst_pro1.c:1:21: error: gst/gst.h: No such file or directory
gst_pro1.c:3: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'cb_have_data'
gst_pro1.c:21: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'main'
--------------------------Snip End------------------------------------

So, please suggest me what I can do to remove above error or there is any other way to installing gstremer on beagle board.

Please help me to sorting out this problem, any responce would be highly appreciable. Thanks in advance.

Thanks
Amit



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

winmail.dat (6K) Download Attachment