[PD] compiling for Raspberry Pi 2 (was 2nd Pi 2 issue)
Luis G Angel
luisgerardoangelpd at gmail.com
Tue Jul 7 04:16:58 CEST 2015
> El 06/07/2015, a las 8:52 p.m., Jaime E Oliver <jaime.oliver2 at gmail.com> escribió:
>
> the externals will crash pd if it isn't opened with sudo.
> J
What do you mean with external crash? do you refer the wiringPi externals?
>
>
> On Jul 6, 2015, at 7:49 PM, Rick Snow <ricksnow at gmail.com <mailto:ricksnow at gmail.com>> wrote:
>
>> 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.
>>
After running the makefile template it return a .l_arm file, then I change the extension to .pd_linux (what is pd_darwin??)
>> On Jul 6, 2015 7:19 PM, "Luis G Angel" <luisgerardoangelpd at gmail.com <mailto:luisgerardoangelpd at gmail.com>> wrote:
>> Rick:
>>
>> 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.
>> Maybe the error is in the compilation?
>>
>>> El 06/07/2015, a las 2:42 p.m., Rick Snow <ricksnow at gmail.com <mailto:ricksnow at gmail.com>> escribió:
>>>
>>> Just to clarify: This is a Raspberry Pi 2 I am using. Maybe it needs a different architecture?
>>>
>>> I tried renaming as wiringPi_gpio.pd_linux then when instantiating the object it crashes pd.
>>>
>>> i really appreciate the suggestions. Hopefully this will help some other folks as well.
>>>
>>> cheers,
>>> Rick
>>>
>>>
>>> On Mon, Jul 6, 2015 at 1:11 PM, Antoine Villeret <antoine.villeret at gmail.com <mailto:antoine.villeret at gmail.com>> wrote:
>>> hum, strange,
>>>
>>> I was pretty sure that pd loads l_arm on RPi,
>>>
>>> btw, did you try to rename the .l_arm in .pd_linux ?
>>>
>>> +
>>> a
>>>
>>> --
>>> do it yourself
>>> http://antoine.villeret.free.fr <http://antoine.villeret.free.fr/>
>>>
>>> 2015-07-05 23:53 GMT+02:00 Rick Snow <ricksnow at gmail.com <mailto:ricksnow at gmail.com>>:
>>> Thanks Antoine.
>>>
>>> The pi2 does not seem to be looking for .l_arm
>>> When I try to load the object with verbose checked I get:
>>> tried /home/pi/pd-externals/wiringPi_gpio.l_i386 and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio.l_i386 and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio.l_i386 and failed
>>> tried /usr/local/lib/pd-externals/wiringPi_gpio.l_i386 and failed
>>> tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio.l_i386 and failed
>>> tried /usr/lib/pd/extra/wiringPi_gpio.l_i386 and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio.pd_linux and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio.pd_linux and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio.pd_linux and failed
>>> tried /usr/local/lib/pd-externals/wiringPi_gpio.pd_linux and failed
>>> tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio.pd_linux and failed
>>> tried /usr/lib/pd/extra/wiringPi_gpio.pd_linux and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.l_i386 and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.l_i386 and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.l_i386 and failed
>>> tried /usr/local/lib/pd-externals/wiringPi_gpio/wiringPi_gpio.l_i386 and failed
>>> tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio/wiringPi_gpio.l_i386
>>> and failed
>>> tried /usr/lib/pd/extra/wiringPi_gpio/wiringPi_gpio.l_i386 and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.pd_linux and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.pd_linux and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.pd_linux and failed
>>> tried /usr/local/lib/pd-externals/wiringPi_gpio/wiringPi_gpio.pd_linux
>>> and failed
>>> tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio/wiringPi_gpio.pd_linux
>>> and failed
>>> tried /usr/lib/pd/extra/wiringPi_gpio/wiringPi_gpio.pd_linux and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio.pd and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio.pd and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio.pd and failed
>>> tried /usr/local/lib/pd-externals/wiringPi_gpio.pd and failed
>>> tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio.pd and failed
>>> tried /usr/lib/pd/extra/wiringPi_gpio.pd and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio.pat and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio.pat and failed
>>> tried /home/pi/pd-externals/wiringPi_gpio.pat and failed
>>> tried /usr/local/lib/pd-externals/wiringPi_gpio.pat and failed
>>> tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio.pat and failed
>>> tried /usr/lib/pd/extra/wiringPi_gpio.pat and failed
>>> wiringPi_gpio
>>>
>>>
>>> On 7/5/15, Antoine Villeret <antoine.villeret at gmail.com <mailto:antoine.villeret at gmail.com>> wrote:
>>> > 2015-07-05 23:00 GMT+02:00 Rick Snow <ricksnow at gmail.com <mailto:ricksnow at gmail.com>>:
>>> >
>>> >> Dear list,
>>> >>
>>> >> In addition to having trouble getting pd 46.6 to install on the Raspberry
>>> >> Pi 2 I am having trouble compiling the NYU wiringPi objects.
>>> >>
>>> >> Does anyone know which architecture the Pi 2 requires? l_arm or
>>> >> .pd_linux?t
>>> >>
>>> > both are good candidates
>>> > but pd_linux could be of arch i686, x86_64 or arm (or even something else)
>>> >
>>> >>
>>> >> I am able to compile the objects using the provided makefile as an l_arm
>>> >> object but when I try to create a .pd_linux object with the makefile
>>> >> terminal returns:
>>> >> "* No rule to make target 'wiringPi_gpio.pd_linux'. Stop."
>>> >>
>>> >
>>> > run pd with -verbose option and look at pd's console to know what it is
>>> > trying to load when you make a [wiringPi_gpio] object
>>> > it should try to load .l_arm
>>> > +
>>> > a
>>> >
>>> >>
>>> >> same goes for the wiringPi_mcp3008.pd_linux object.
>>> >>
>>> >> Any advice greatly appreciated!
>>> >> Rick
>>> >>
>>> >> _______________________________________________
>>> >> Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
>>> >> UNSUBSCRIBE and account-management ->
>>> >> http://lists.puredata.info/listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>>> >>
>>> >>
>>> >
>>>
>>>
>>> _______________________________________________
>>> Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>>
>> _______________________________________________
>> Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150706/3d608667/attachment-0001.html>
More information about the Pd-list
mailing list