<div dir="ltr">Thanks for the help guys! So I deleted the &quot;-m32&quot; 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 &quot;gpio-help.pd&quot; patch without getting an error message. In the gpio-help.pd patch I would click &quot;enable 1&quot; and then click &quot;open 1&quot; and after clicking &quot;open 1&quot; I would get an error message: &quot;/sys/class/gpio/gpio17/value: No such file or directory&quot;.<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, &quot;echo &quot;17&quot; |sudo tee /sys/class/gpio/export&quot;. 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 &quot;gpio readall&quot; command from LXTerminal.</div>
<div style><br></div><div style>I then loaded the &quot;gpio-help.pd&quot; file again in PD. Now once I click &quot;open 1&quot; instead of the no such file or directory error I get &quot;/sys/class/gpio/gpio17/value: Permision denied&quot; error. Is there someway I can use this GPIO library within the PD visual interface without getting permission denied errors? Also, shouldn&#39;t clicking &quot;enable 1&quot; within the gpio-help.pd patch create the &quot;/sys/class/gpio/gpio17&quot; 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">&lt;<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>&gt;</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>
&gt;<br>
&gt;<br>
&gt; cc -DPD -O2 -funroll-loops -fomit-frame-pointer<br>
&gt; -fno-strict-aliasing -Wall -W -Wshadow -Wstrict-prototypes<br>
&gt; -Wno-unused -Wno-parentheses -Wno-switch  -I../pd/src<br>
&gt; -I../../pd/src -I../../../pd/src -I../../../../pd/src<br>
&gt; -I../../../../../pd/src -m32 -o gpio.o -c gpio.c cc1: error:<br>
</div>&gt; unrecognized command line option ?-m32? make: *** [gpio.l_i386]<br>
<div class="im">&gt; Error 1<br>
&gt;<br>
&gt; Do you know what this error message could mean?<br>
<br>
</div>it means that the makefile has a compiler flag &quot;-m32&quot; which is not<br>
known to the compiler.<br>
<div class="im"><br>
&gt; 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 &quot;-m32&quot;<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 -&gt; <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>