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

2015-07-09 Thread Ivica Bukvic
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

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

2015-07-07 Thread David Medine
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

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

2015-07-07 Thread IOhannes m zmoelnig
On 2015-07-07 02:49, Rick Snow wrote: Hi Luis, so you mean you compile as l_arm and then change the name to read pd_darwin? i didn't know that the pi2 was running OSX... fgmasdr IOhannes signature.asc Description: OpenPGP digital signature ___

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

2015-07-06 Thread Antoine Villeret
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 ricks...@gmail.com: Thanks Antoine. The pi2 does not seem to be looking for .l_arm

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

2015-07-06 Thread Rick Snow
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

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

2015-07-06 Thread Luis G Angel
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

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

2015-07-06 Thread Jaime E Oliver
the externals will crash pd if it isn't opened with sudo. J On Jul 6, 2015, at 7:49 PM, Rick Snow ricks...@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

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

2015-07-06 Thread Luis G Angel
El 06/07/2015, a las 8:52 p.m., Jaime E Oliver jaime.oliv...@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 ricks...@gmail.com

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

2015-07-06 Thread Chris Clepper
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 ricks...@gmail.com wrote: Just to clarify: This is a Raspberry Pi 2 I am using.

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

2015-07-06 Thread Rick Snow
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 luisgerardoange...@gmail.com wrote: Rick: I think

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

2015-07-06 Thread Jaime E Oliver
El 06/07/2015, a las 8:52 p.m., Jaime E Oliver jaime.oliv...@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

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

2015-07-05 Thread Rick Snow
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