[PD] Compiling ANN(s) on MacOSX

jack at rybn.org jack at rybn.org
Sat Oct 3 18:12:05 CEST 2009


Hello,

I have no problem to compile ANN(s) on Ubuntu 9.04 but it seems to be more
difficult on MacOSX.4.11.
I have installed fann-1.2.0 and download ANN from :
cvs -z3
-d:pserver:anonymous at pure-data.cvs.sourceforge.net:/cvsroot/pure-data co
-P externals/ann

I have changed to the correct PATHs in makefile.darwin

then :
cd /ann/src/
make -f makefile.darwin

and i get :

rybn0:~/Desktop/externals/ann/src RYBN0$ make -f makefile.darwin
cc -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused
-Wno-parentheses -Wno-switch -I../../src
-I/Applications/Pd-extendedA.app/Contents/Resources/include/ -o ann_mlp.o
-c ann_mlp.c
cc -bundle  -bundle_loader
/Applications/Pd-extendedA.app/Contents/MacOS/Pd-extended -flat_namespace
-o ann_mlp.pd_darwin ~/Desktop/fann-1.2.0/src/fann.o
~/Desktop/fann-1.2.0/src/fann_train.o
~/Desktop/fann-1.2.0/src/fann_train_data.o
~/Desktop/fann-1.2.0/src/fann_io.o ~/Desktop/fann-1.2.0/src/fann_error.o
~/Desktop/fann-1.2.0/src/fann_options.o  *.o
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_atom_gensym
_atom_getfloat
_atom_getint
_canvas_getcurrent
_canvas_makefilename
_class_addlist
_class_addmethod
_class_new
_error
_freebytes
_gensym
_getbytes
_outlet_anything
_outlet_float
_outlet_new
_pd_new
_post
_s_float
_s_list
_sys_bashfilename
collect2: ld returned 1 exit status
make: *** [ann_mlp.pd_darwin] Error 1

Can someone help me ?
Thanx.
++

Jack







More information about the Pd-list mailing list