[PD] compiling for Raspberry Pi 2 (was 2nd Pi 2 issue)

Chris Clepper cgclepper at gmail.com
Tue Jul 7 03:21:22 CEST 2015


Pi 2 is a different architecture than the Pi (ARMv7 vs ARMv6 - huge changes
for floating point etc).  Try the Pd on Miller's site compiled for the UDOO
- should run fine.

On Mon, Jul 6, 2015 at 1:42 PM, Rick Snow <ricksnow at gmail.com> wrote:

> 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> 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
>>
>> 2015-07-05 23:53 GMT+02:00 Rick Snow <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> wrote:
>>> > 2015-07-05 23:00 GMT+02:00 Rick Snow <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 mailing list
>>> >> UNSUBSCRIBE and account-management ->
>>> >> http://lists.puredata.info/listinfo/pd-list
>>> >>
>>> >>
>>> >
>>>
>>
>>
>
> _______________________________________________
> 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/20150706/dc754915/attachment-0001.html>


More information about the Pd-list mailing list