<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; ">the externals will crash pd if it isn't opened with sudo.<div>J</div><div><br></div><div><br><div><div>On Jul 6, 2015, at 7:49 PM, Rick Snow <<a href="mailto:ricksnow@gmail.com">ricksnow@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p dir="ltr">Hi Luis, so you mean you compile as l_arm and then change the name to read pd_darwin? I tried this with the wiringpi externals and they crash pd. I definitely think there is some problem in the compiling. </p>
<div class="gmail_quote">On Jul 6, 2015 7:19 PM, "Luis G Angel" <<a href="mailto:luisgerardoangelpd@gmail.com">luisgerardoangelpd@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Rick:</div><div><br></div><div>I think the problem is that pd does not looking the .l_arm extension?? I have the same problem(in RbPI2 too) So, I rename the extension to .pd_linux and it works for the externals I compile with the makefile template: the hello world example(in hans’s guide to make externals), the counter(again from the guide) and one external I make to convert decimal to binary. </div><div>Maybe the error is in the compilation?</div><div><br></div><div><blockquote type="cite"><div>El 06/07/2015, a las 2:42 p.m., Rick Snow <<a href="mailto:ricksnow@gmail.com" target="_blank">ricksnow@gmail.com</a>> escribió:</div><br><div><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Just to clarify: This is a Raspberry Pi 2 I am using.  Maybe it needs a different architecture?</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I tried renaming as wiringPi_gpio.pd_linux then when instantiating the object it crashes pd.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">i really appreciate the suggestions.  Hopefully this will help some other folks as well.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">cheers,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Rick</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 6, 2015 at 1:11 PM, Antoine Villeret <span dir="ltr"><<a href="mailto:antoine.villeret@gmail.com" target="_blank">antoine.villeret@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hum, strange, <div><br></div><div>I was pretty sure that pd loads l_arm on RPi, </div><div><br></div><div>btw, did you try to rename the .l_arm in .pd_linux ?</div><div><br></div><div>+</div><div>a</div></div><div class="gmail_extra"><br clear="all"><div>--<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-07-05 23:53 GMT+02:00 Rick Snow <span dir="ltr"><<a href="mailto:ricksnow@gmail.com" target="_blank">ricksnow@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Antoine.<br>
<br>
The pi2 does not seem to be looking for .l_arm<br>
 When I try to load the object with verbose checked I get:<br>
tried /home/pi/pd-externals/wiringPi_gpio.l_i386 and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio.l_i386 and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio.l_i386 and failed<br>
tried /usr/local/lib/pd-externals/wiringPi_gpio.l_i386 and failed<br>
tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio.l_i386 and failed<br>
tried /usr/lib/pd/extra/wiringPi_gpio.l_i386 and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio.pd_linux and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio.pd_linux and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio.pd_linux and failed<br>
tried /usr/local/lib/pd-externals/wiringPi_gpio.pd_linux and failed<br>
tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio.pd_linux and failed<br>
tried /usr/lib/pd/extra/wiringPi_gpio.pd_linux and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.l_i386 and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.l_i386 and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.l_i386 and failed<br>
tried /usr/local/lib/pd-externals/wiringPi_gpio/wiringPi_gpio.l_i386 and failed<br>
tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio/wiringPi_gpio.l_i386<br>
and failed<br>
tried /usr/lib/pd/extra/wiringPi_gpio/wiringPi_gpio.l_i386 and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.pd_linux and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.pd_linux and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.pd_linux and failed<br>
tried /usr/local/lib/pd-externals/wiringPi_gpio/wiringPi_gpio.pd_linux<br>
and failed<br>
tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio/wiringPi_gpio.pd_linux<br>
and failed<br>
tried /usr/lib/pd/extra/wiringPi_gpio/wiringPi_gpio.pd_linux and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio.pd and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio.pd and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio.pd and failed<br>
tried /usr/local/lib/pd-externals/wiringPi_gpio.pd and failed<br>
tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio.pd and failed<br>
tried /usr/lib/pd/extra/wiringPi_gpio.pd and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio.pat and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio.pat and failed<br>
tried /home/pi/pd-externals/wiringPi_gpio.pat and failed<br>
tried /usr/local/lib/pd-externals/wiringPi_gpio.pat and failed<br>
tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio.pat and failed<br>
tried /usr/lib/pd/extra/wiringPi_gpio.pat and failed<br>
 wiringPi_gpio<br>
<br>
<br>
On 7/5/15, Antoine Villeret <<a href="mailto:antoine.villeret@gmail.com" target="_blank">antoine.villeret@gmail.com</a>> wrote:<br>
> 2015-07-05 23:00 GMT+02:00 Rick Snow <<a href="mailto:ricksnow@gmail.com" target="_blank">ricksnow@gmail.com</a>>:<br>
><br>
>> Dear list,<br>
>><br>
>> In addition to having trouble getting pd 46.6 to install on the Raspberry<br>
>> Pi 2 I am having trouble compiling the NYU wiringPi objects.<br>
>><br>
>> Does anyone know which architecture the Pi 2 requires?  l_arm or<br>
>> .pd_linux?t<br>
>><br>
> both are good candidates<br>
> but pd_linux could be of arch i686, x86_64 or arm (or even something else)<br>
><br>
>><br>
>> I am able to compile the objects using the provided makefile as an l_arm<br>
>> object but when I try to create a .pd_linux object with the makefile<br>
>> terminal returns:<br>
>> "* No rule to make target 'wiringPi_gpio.pd_linux'. Stop."<br>
>><br>
><br>
> run pd with -verbose option and look at pd's console to know what it is<br>
> trying to load when you make a [wiringPi_gpio] object<br>
> it should try to load .l_arm<br>
> +<br>
> a<br>
><br>
>><br>
>> same goes for the wiringPi_mcp3008.pd_linux object.<br>
>><br>
>> Any advice greatly appreciated!<br>
>> Rick<br>
>><br>
>> _______________________________________________<br>
>> <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
>> UNSUBSCRIBE and account-management -><br>
>> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
>><br>
>><br>
><br>
</blockquote></div><br></div></div>
</blockquote></div><br></div></div>
_______________________________________________<br><a href="mailto:Pd-list@lists.iem.at" target="_blank">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></div></blockquote></div><br></div></blockquote></div>
_______________________________________________<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">http://lists.puredata.info/listinfo/pd-list</a><br></blockquote></div><br></div></body></html>