<div dir="ltr">Thanks for the help guys! So I deleted the "-m32" from the makefile and then everything seemed to build okay. I then added the correct path for the extension in pure data and loaded the "gpio-help.pd" patch without getting an error message. In the gpio-help.pd patch I would click "enable 1" and then click "open 1" and after clicking "open 1" I would get an error message: "/sys/class/gpio/gpio17/value: No such file or directory".<div>
<br></div><div style>I then realized that I probably needed to install wiringPi. I downloaded this and installed it. However I would still get the previous error message within PD. I then decided to manually try to create the file using commands in LXTerminal. I did this using this command, "echo "17" |sudo tee /sys/class/gpio/export". I then noticed that the gpio17 folder and accompanying files were created. I was also able to correctly read the state of the pin using "gpio readall" command from LXTerminal.</div>
<div style><br></div><div style>I then loaded the "gpio-help.pd" file again in PD. Now once I click "open 1" instead of the no such file or directory error I get "/sys/class/gpio/gpio17/value: Permision denied" error. Is there someway I can use this GPIO library within the PD visual interface without getting permission denied errors? Also, shouldn't clicking "enable 1" within the gpio-help.pd patch create the "/sys/class/gpio/gpio17" folder and accompanying files? How can I get this to work within PD without having to run the commands from LXTerminal to create the folder/files? Do I need to somehow indicate to pure data the path of wirngPi?</div>
<div style><br></div><div style>Almost there! Really appreciate your guys patience with me and help on this!</div><div style><br></div><div style>Josh</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 19, 2013 at 6:31 AM, IOhannes m zmoelnig <span dir="ltr"><<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div><div class="im">On 2013-06-18 23:37, Josh Downing wrote:<br>
><br>
><br>
> cc -DPD -O2 -funroll-loops -fomit-frame-pointer<br>
> -fno-strict-aliasing -Wall -W -Wshadow -Wstrict-prototypes<br>
> -Wno-unused -Wno-parentheses -Wno-switch -I../pd/src<br>
> -I../../pd/src -I../../../pd/src -I../../../../pd/src<br>
> -I../../../../../pd/src -m32 -o gpio.o -c gpio.c cc1: error:<br>
</div>> unrecognized command line option ?-m32? make: *** [gpio.l_i386]<br>
<div class="im">> Error 1<br>
><br>
> Do you know what this error message could mean?<br>
<br>
</div>it means that the makefile has a compiler flag "-m32" which is not<br>
known to the compiler.<br>
<div class="im"><br>
> What should I expect as the output from compiling like this?<br>
<br>
</div>nothing. the build failed.<br>
<br>
you could try editing your makefile and removing the "-m32"<br>
occurences, and see what you get then.<br>
<br>
make a backup of the makefile, before you go ahead.<br>
<br>
fgamsrd<br>
<div class="im">IOhannes<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.12 (GNU/Linux)<br>
Comment: Using GnuPG with Icedove - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
</div>iEYEARECAAYFAlHBlqMACgkQkX2Xpv6ydvSjtACg7y5vI4qGYDwjphUooM/Yt+RZ<br>
/KcAoKpb6waukrnp35DZQGFYmP88XAVD<br>
=0t/E<br>
<div class="HOEnZb"><div class="h5">-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@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></div></blockquote></div><br></div>