[Gridflow-dev] osx ruby/ruby configure

Mathieu Bouchard matju at artengine.ca
Sat Mar 25 17:22:50 EST 2006


On Tue, 21 Mar 2006, james tittle wrote:

> ...ok, had to remove "-shared", "-lcrypt", and do:
> LDSHARED = $(CXX) -undefined dynamic_lookup

I suppose you can make those changes to the Makefile yourself. Note that 
there are a few OSX things in the Makefile but maybe it's not detected 
correctly... at least it's now a normal Makefile so it should be easier to 
modify for you.

> ...nifty!  The deployment target is necessary to make "-undefined
> dynamic_lookup" work:  might be able to add "-mmacosx-version-min=10.3"
> to the link line, but I haven't tested (seems like xcode does this for
> gem)...

There's also "-undefined suppress", which is sort of equivalent to the
default behaviour of "-shared" on Linux. I don't know how fast things
compiled with dynamic_lookup would be, but I'd guess it'd be slightly
slower, no?  How does it work?

> ...anyway, I added the path and such to my pd.app, relaunched, and got the
> following:
> setting up Ruby-for-PureData...
> gridflow.pd_darwin found itself in /Users/tigital/puredataDev/gridflow
> we are using Ruby version 1.8.4
> (done)
> ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)
> ...any ideas?

Not enough info to answer you... run "pd -stderr" to get all error 
messages together and maybe you'll have something.

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada



More information about the Gridflow-dev mailing list