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

B. Bogart ben at ekran.org
Fri May 5 18:10:13 CEST 2006


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.





More information about the GEM-dev mailing list