hello,
I didn't managed to compile the nice pdgst pack of objects on ubuntu 10.04 It tried with the latest Gem from git and with pd 0.42.5 src, Pd-0.42.5-extended src and pd 0.43.0 with different warnings but the same error (see below) libgstreamer-plugins-base0.10-dev is installed, gstreamer I also tried to upgrade gstreamer with ppa:gstreamer-developers with no success
thanks for any advice ++benjamin
make[1]: entrant dans le répertoire « /home/benjamin/ZSofts/PD/pdgst/src » gcc -g -O2 -fPIC -DPD -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DPDGST_PLUGIN -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/home/benjamin/ZSofts/PD/pd-0.43-0/src -I../include -o s_main.o -c s_main.c s_main.c: In function ‘sys_findprogdir’: s_main.c:498: error: ‘statbuf’ undeclared (first use in this function) s_main.c:498: error: (Each undeclared identifier is reported only once s_main.c:498: error: for each function it appears in.) s_main.c:494: warning: ignoring return value of ‘realpath’, declared with attribute warn_unused_result s_main.c: In function ‘sys_afterargparse’: s_main.c:955: error: too few arguments to function ‘sys_get_audio_params’ s_main.c:1005: error: too few arguments to function ‘sys_set_audio_settings’ make[1]: *** [s_main.o] Erreur 1 make[1]: quittant le répertoire « /home/benjamin/ZSofts/PD/pdgst/src » make: *** [src] Erreur 2
hi Benjah,
which version of gstreamer are you using ? i've just sucessfully compiled pdgst on 10.04 here is what i've done : 1 - install gstreamer and gstreamer-plugins dev files sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev 2 - do a fresh checkout : svn co https://svn.umlaeute.mur.at/svnroot/zmoelnig/projects/pdgst~/pd/externals/pd... 3 - edit Makefile to add pd path according to your config gedit ~/pd/externals/pdgst/src/Makefile at least you have to check the PD_SRC assignment 4 - then make and you will get a pdgst.pd_linux in pdgst/src
you may also need to build gst2gem externals : edit pdgst/src/gem/Makefile (mainly GEM_SRC and PD_SRC) then make it compiles fine for me but i got an undefined symbol error when loading pix_gst2pix : pix_gst2pix.pd_linux: undefined symbol: s_pdgst__gst
but i have no time to fix it now
hope this help
antoine
-- do it yourself http://antoine.villeret.free.fr http://drii.ensad.fr -- Google lit ce mail... si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.fr pour me contacter
2012/2/6 benjah@free.fr
hello,
I didn't managed to compile the nice pdgst pack of objects on ubuntu 10.04 It tried with the latest Gem from git and with pd 0.42.5 src, Pd-0.42.5-extended src and pd 0.43.0 with different warnings but the same error (see below) libgstreamer-plugins-base0.10-dev is installed, gstreamer I also tried to upgrade gstreamer with ppa:gstreamer-developers with no success
thanks for any advice ++benjamin
make[1]: entrant dans le répertoire « /home/benjamin/ZSofts/PD/pdgst/src » gcc -g -O2 -fPIC -DPD -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DPDGST_PLUGIN -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/home/benjamin/ZSofts/PD/pd-0.43-0/src -I../include -o s_main.o -c s_main.c s_main.c: In function ‘sys_findprogdir’: s_main.c:498: error: ‘statbuf’ undeclared (first use in this function) s_main.c:498: error: (Each undeclared identifier is reported only once s_main.c:498: error: for each function it appears in.) s_main.c:494: warning: ignoring return value of ‘realpath’, declared with attribute warn_unused_result s_main.c: In function ‘sys_afterargparse’: s_main.c:955: error: too few arguments to function ‘sys_get_audio_params’ s_main.c:1005: error: too few arguments to function ‘sys_set_audio_settings’ make[1]: *** [s_main.o] Erreur 1 make[1]: quittant le répertoire « /home/benjamin/ZSofts/PD/pdgst/src » make: *** [src] Erreur 2
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-02-06 00:00, benjah@free.fr wrote:
hello,
I didn't managed to compile the nice pdgst pack of objects on ubuntu 10.04 It tried with the latest Gem from git and with pd 0.42.5 src, Pd-0.42.5-extended src and pd 0.43.0 with different warnings but the same error (see below) libgstreamer-plugins-base0.10-dev is installed, gstreamer I also tried to upgrade gstreamer with ppa:gstreamer-developers with no success
thanks for any advice ++benjamin
make[1]: entrant dans le répertoire « /home/benjamin/ZSofts/PD/pdgst/src » gcc -g -O2 -fPIC -DPD -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DPDGST_PLUGIN -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/home/benjamin/ZSofts/PD/pd-0.43-0/src -I../include -o s_main.o -c s_main.c s_main.c: In function ?sys_findprogdir?:
"s_main.c" is a source file from pd, not from pdgst. it seems, that you somehow managed to have the Pd sources at the same place sa the pdgst sources. you should not do that, but instead point PD_SRC (and GEM_SRC) to the location of the pd (resp. Gem) sources.
something like: $ make PD_SRC=/home/me/dev/pd/src GEM_SRC=/home/me/dev/Gem/src
fgamsdr IOhannes
hello,
++thanks for your replies, i finally managed to compile pdgst In fact at the first trial, I missed the 2 makefile in src and src/gem directory and I stayed sticked on the makefile in the pdsg dir, which appeared blur to me so I tried the punk method to compile, copying pd source files in the src directory. Then I discovered the 2 other makefile, deleted deleted pd source files but forgot to delete this "s_main.c" ...
but now when I try the examples, a few problems :
pdgst-test.pd
videotestsrc ... couldn't create glimagesink ... couldn't create pdgst $Revision: 0.0 $ (copyleft) IOhannes m zmoelnig @ IEM / KUG compiled on Feb 7 2012 at 01:51:23 compiled against Pd version 0.42.5.extended audio/x-raw-float channels=10 ... couldn't create
pix2gst.pd
pdgst ... couldn't create typefind ... couldn't create ffmpegcolorspace ... couldn't create error: GEM: Someone sent a bogus pointer to copy2Image /usr/lib/pd-extended/extra/Gem/pix_pix2gst.pd_linux: /usr/lib/pd-extended/extra/Gem/pix_pix2gst.pd_linux: undefined symbol: s_pdgst__gst pix_pix2gst yuv 128 64 ... couldn't create aasink ... couldn't create
I added before the object to /usr/lib/pd-extended/extra/Gem and the path to Pd did i missed an elephant ? GEM: ver: 0.93.3 compiled: Jan 8 2012, libgstreamer0.10-0 version 0.10.34-1~lucid1
++benjamin +http://wiki.labomedia.org/index.php/Pure_Data_vs_GStreamer
Le 06/02/2012 11:51, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-02-06 00:00,benjah@free.fr wrote:
hello,
I didn't managed to compile the nice pdgst pack of objects on ubuntu 10.04 It tried with the latest Gem from git and with pd 0.42.5 src, Pd-0.42.5-extended src and pd 0.43.0 with different warnings but the same error (see below) libgstreamer-plugins-base0.10-dev is installed, gstreamer I also tried to upgrade gstreamer with ppa:gstreamer-developers with no success
thanks for any advice ++benjamin
make[1]: entrant dans le répertoire « /home/benjamin/ZSofts/PD/pdgst/src » gcc -g -O2 -fPIC -DPD -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DPDGST_PLUGIN -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/home/benjamin/ZSofts/PD/pd-0.43-0/src -I../include -o s_main.o -c s_main.c s_main.c: In function ?sys_findprogdir?:
"s_main.c" is a source file from pd, not from pdgst. it seems, that you somehow managed to have the Pd sources at the same place sa the pdgst sources. you should not do that, but instead point PD_SRC (and GEM_SRC) to the location of the pd (resp. Gem) sources.
something like: $ make PD_SRC=/home/me/dev/pd/src GEM_SRC=/home/me/dev/Gem/src
fgamsdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/
iEYEARECAAYFAk8vsL0ACgkQkX2Xpv6ydvR6uwCcDzLOruSjd9l398JTPnmw3AYw ivgAoKG800GqBpojaX8k95STuuYM4T4l =ilR4 -----END PGP SIGNATURE-----
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
On 02/07/12 10:47, Benjah @ 01xy.fr wrote:
hello,
++thanks for your replies, i finally managed to compile pdgst In fact at the first trial, I missed the 2 makefile in src and src/gem directory and I stayed sticked on the makefile in the pdsg dir, which appeared blur to me so I tried the punk method to compile, copying pd source files in the src directory.
you should never ever do something like that!
Then I discovered the 2 other makefile, deleted deleted pd source files but forgot to delete this "s_main.c" ...
but now when I try the examples, a few problems :
pdgst-test.pd
videotestsrc ... couldn't create glimagesink ... couldn't create pdgst $Revision: 0.0 $ (copyleft) IOhannes m zmoelnig @ IEM / KUG compiled on Feb 7 2012 at 01:51:23 compiled against Pd version 0.42.5.extended audio/x-raw-float channels=10 ... couldn't create
pix2gst.pd
pdgst ... couldn't create typefind ... couldn't create ffmpegcolorspace ... couldn't create error: GEM: Someone sent a bogus pointer to copy2Image /usr/lib/pd-extended/extra/Gem/pix_pix2gst.pd_linux: /usr/lib/pd-extended/extra/Gem/pix_pix2gst.pd_linux: undefined symbol: s_pdgst__gst pix_pix2gst yuv 128 64 ... couldn't create aasink ... couldn't create
I added before the object to /usr/lib/pd-extended/extra/Gem and the path to Pd did i missed an elephant ?
might be. it seems like gstreamer isn't fully initialized, but in this case you should get an error message when loading pdgst.
are you sure, your pdgst sources are as they should be?
and i assume, that gstreamer is properly installed, so you can run a pipeline from the cmdline, like: $ gst-launch videotestsrc ! aasink
hello,
Le 07/02/2012 10:57, IOhannes m zmölnig a écrit :
so I tried the punk method to compile, copying pd
you should never ever do something like that!
I know :=)
I added before the object to /usr/lib/pd-extended/extra/Gem and the path to Pd did i missed an elephant ?
might be. it seems like gstreamer isn't fully initialized, but in this case you should get an error message when loading pdgst.
are you sure, your pdgst sources are as they should be?
well, I did svn co https://svn.umlaeute.mur.at/svnroot/zmoelnig/projects/pdgst/
and i assume, that gstreamer is properly installed, so you can run a pipeline from the cmdline, like: $ gst-launch videotestsrc ! aasink
yes, it works
I'll try to restart from the beginning with a fresh copy of the svn and will let you know thks ++Benjamin