[PD] pdgst on mac

Nicolas Montgermont nicolas_montgermont at yahoo.fr
Wed Sep 22 10:57:26 CEST 2010


  ok my fault.
now i have installed:
gstreamer-0.10
gstreamer-0.10-dev
gstreamer-0.10-shlibs

but it is missing the plugins package, maybe the shlibs is the same?
trying to compile in pdgst/src gives:

Liszt:src ncio$ make 
PD_SRC=/Applications/Pd-extended.app/Contents/Resources/include/ 
GEM_SRC=/Applications/Pd-extended.app/Contents/Resources/include/Base/ 
EXT=pd_darwin EXT=pd_darwin SYSTEMCFLAGS="-fPIC" SYSTEMLDFLAGS="-bundle 
-undefined dynamic_lookup"
Package gstreamer-plugins-base-0.10 was not found in the pkg-config 
search path.
Perhaps you should add the directory containing 
`gstreamer-plugins-base-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-plugins-base-0.10' found
gcc  -g -O2 -fPIC -DPD -I/sw/include/gstreamer-0.10 
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libxml2 
-I/sw/include -DPDGST_PLUGIN  -I/sw/include 
-I/Applications/Pd-extended.app/Contents/Resources/include/ -I../include 
-o audio/pdgst_adc~.o -c audio/pdgst_adc~.c
audio/pdgst_adc~.c:22:2: warning: #warning add docs
audio/pdgst_adc~.c:26:32: error: gst/app/gstappsink.h: No such file or 
directory
audio/pdgst_adc~.c: In function 'pdgst_adc_perform':
audio/pdgst_adc~.c:50: error: 'GstAppSink' undeclared (first use in this 
function)
audio/pdgst_adc~.c:50: error: (Each undeclared identifier is reported 
only once
audio/pdgst_adc~.c:50: error: for each function it appears in.)
audio/pdgst_adc~.c:50: error: 'sink' undeclared (first use in this function)
audio/pdgst_adc~.c:62: warning: assignment makes pointer from integer 
without a cast
audio/pdgst_adc~.c: In function 'pdgst_adc_new':
audio/pdgst_adc~.c:140: error: 'GstAppSink' undeclared (first use in 
this function)
audio/pdgst_adc~.c:140: error: 'sink' undeclared (first use in this 
function)
audio/pdgst_adc~.c:200:2: warning: #warning _info hack
make: *** [audio/pdgst_adc~.o] Error 1

in /sw/lib i have this from gstreamer:
/sw/lib/libgstbase-0.10.0.dylib
/sw/lib/libgstbase-0.10.dylib
/sw/lib/libgstbase-0.10.la
/sw/lib/libgstcontroller-0.10.0.dylib
/sw/lib/libgstcontroller-0.10.dylib
/sw/lib/libgstcontroller-0.10.la
/sw/lib/libgstdataprotocol-0.10.0.dylib
/sw/lib/libgstdataprotocol-0.10.dylib
/sw/lib/libgstdataprotocol-0.10.la
/sw/lib/libgstnet-0.10.0.dylib
/sw/lib/libgstnet-0.10.dylib
/sw/lib/libgstnet-0.10.la
/sw/lib/libgstreamer-0.10.0.dylib
/sw/lib/libgstreamer-0.10.dylib
/sw/lib/libgstreamer-0.10.la

and in /sw/include/gstreamer-0.10/gst :
base/                 gstcompat.h           gstindexfactory.h     
gstparse.h            gsttagsetter.h
controller/           gstconfig.h           gstinfo.h             
gstpipeline.h         gsttask.h
dataprotocol/         gstdebugutils.h       gstinterface.h        
gstplugin.h           gsttaskpool.h
glib-compat.h         gstelement.h          gstiterator.h         
gstpluginfeature.h    gsttrace.h
gst.h                 gstelementfactory.h   gstmacros.h           
gstpoll.h             gsttypefind.h
gstbin.h              gstenumtypes.h        gstmarshal.h          
gstpreset.h           gsttypefindfactory.h
gstbuffer.h           gsterror.h            gstmessage.h          
gstquery.h            gsturi.h
gstbufferlist.h       gstevent.h            gstminiobject.h       
gstregistry.h         gstutils.h
gstbus.h              gstfilter.h           gstobject.h           
gstsegment.h          gstvalue.h
gstcaps.h             gstformat.h           gstpad.h              
gststructure.h        gstversion.h
gstchildproxy.h       gstghostpad.h         gstpadtemplate.h      
gstsystemclock.h      gstxml.h
gstclock.h            gstindex.h            gstparamspecs.h       
gsttaglist.h          net/

can i try to link to libgstbase-0.10 instead of gstreamer-plugins-base-0.10?
not sure how to do that though...

thx

n

Le 22/09/10 10:17, IOhannes m zmoelnig a écrit :
> On 2010-09-22 10:06, Nicolas Montgermont wrote:
>>   OK i'm installing the dev packages as well. (very long on osx)
>> In fink there are labeled:
>> gstreamer-dev 0.8.12-1029
> no, you need gstreamer-0.10
> (i think development on gstreamer-0.8 has been stopped about 6 years ago)
>
> fgmasdr
> IOhannes
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->  http://lists.puredata.info/listinfo/pd-list

-- 
http://nim.on.free.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100922/b707ecae/attachment.htm>


More information about the Pd-list mailing list