[GEM-dev] pb to compil pdgst on ubuntu studio 12.04

q.dumont at free.fr q.dumont at free.fr
Tue Jul 3 15:50:50 CEST 2012


Hello, 

Try to install on my pdgst pd-extended, but it does not work.

Here's how I do:

$svn co https://svn.umlaeute.mur.at/svnroot/zmoelnig/projects/pdgst
$git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data
$git clone git://pd-gem.git.sourceforge.net/gitroot/pd-gem/Gem
$cd pdgst
$make PD_SRC=/home/quentin/Bureau/pure-data/src GEM_SRC=/home/quentin/Bureau/Gem/src

It leaves me this:

make -C src
make[1]: entrant dans le répertoire « /home/quentin/Bureau/pdgst/src »
gcc  -g -O2 -fPIC -DPD -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/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/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2    -I/home/quentin/Bureau/pd/src -I../include -o properties.o -c properties.c
gcc  -g -O2 -fPIC -DPD -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/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/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2    -I/home/quentin/Bureau/pd/src -I../include -o setup.o -c setup.c
gcc  -shared -lc -lm  -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0   -lgstapp-0.10 -lgstaudio-0.10 -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0   -o pdgst.pd_linux audio/pdgst_adc~.o audio/pdgst_dac~.o gvalue.o loop.o pdgst.o pdgst_base.o pdgst_capsfilter.o pdgst_element.o properties.o setup.o
make[1]: quittant le répertoire « /home/quentin/Bureau/pdgst/src »
make -C src/gem
make[1]: entrant dans le répertoire « /home/quentin/Bureau/pdgst/src/gem »
g++ -DPD -g -O2 -fPIC -DPDGST_PLUGIN -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2    -I/home/quentin/Bureau/pd/src -I/home/quentin/Bureau/Gem/src -I/home/quentin/Bureau/Gem/src/deprecated -I. -I../../include/ -I../include  -o pix_gst2pix.o -c pix_gst2pix.cpp
In file included from pdgstGem.h:16:0,
                 from pix_gst2pix.h:13,
                 from pix_gst2pix.cpp:13:
/home/quentin/Bureau/Gem/src/deprecated/Base/GemPixUtil.h:2:3: attention : #warning GemPixUtil.h is deprecated - please include "Gem/Image.h" instead [-Wcpp]
In file included from pix_gst2pix.cpp:15:0:
/home/quentin/Bureau/Gem/src/deprecated/Base/GemState.h:2:3: attention : #warning GemState.h is deprecated - please include "Gem/State.h" instead [-Wcpp]
pix_gst2pix.cpp:151:2: attention : #warning LATER store the original pixblock in render() and restore it here [-Wcpp]
g++ -DPD -g -O2 -fPIC -DPDGST_PLUGIN -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2    -I/home/quentin/Bureau/pd/src -I/home/quentin/Bureau/Gem/src -I/home/quentin/Bureau/Gem/src/deprecated -I. -I../../include/ -I../include  -o pdgstGem.o -c pdgstGem.cpp
In file included from pdgstGem.h:16:0,
                 from pdgstGem.cpp:18:
/home/quentin/Bureau/Gem/src/deprecated/Base/GemPixUtil.h:2:3: attention : #warning GemPixUtil.h is deprecated - please include "Gem/Image.h" instead [-Wcpp]
g++ -fPIC -rdynamic -shared  -o pix_gst2pix.pd_linux pix_gst2pix.o pdgstGem.o -lc -lm    -lgstapp-0.10 -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0  
g++ -DPD -g -O2 -fPIC -DPDGST_PLUGIN -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2    -I/home/quentin/Bureau/pd/src -I/home/quentin/Bureau/Gem/src -I/home/quentin/Bureau/Gem/src/deprecated -I. -I../../include/ -I../include  -o pix_pix2gst.o -c pix_pix2gst.cpp
In file included from pdgstGem.h:16:0,
                 from pix_pix2gst.h:13,
                 from pix_pix2gst.cpp:13:
/home/quentin/Bureau/Gem/src/deprecated/Base/GemPixUtil.h:2:3: attention : #warning GemPixUtil.h is deprecated - please include "Gem/Image.h" instead [-Wcpp]
In file included from pix_pix2gst.cpp:14:0:
/home/quentin/Bureau/Gem/src/deprecated/Base/GemState.h:2:3: attention : #warning GemState.h is deprecated - please include "Gem/State.h" instead [-Wcpp]
g++ -fPIC -rdynamic -shared  -o pix_pix2gst.pd_linux pix_pix2gst.o pdgstGem.o -lc -lm    -lgstapp-0.10 -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0  
make[1]: quittant le répertoire « /home/quentin/Bureau/pdgst/src/gem »
quentin at quentin-AMILO-Xi-2428:~/Bureau/pdgst$ 
quentin at quentin-AMILO-Xi-2428:~/Bureau/pdgst$ make PD_SRC=/home/quentin/Bureau/pd/src GEM_SRC=/home/quentin/Bureau/Gem/src
make -C src
make[1]: entrant dans le répertoire « /home/quentin/Bureau/pdgst/src »
make[1]: Rien à faire pour « current ».
make[1]: quittant le répertoire « /home/quentin/Bureau/pdgst/src »
make -C src/gem
make[1]: entrant dans le répertoire « /home/quentin/Bureau/pdgst/src/gem »
make[1]: Rien à faire pour « default ».
make[1]: quittant le répertoire « /home/quentin/Bureau/pdgst/src/gem »
quentin at quentin-AMILO-Xi-2428:~/Bureau/pdgst$

I have files that are created ('pix_gst2pix.pd_linux' and 'pix_pix2gst.pd_linux' in 'src/gem' and 'pdgst.pd_linux' in my'src' of pdgst)

'pix_gst2pix.pd_linux' and 'pix_pix2gst.pd_linux' was a copy in /usr/lib/pd-extended/extra/Gem and 'pdgst.pd_linux' in /usr/lib/pd-extended/extra.

But try open the pdgst-test.pd 

I [pdgst] which is framed in red, same for [videotestsrc], [sfsink] and [audio / x-raw-float channels = 10]

in the window of my log:
 videotestsrc
... couldn't create
 glimagesink
... couldn't create
/home/quentin/Bureau/pdgst/src/pdgst.pd_linux: /home/quentin/Bureau/pdgst/src/pdgst.pd_linux: undefined symbol: g_object_get_property
 pdgst
... couldn't create
 sfsink
... couldn't create
 audio/x-raw-float channels=10
... couldn't create

gst-launch-0.10 v4l2src ! queue ! ffmpegcolorspace ! videoscale ! video/x-raw-yuv,width=320,height=240 ! theoraenc quality=16 ! queue ! ......
Is fonctionnal in terminal.


Would I miss some things to make it work properly?
Can you tell me how to install it entirely (where to put files etc ... Once the compilation made)?
I can help it work.

Thank you in advance.

+++ Quentin Dumont.



More information about the GEM-dev mailing list