On Apr 25, 2005, at 5:30 PM, Patrick Pagano wrote:
i get a completed gridflow.bundle file is this correct?
i see why you choose no -aalib jamie
but alas
/Users/patrickp/pd/bin/pd -lib gridflow gridflow: can't load library
shoudl there not be a pd.darwin binary?
...here's the last few lines of my compilation:
ruby -w base/source_filter.rb format/quicktimeapple.c
format/quicktimeapple.c.fcs
g++ -fno-common -g -O2 -fno-common -pipe -fno-common
-I/Applications/Pd.app/Contents/Resources/include -I/usr/local/include
-I/include -xc++ -fno-operator-names -fno-omit-frame-pointer
-I/usr/X11R6/include -I /sw/lib/ruby/1.8/powerpc-darwin
-falign-functions=4 -Wall -Wno-unused -O3 -funroll-loops
-fno-omit-frame-pointer -g -fPIC -I.
-I/Users/tigital/puredataDev/gridflow -I -I. -I/sw/include -c
format/quicktimeapple.c.fcs -o format/quicktimeapple.o
In file included from format/quicktimeapple.c.fcs:29:
base/grid.h.fcs:526: warning: declaration does not declare anything
g++ -dynamic -bundle -L"/sw/lib" -o gridflow.bundle base/grid.o
base/main.o base/number.1.o base/number.2.o base/number.3.o
base/bitpacking.o base/flow_objects.o base/flow_objects_for_image.o
base/flow_objects_for_matrix.o format/x11.o format/quartz.o
format/jpeg.o format/png.o format/quicktimeapple.o -L/usr/local/lib
-L/Applications/Pd.app/Contents/Resources/lib -lm -L/usr/X11R6/lib
-lX11 -lXext -lobjc -framework Cocoa -ljpeg -lpng -lz -framework
Quicktime -lruby -ldl -lobjc
ld: warning -L: directory name
(/Applications/Pd.app/Contents/Resources/lib) does not exist
ruby -w base/source_filter.rb bridge/puredata.c bridge/puredata.c.fcs
g++ -Ibundled/pd -lm -lruby -bundle -flat_namespace -fno-common -g
-O2 -fno-common -pipe -fno-common
-I/Applications/Pd.app/Contents/Resources/include -I/usr/local/include
-I/include -xc++ -fno-operator-names -fno-omit-frame-pointer
-I/usr/X11R6/include -I /sw/lib/ruby/1.8/powerpc-darwin
-falign-functions=4 -Wall -Wno-unused -O3 -funroll-loops
-fno-omit-frame-pointer -g -fPIC -bundle -undefined suppress
bridge/puredata.c.fcs -xnone -o gridflow.pd_darwin
...and yes, it produces both a gridflow.bundle and a gridflow.pd_darwin: the gridflow.pd_darwin goes in yr typical extras/externals folder, but the gridflow.bundle goes in your ruby installation...I've found that I have to type "sudo make install" in order to get over the permissions in the fink tree:
tiggity:~/puredataDev/gridflow tigital$ sudo make install
Password:
install -c -p -m 0755 gridflow.bundle
/sw/lib/ruby/site_ruby/1.8/powerpc-darwin
mkdir -p /sw/lib/ruby/site_ruby/1.8/gridflow//base/
install -m 644 base/main.rb
/sw/lib/ruby/site_ruby/1.8/gridflow//base//main.rb
install -m 644 base/flow_objects.rb
/sw/lib/ruby/site_ruby/1.8/gridflow//base//flow_objects.rb
install -m 644 base/test.rb
/sw/lib/ruby/site_ruby/1.8/gridflow//base//test.rb
install -m 644 base/source_filter.rb
/sw/lib/ruby/site_ruby/1.8/gridflow//base//source_filter.rb
mkdir -p /sw/lib/ruby/site_ruby/1.8/gridflow//bridge/
install -m 644 bridge/puredata.rb
/sw/lib/ruby/site_ruby/1.8/gridflow//bridge//puredata.rb
install -m 644 bridge/placebo.rb
/sw/lib/ruby/site_ruby/1.8/gridflow//bridge//placebo.rb
mkdir -p /sw/lib/ruby/site_ruby/1.8/gridflow//format/
install -m 644 format/main.rb
/sw/lib/ruby/site_ruby/1.8/gridflow//format//main.rb
mkdir -p /sw/lib/ruby/site_ruby/1.8/gridflow//extra/
install -m 644 extra/smpte.rb
/sw/lib/ruby/site_ruby/1.8/gridflow//extra//smpte.rb
install -m 644 extra/server_2.rb
/sw/lib/ruby/site_ruby/1.8/gridflow//extra//server_2.rb
install -m 644 extra/server_1_grid.rb
/sw/lib/ruby/site_ruby/1.8/gridflow//extra//server_1_grid.rb
install -m 644 extra/server_1_ppm.rb
/sw/lib/ruby/site_ruby/1.8/gridflow//extra//server_1_ppm.rb
install -m 644 extra/jmax_format.rb
/sw/lib/ruby/site_ruby/1.8/gridflow//extra//jmax_format.rb
install -m 644 extra/puredata_format.rb
/sw/lib/ruby/site_ruby/1.8/gridflow//extra//puredata_format.rb
cp bin/jmax2pd /sw/bin; chmod 755 /sw/bin/jmax2pd
mkdir -p
/Users/tigital/pd-0.38-4/lib/pd/doc/5.reference/gridflow/flow_classes
cp pd_help/*.pd /Users/tigital/pd-0.38-4/lib/pd/doc/5.reference/gridflow
cp doc/*.html /Users/tigital/pd-0.38-4/lib/pd/doc/5.reference/gridflow
cp doc/flow_classes/*.p*
/Users/tigital/pd-0.38-4/lib/pd/doc/5.reference/gridflow/flow_classes
cp gridflow.pd_darwin pd_abstractions/*.pd
/Users/tigital/pd-0.38-4/lib/pd/extra
for z in camera_control motion_detection color mouse centroid
centre_of_gravity fade
apply_colormap_channelwise checkers contrast posterize ravel
remap_image solarize spread
rgb_to_greyscale greyscale_to_rgb rgb_to_yuv yuv_to_rgb; do
cp pd_abstractions/#$z.pd
/Users/tigital/pd-0.38-4/lib/pd/extra/@$z.pd; done
mkdir -p /Users/tigital/pd-0.38-4/lib/pd/extra/gridflow/icons
install -m 644 java/peephole.gif
/Users/tigital/pd-0.38-4/lib/pd/extra/gridflow/icons/peephole.gif
(cd devices4ruby; make install)
install -m644 ioctl.rb /sw/lib/ruby/1.8/linux//ioctl.rb
install -m644 SoundPCM.rb /sw/lib/ruby/1.8/linux//SoundPCM.rb
install -m644 ParallelPort.rb /sw/lib/ruby/1.8/linux//ParallelPort.rb
install -m644 SoundMixer.rb /sw/lib/ruby/1.8/linux//SoundMixer.rb
tiggity:~/puredataDev/gridflow tigital$
hth, jamie