[PD] GEM external "pd_darwin: mach-o, but wrong architecture"

Jaime E Oliver jaime.oliver2 at gmail.com
Mon May 4 17:57:59 CEST 2015


Hi Antoine, 

Thanks for the info and the reference page.

When I open the 64 bit version of Pd it cannot open the OS X precompiled version of GEM I downloaded from http://gem.iem.at/: "no matching architecture in universal wrapper". I used to be able to compile an external and use it with this version of GEM, but this strategy might not work anymore.

I tried:

./configure --enable-fat-binary=i386 --with-pd=/Applications/Pd-0.45-4.app/Contents/Resources/

then make pix_demo.pd_darwin, but when I try to create the object in Pd I get:

/Users/jo57/Documents/NYU/Courses/2015-1-IMG-SND-GESTURE/session-13/Gem-master/extra/pix_demo/pix_demo.pd_darwin: dlopen(/Users/jo57/Documents/NYU/Courses/2015-1-IMG-SND-GESTURE/session-13/Gem-master/extra/pix_demo/pix_demo.pd_darwin, 10): Symbol not found: __ZN7GemBase14beforeDeletionEv
  Referenced from: /Users/jo57/Documents/NYU/Courses/2015-1-IMG-SND-GESTURE/session-13/Gem-master/extra/pix_demo/pix_demo.pd_darwin
  Expected in: flat namespace
 in /Users/jo57/Documents/NYU/Courses/2015-1-IMG-SND-GESTURE/session-13/Gem-master/extra/pix_demo/pix_demo.pd_darwin
 pix_demo
... couldn't create

I also tred to build pix_demo.d_fat, but it says: 
make: *** No rule to make target `pix_demo.d_fat'.  Stop.

Thanks!

J


On May 4, 2015, at 11:26 AM, Antoine Villeret <antoine.villeret at gmail.com> wrote:

> hi, 
> 
> did you try to load it with 64bit version of Pd ?
> 
> you probably miss the --enable-fat-binary=<arch> flag
> please refer to https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-MacOSX-Mavericks#configure
> to learn how to build 32bit and 64bit of Gem
> Please also note that it should be possible to build a FAT binary (32+64bit).
> 
> best
> 
> a
> 
> --
> do it yourself                       
> http://antoine.villeret.free.fr
> 
> 2015-05-04 17:08 GMT+02:00 Jaime E Oliver <jaime.oliver2 at gmail.com>:
> Hi all,
> 
> I have successfully compiled a GEM external in OS X using the latest gem from git and Pd 0.45-5. When I try to load this external I get that it finds it, but complains about the architecture:
> 
> […]/Gem-master/extra/pix_demo/pix_demo.pd_darwin: mach-o, but wrong architecture
>  pix_demo
> ... couldn't create
> 
> I assume I need to add a flag but not entirely sure which one or where to put it.
> 
> Any suggestions?
> 
> best,
> 
> J
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150504/7a109d73/attachment-0001.html>


More information about the Pd-list mailing list