<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Antoine, <div><br></div><div>Thanks for the info and the reference page.</div><div><br></div><div>When I open the 64 bit version of Pd it cannot open the OS X precompiled version of GEM I downloaded from <a href="http://gem.iem.at/">http://gem.iem.at/</a>: "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.</div><div><br></div><div>I tried:</div><div><br></div><div>./configure --enable-fat-binary=i386 --with-pd=/Applications/Pd-0.45-4.app/Contents/Resources/</div><div><br></div><div>then make pix_demo.pd_darwin, but when I try to create the object in Pd I get:</div><div><br></div><div><div>/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</div><div>  Referenced from: /Users/jo57/Documents/NYU/Courses/2015-1-IMG-SND-GESTURE/session-13/Gem-master/extra/pix_demo/pix_demo.pd_darwin</div><div>  Expected in: flat namespace</div><div> in /Users/jo57/Documents/NYU/Courses/2015-1-IMG-SND-GESTURE/session-13/Gem-master/extra/pix_demo/pix_demo.pd_darwin</div><div> pix_demo</div><div>... couldn't create</div></div><div><br></div><div>I also tred to build pix_demo.d_fat, but it says: </div><div>make: *** No rule to make target `pix_demo.d_fat'.  Stop.</div><div><br></div><div>Thanks!</div><div><br></div><div>J</div><div><br></div><div><br><div><div>On May 4, 2015, at 11:26 AM, Antoine Villeret <<a href="mailto:antoine.villeret@gmail.com">antoine.villeret@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>hi, </div><div><br></div>did you try to load it with 64bit version of Pd ?<div><br></div><div>you probably miss the --enable-fat-binary=<arch> flag</div><div>please refer to <a href="https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-MacOSX-Mavericks#configure">https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-MacOSX-Mavericks#configure</a></div><div>to learn how to build 32bit and 64bit of Gem<br>Please also note that it should be possible to build a FAT binary (32+64bit).</div><div><br></div><div>best</div><div><br></div><div>a</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">--<br>do it yourself                       <br><a href="http://antoine.villeret.free.fr/" target="_blank">http://antoine.villeret.free.fr</a><br></div></div>
<br><div class="gmail_quote">2015-05-04 17:08 GMT+02:00 Jaime E Oliver <span dir="ltr"><<a href="mailto:jaime.oliver2@gmail.com" target="_blank">jaime.oliver2@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
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:<br>
<br>
[…]/Gem-master/extra/pix_demo/pix_demo.pd_darwin: mach-o, but wrong architecture<br>
 pix_demo<br>
... couldn't create<br>
<br>
I assume I need to add a flag but not entirely sure which one or where to put it.<br>
<br>
Any suggestions?<br>
<br>
best,<br>
<br>
J<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br></div>
</blockquote></div><br></div></body></html>