I get gridflow.pd_darwin and gridflow_bundle after : //#include <execinfo.h> void blargh () { // void *array[25]; // int nSize = backtrace(array, 25); // char **symbols = backtrace_symbols(array, nSize); // for (int i=0; i<nSize; i++) fprintf(stderr,"%d: %s\n",i,symbols[i]); // free(symbols); } in main.c And : ./configure ./configure --no-quartz --no-quicktimeapple (because i get errors)
Then i put gridflow folder with gridflow.pd_darwin in '/Contents/Resources/Extra' and gridflow_bundle in '/sw/libruby/1.8/powerpc-darwin'.
Then after [import gridflow] i get : setting up Ruby-for-PureData... gridflow.pd_darwin found itself in /Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/gridflow we are using Ruby version 1.8.2 DIR = "/Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/gridflow" ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)
[import] loaded library: gridflow
Can i do //#include <execinfo.h> and ./configure ./configure --no-quartz --no-quicktimeapple ? If it's ok what is the next step ? thx. ++
Jack
On Thu, 13 Dec 2007, Jack wrote:
g++ -bundle -undefined suppress -o gridflow.bundle base/main.o base/ grid.o base/bitpacking.o base/flow_objects.o base/number.1.o base/ number.2.o base/number.3.o base/number.4.o format/x11.o format/ quartz.o format/aalib.o format/jpeg.o format/png.o format/ quicktimeapple.o -L/Users/rybn12/lib -L/usr/local/lib -L/sw/lib -lm - L/usr/X11R6/lib -L/opt/gnome/lib -L/usr/X11R6/lib64 -L/opt/gnome/ lib64 -lX11 -lXext -lobjc -framework Cocoa -laa -ljpeg -lpng -lz - framework Quicktime -L. -lruby -ldl -lcrypt -lm /usr/bin/ld: -undefined error or -undefined define_a_way must be used when -twolevel_namespace is in effect
apparently, this is fixed in 0.8.5... now if you fix the problem with 0.8.5 the way I just said in another mail, it might work. Please tell me if it does, so that I can fix it in my copy too.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada