Damian Stewart wrote: > hello, > > i'm trying to get pvoc~ to work on osx/intel. it compiles fine, with no > errors, but then trying to load the external in Pd I get: > > /Library/PD/pvoc~.d_fat: dlopen(/Library/PD/pvoc~.d_fat, 10): Symbol not > found: _fftw_malloc > Referenced from: /Library/PD/pvoc~.d_fat > Expected in: flat namespace > > i've tried hacking the makefile to pull out the -flat_namespace switch but > that causes symbol undefined problems. i've also tried various combinations > of setting CFLAGS and LDFLAGS to -flat_namespace and -twolevel_namespace, > again with no luck. > > ... and trying similar steps with partconv~ i get the same problem.
fixed it myself. the problem was i wasn't linking against fftw. i had fftw3 installed (via fink) and was just assuming dlopen would know how to find it, but nope. altering the makefile to add -lfftw3 fixed it, using otool -L and install_name_tool to point it to the correct binary location. thanks d _______________________________________________ PD-dev mailing list [email protected] http://lists.puredata.info/listinfo/pd-dev
