Hello!
I am using pd 0.42-5 on Linux and yesterday I compiled Gem 0.92-3. I am very happy with new Gem, but I have some minor problems with loading Gem's abstractions.
When loading gem/examples/02.advanced/12.Hsv.pd the abstraction objects [hsv2rgb] and [rgb2hsv] don't get loaded. I can get the objects created using [Gem/hsv2rgb] and [Gem/rgb2hsv], but it's not the optimal solution because some of the Gem's abstractions include other abstractions from that dir and I would have to change all those abstractions. The other solution is adding /usr/local/lib/pd/extras/Gem to the -path directive.
It's not that I am helpless here, I am just wondering why those abstractions are not found automatically, since Gem.pd_linux and all the -help.pd files that live in the same dir have no problems getting loaded. I know I should look at the loading code, but before I start digging... just maybe someone else already saw this as a before and has some answers.
Thanks and take care, Miha
On 08/21/2010 03:20 PM, Miha Tomšič wrote:
Hello!
I am using pd 0.42-5 on Linux and yesterday I compiled Gem 0.92-3. I am very happy with new Gem, but I have some minor problems with loading Gem's abstractions.
When loading gem/examples/02.advanced/12.Hsv.pd the abstraction objects [hsv2rgb] and [rgb2hsv] don't get loaded. I can get the objects created using [Gem/hsv2rgb] and [Gem/rgb2hsv], but it's not the optimal solution because some of the Gem's abstractions include other abstractions from that dir and I would have to change all those abstractions. The other solution is adding /usr/local/lib/pd/extras/Gem to the -path directive.
that's the proposed solution for now.
the future solution is to automatically add the path (if possible). this is currently disabled in 0.92 (and the autoconf test fails...)
since you are compiling anyhow, you can easily enable: after configure, edit the generated Base/configLinux.h (with Gem>=0.93: Base/config.), by simply making sure that the HAVE_S_STUFF_H macro is defined to 1 near the end of the file. then recompile Gem. it should now automatically find all the abstractions.
mfarsd IOhannes