[GEM-dev] Compiling Gem from terminal on OSX: WAS: anyone have a recent G5

B. Bogart ben at ekran.org
Fri May 5 20:49:28 CEST 2006


Hi again,

So after more wrestling I noticed this in the gem configure output:

checking whether linker accepts "-bundle -bundle_loader no pd in /bin
/sbin /usr/bin /usr/sbin /opt/local/bin /usr/local/bin"... no

So I copied the Resources/bin/pd files to /usr/local/bin and boom all the
pd symbols are resvolved.

Still gem does not link:

g++ -o Gem.pd_darwin -bundle -bundle_loader /usr/local/bin/pd -framework
QuickTime -framework Carbon -framework AGL -framework OpenGL   Base/*.o
Controls/*.o Geos/*.o Manips/*.o MarkEx/*.o Nongeos/*.o Particles/*.o
Pixes/*.o openGL/*.o -ldl -lz -lm   -lpthread
ld: Undefined symbols:
recordQT::getCodecName(int)
recordQT::getCodecDescription(int)
make: *** [Gem.pd_darwin] Error 1

I'll just remove the pix_record stuff for now I guess.

.b.




On Fri, May 5, 2006 12:10 pm, B. Bogart said:
> Hey all,
>
> I'm almost there! so building gem works, but linking dies with the PD
symbols.
>
> I have the right m_pd.h stuff in /usr/local/include, but being on OSX no
binary in /usr/local/bin.
>
> Should I just copy the binary from the .app into /usr/local/bin? Or is
something else different happening here?
>
> g++ -o Gem.pd_darwin -framework QuickTime -framework Carbon -framework
AGL
> -framework OpenGL   Base/*.o Controls/*.o Geos/*.o Manips/*.o MarkEx/*.o
Nongeos/*.o Particles/*.o Pixes/*.o openGL/*.o -ldl -lz -lm   -lpthread
ld: Undefined symbols:
> _main
> _canvas_getcurrent
> _error
> _gensym
> _atom_getint
> _class_addmethod
> _outlet_anything
> _outlet_free
> _outlet_new
> _post
> _inlet_free
> _inlet_new
> _clock_delay
> _clock_getsystime
> _clock_gettimesince
> _clock_new
> _clock_unset
> _atom_getfloat
> _atom_getsymbol
> _class_doaddfloat
> _garray_class
> _pd_findbyclass
> _startpost
> _s_float
> _atom_string
> _class_addlist
> _class_addcreator
> _class_new
> _class_sethelpsymbol
> _pd_new
> _class_addbang
> _outlet_list
> _outlet_float
> _outlet_symbol
> _s_list
> _clock_free
> _s_
> _outlet_bang
> _canvas_makefilename
> _class_addanything
> _dsp_add
> _nullfn
> _s_signal
> _garray_getfloatarray
> _canvas_getdir
> _open_via_path
> _atom_getfloatarg
> _freebytes
> _getbytes
> _s_bang
> _floatinlet_new
> _class_addsymbol
> _resizebytes
> _pd_bind
> _pd_unbind
> _s_symbol
> _garray_redraw
> recordQT::getCodecName(int)
> recordQT::getCodecDescription(int)
> make: *** [Gem.pd_darwin] Error 1
>
>
> Thanks all.
>
> Almost there!
>
> .b.
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>








More information about the GEM-dev mailing list