<div dir="ltr">hello friends,<div>i&#39;m very keen to try GEM/openGL on a Udoo board (<a href="http://udoo.org">http://udoo.org</a>) which DOES support OpenGL.</div><div>if anyone is up for trying it i can provide you with a board to try on.</div>
<div>should be a load of fun :)</div><div><br></div><div>ali</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 9, 2013 at 9:24 AM, Dan Wilcox <span dir="ltr">&lt;<a href="mailto:danomatika@gmail.com" target="_blank">danomatika@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>I&#39;m curious to know if this works as well.</div><div><br></div><div>Judging from the short readme, do the following on the RPI commandline (not tested).</div>
<div><br></div><div>Long story short, you install git &amp; cmake, then get the glshim source from gihub and build it. After that, you need to add the path to the built library files (.so) in the glshim folder so the system knows to look there and load that GL instead of the main system GL in /usr/lib.</div>
<div><br></div><div>The main issue with the RPI is that it doesn&#39;t support old school GL, only GLES, so the intermediate mode commands etc don&#39;t work. glshim appears to be a wrapper that adds the functionality on ES. It may be a little slower, depending on how they&#39;ve built it, but it should work ... </div>
<div><br></div><div>#####</div><div><br></div><div>cd ~/</div><div>mkdir src</div><div>cd src</div><div><br></div><div>sudo apt-get install git-core cmake</div><div><br></div><div>git clone <a href="https://github.com/lunixbochs/glshim.git" target="_blank">https://github.com/lunixbochs/glshim.git</a></div>
<div>cd glshim</div><div>cmake . -DBCMHOST=1; make GL</div><div><br></div><div>echo &quot;export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/src/glshim/src/libGL.so.1&quot; &gt;&gt; ~/.bash_profile</div><div><br></div><div>#####</div>
<div><br></div><div>... now logout and login</div><div>try GEM</div><div><br></div><div>If that doesn&#39;t work / has problems, then as the readme says, you might need his patched version of glu, sooo:</div><div><br></div>
<div>#####</div><div><br></div><div>cd ~/src</div><div>git clone git@github.com:lunixbochs/glues.git</div><div>git checkout glu</div><div>cmake .</div><div>make</div><div><br></div><div>#####</div><div><br></div><div>Then edit the LD_LIBRARY_PATH in ~/.bash_profile and add the location of the compiled glues (not sure, there&#39;s no info in either repo readme):</div>
<div><br></div><div>##### </div><div><br></div><div>leafpad ~/.bash_profile</div><div><br></div><div>#####</div><div><br></div><div>Find this line (was added earlier):</div><div><br></div><div>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/src/glshim/src/libGL.so.1</div>
<div><br></div><div>and add a new search path to the glues lib location you just built to it. As I said before, you&#39;ll have to find the .so lib files you built in the glues folder to knwo which path to add:</div><div>
<br></div><div>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/src/glshim/src/libGL.so.1:$HOME/src/glues/PATH/TO/LIB/SOS</div><div><br></div><div>Good luck.</div><br><div><div>On Sep 9, 2013, at 8:28 AM, <a href="mailto:pd-list-request@iem.at" target="_blank">pd-list-request@iem.at</a> wrote:</div>
<br><blockquote type="cite"><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:Helvetica;font-size:medium;color:rgb(127,127,127)"><b>From:<span> </span></b></span><span style="font-family:Helvetica;font-size:medium">Richie Cyngler &lt;<a href="mailto:glitchpop@gmail.com" target="_blank">glitchpop@gmail.com</a>&gt;<br>
</span></div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:Helvetica;font-size:medium;color:rgb(127,127,127)"><b>Subject:<span> </span></b></span><span style="font-family:Helvetica;font-size:medium"><b>Re: [PD] GEM on raspberry pi</b><br></span></div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:Helvetica;font-size:medium;color:rgb(127,127,127)"><b>Date:<span> </span></b></span><span style="font-family:Helvetica;font-size:medium">September 9, 2013 6:20:28 AM EDT<br></span></div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:Helvetica;font-size:medium;color:rgb(127,127,127)"><b>To:<span> </span></b></span><span style="font-family:Helvetica;font-size:medium">dreamer &lt;<a href="mailto:dreamer@puikheid.nl" target="_blank">dreamer@puikheid.nl</a>&gt;<br>
</span></div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:Helvetica;font-size:medium;color:rgb(127,127,127)"><b>Cc:<span> </span></b></span><span style="font-family:Helvetica;font-size:medium">pd-list &lt;<a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a>&gt;<br>
</span></div><br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div dir="ltr" style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div class="im"><div><div>Thanks dreamer,<br><br></div>I&#39;ll see if I can get that to work. Git confuses the hell out of me but the install instructions look pretty clear. Have you tried this? If so does GEM just work once glshim is installed?<br>
<br></div></div>cheers<br></div><div class="gmail_extra" style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br><br><div class="gmail_quote">On Mon, Sep 9, 2013 at 4:16 PM, dreamer<span> </span><span dir="ltr">&lt;<a href="mailto:dreamer@puikheid.nl" target="_blank">dreamer@puikheid.nl</a>&gt;</span><span> </span>wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div>Perhaps have a look at glshim:<span> </span><a href="https://github.com/lunixbochs/glshim" target="_blank">https://github.com/lunixbochs/glshim</a><br><br></div>Not all GEM functions are working yet, but anyone porting to GL ES could start there.</div>
</blockquote></div></div></blockquote></div><br><div>
<span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<div>--------</div><div>Dan Wilcox</div><div>@danomatika</div><div><a href="http://danomatika.com" target="_blank">danomatika.com</a></div><div><a href="http://robotcowboy.com" target="_blank">robotcowboy.com</a></div><div>
<br></div></div></span><br></div></span><br><br>
</div>
<br></div><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>
<br></blockquote></div><br></div>