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@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@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@gmail.com wrote:
2015-07-05 23:00 GMT+02:00 Rick Snow ricksnow@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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@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@gmail.com mailto:antoine.villeret@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@gmail.com mailto:ricksnow@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@gmail.com mailto:antoine.villeret@gmail.com> wrote:
2015-07-05 23:00 GMT+02:00 Rick Snow <ricksnow@gmail.com mailto:ricksnow@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@lists.iem.at mailto:Pd-list@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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. On Jul 6, 2015 7:19 PM, "Luis G Angel" luisgerardoangelpd@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@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@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@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@gmail.com wrote:
2015-07-05 23:00 GMT+02:00 Rick Snow ricksnow@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
the externals will crash pd if it isn't opened with sudo. J
On Jul 6, 2015, at 7:49 PM, Rick Snow ricksnow@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.
On Jul 6, 2015 7:19 PM, "Luis G Angel" luisgerardoangelpd@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@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@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.fr2015-07-05 23:53 GMT+02:00 Rick Snow ricksnow@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@gmail.com wrote:
2015-07-05 23:00 GMT+02:00 Rick Snow ricksnow@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
El 06/07/2015, a las 8:52 p.m., Jaime E Oliver jaime.oliver2@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@gmail.com mailto:ricksnow@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@gmail.com mailto:luisgerardoangelpd@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@gmail.com mailto:ricksnow@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@gmail.com mailto:antoine.villeret@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@gmail.com mailto:ricksnow@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@gmail.com mailto:antoine.villeret@gmail.com> wrote:
2015-07-05 23:00 GMT+02:00 Rick Snow <ricksnow@gmail.com mailto:ricksnow@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@lists.iem.at mailto:Pd-list@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@lists.iem.at mailto:Pd-list@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@lists.iem.at mailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
El 06/07/2015, a las 8:52 p.m., Jaime E Oliver jaime.oliver2@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?
yes. you need sudo level to access the gpio with those externals and will crash if you don't start pd as sudo.
J
On 2015-07-07 06:51, Jaime E Oliver wrote:
El 06/07/2015, a las 8:52 p.m., Jaime E Oliver jaime.oliver2@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?
yes. you need sudo level to access the gpio with those externals and will crash if you don't start pd as sudo.
whoever is in charge of that external should probably fix the crash.
fgmasdr IOhannes
IIRC last time I spoke with the wiringPi author I pointed out to him how the library was designed to make the app using it exit should the conditions not match library's requirements (e.g. sudo access). While this is perfectly fine when running the library through a standalone command line application focusing solely on gpio connectivity, like the one provided with the library, in the context of Pd it results in a crash because such an acton results in a null pointer. His response to my report was that it was designed that way intentionally and that he had no intentions of changing that.
For this reason a while ago I released the disis_gpio external that partially depends on the wiringPi library and redesigns the rest to allow for the external to gracefully fail without crashing Pd. The disis_gpio external is prepackaged with Pd-l2ork and its source (found on pd-l2ork's github), together with the disis_spi external for mcp3008 A/D converter should be fully source compatible with other flavors of Pd. HTH
Best,
Ico On Jul 7, 2015 9:33 AM, "IOhannes m zmoelnig" zmoelnig@iem.at wrote:
On 2015-07-07 06:51, Jaime E Oliver wrote:
El 06/07/2015, a las 8:52 p.m., Jaime E Oliver <
jaime.oliver2@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?
yes. you need sudo level to access the gpio with those externals and
will crash if you don't start pd as sudo.
whoever is in charge of that external should probably fix the crash.
fgmasdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thank you everyone. The wiringPi objects now load. Changing the names from l_arm to pd_linux and then running pd as sudo was the solution as far as I can tell.
Objects in help files are loading (haven't checked actual functionality yet) in PD 43.2 and 46.6.
Luis: Pd_darwin is Mac architecture. I just mistyped in my last message! On Jul 6, 2015 11:50 PM, "Jaime E Oliver" jaime.oliver2@gmail.com wrote:
El 06/07/2015, a las 8:52 p.m., Jaime E Oliver jaime.oliver2@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?
yes. you need sudo level to access the gpio with those externals and will crash if you don't start pd as sudo.
J
Apropos of wiringPi, I have created a library for interfacing with the Texas Instruments ADS1015 ADC on the raspberry pi. These are SPI devices that come in 12 and 16 bit varieties. As far as I know, the wiringPi library doesn't have functions to interface with these chips (they've got their own special SPI handshaking procedure), so I rolled my own.
These are really nice, fairly inexpensive little devices. They have up to 4 channels per chip and can be programmed to operate in a variety of different modes (differential pairs, different reference voltages, etc.). Each query to the chip starts with instructions for how to read the input, so you can dynamically change how you read in the data in real time.
There is no Pd extern yet, but I will release one when I get around to it -- or someone else can beat me to the punch. The library has everything one needs to exploit the full functionality of the device.
The code (with the archive compiled for pi 1) is on github: https://github.com/dmedine/ads1015drvr
Adafruit sells little dev boards for the 12-bit version: http://www.adafruit.com/products/1083
Cheers, David
On 7/7/2015 7:50 AM, Rick Snow wrote:
Thank you everyone. The wiringPi objects now load. Changing the names from l_arm to pd_linux and then running pd as sudo was the solution as far as I can tell.
Objects in help files are loading (haven't checked actual functionality yet) in PD 43.2 and 46.6.
Luis: Pd_darwin is Mac architecture. I just mistyped in my last message!
On Jul 6, 2015 11:50 PM, "Jaime E Oliver" <jaime.oliver2@gmail.com mailto:jaime.oliver2@gmail.com> wrote:
El 06/07/2015, a las 8:52 p.m., Jaime E Oliver <jaime.oliver2@gmail.com <mailto:jaime.oliver2@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?
yes. you need sudo level to access the gpio with those externals and will crash if you don't start pd as sudo. J
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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
On Mon, Jul 6, 2015 at 1:42 PM, Rick Snow ricksnow@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@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@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@gmail.com wrote:
2015-07-05 23:00 GMT+02:00 Rick Snow ricksnow@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list